ReShade
A generic post-processing injector for games and video software.
|
Describes a single element in the vertex layout for the input-assembler stage. More...
#include <reshade_api_pipeline.hpp>
Public Attributes | |
uint32_t | location |
GLSL attribute location associated with this element (layout(location = X) ). More... | |
const char * | semantic |
HLSL semantic associated with this element. More... | |
uint32_t | semantic_index |
Optional index for the HLSL semantic (e.g. for "TEXCOORD1" set semantic to "TEXCOORD" and semantic_index to 1). More... | |
format | format |
Format of the element data. More... | |
uint32_t | buffer_binding |
Index of the vertex buffer binding. More... | |
uint32_t | offset |
Offset (in bytes) from the start of the vertex to this element. More... | |
uint32_t | stride |
Stride of the entire vertex (this has to be consistent for all elements per vertex buffer binding). Set to zero in case this is unknown. More... | |
uint32_t | instance_step_rate |
Number of instances to draw using the same per-instance data before advancing by one element. This has to be consistent for all elements per vertex buffer binding. Set to zero to indicate that this element is per-vertex rather than per-instance. More... | |
Describes a single element in the vertex layout for the input-assembler stage.
uint32_t reshade::api::input_element::buffer_binding |
Index of the vertex buffer binding.
format reshade::api::input_element::format |
Format of the element data.
uint32_t reshade::api::input_element::instance_step_rate |
Number of instances to draw using the same per-instance data before advancing by one element. This has to be consistent for all elements per vertex buffer binding. Set to zero to indicate that this element is per-vertex rather than per-instance.
uint32_t reshade::api::input_element::location |
GLSL attribute location associated with this element (layout(location = X)
).
uint32_t reshade::api::input_element::offset |
Offset (in bytes) from the start of the vertex to this element.
const char* reshade::api::input_element::semantic |
HLSL semantic associated with this element.
uint32_t reshade::api::input_element::semantic_index |
Optional index for the HLSL semantic (e.g. for "TEXCOORD1" set semantic to "TEXCOORD" and semantic_index to 1).
uint32_t reshade::api::input_element::stride |
Stride of the entire vertex (this has to be consistent for all elements per vertex buffer binding). Set to zero in case this is unknown.