ReShade
A generic post-processing injector for games and video software.
|
Describes a shader object. More...
#include <reshade_api_pipeline.hpp>
Public Attributes | |
const void * | code |
Shader source code or binary. More... | |
size_t | code_size |
Size (in bytes) of the shader source code or binary. More... | |
const char * | entry_point |
Optional entry point name if the shader source code or binary contains multiple entry points. Can be nullptr if it does not, or to use the default "main" entry point. More... | |
uint32_t | spec_constants |
Number of entries in the spec_constant_ids and spec_constant_values arrays. This is meaningful only when the shader binary is a SPIR-V module and is ignored otherwise. More... | |
const uint32_t * | spec_constant_ids |
Pointer to an array of specialization constant indices. More... | |
const uint32_t * | spec_constant_values |
Pointer to an array of constant values, one for each specialization constant index in spec_constant_ids. More... | |
Describes a shader object.
const void* reshade::api::shader_desc::code |
Shader source code or binary.
size_t reshade::api::shader_desc::code_size |
Size (in bytes) of the shader source code or binary.
const char* reshade::api::shader_desc::entry_point |
Optional entry point name if the shader source code or binary contains multiple entry points. Can be nullptr
if it does not, or to use the default "main" entry point.
const uint32_t* reshade::api::shader_desc::spec_constant_ids |
Pointer to an array of specialization constant indices.
const uint32_t* reshade::api::shader_desc::spec_constant_values |
Pointer to an array of constant values, one for each specialization constant index in spec_constant_ids.
uint32_t reshade::api::shader_desc::spec_constants |
Number of entries in the spec_constant_ids and spec_constant_values arrays. This is meaningful only when the shader binary is a SPIR-V module and is ignored otherwise.