ReShade
A generic post-processing injector for games and video software.
|
Describes a ray tracing shader group. More...
#include <reshade_api_pipeline.hpp>
Public Member Functions | |
shader_group () | |
shader_group (shader_group_type type, uint32_t closest_hit_shader_index, uint32_t any_hit_shader_index=UINT32_MAX, uint32_t intersection_shader_index=UINT32_MAX) | |
Public Attributes | |
shader_group_type | type |
Type of the shader group. More... | |
union { | |
struct { | |
uint32_t shader_index | |
Index of the shader in the ray generation shader pipeline subobject. More... | |
} raygen | |
Used when type is shader_group_type::raygen. More... | |
struct { | |
uint32_t shader_index | |
Index of the shader in the miss shader pipeline subobject. More... | |
} miss | |
Used when type is shader_group_type::miss. More... | |
struct { | |
uint32_t closest_hit_shader_index | |
Index of the shader in the closest-hit shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group. More... | |
uint32_t any_hit_shader_index | |
Index of the shader in the any-hit shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group. More... | |
uint32_t intersection_shader_index | |
Index of the shader in the intersection shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group. More... | |
} hit_group | |
Used when type is shader_group_type::hit_group_triangles or shader_group_type::hit_group_aabbs. More... | |
struct { | |
uint32_t shader_index | |
Index of the shader in the callable shader pipeline subobject. More... | |
} callable | |
Used when type is shader_group_type::callable. More... | |
}; | |
Describes a ray tracing shader group.
|
inline |
|
inline |
union { ... } |
uint32_t reshade::api::shader_group::any_hit_shader_index |
Index of the shader in the any-hit shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group.
struct { ... } reshade::api::shader_group::callable |
Used when type is shader_group_type::callable.
uint32_t reshade::api::shader_group::closest_hit_shader_index |
Index of the shader in the closest-hit shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group.
struct { ... } reshade::api::shader_group::hit_group |
Used when type is shader_group_type::hit_group_triangles or shader_group_type::hit_group_aabbs.
uint32_t reshade::api::shader_group::intersection_shader_index |
Index of the shader in the intersection shader pipeline subobject. Set to -1 (UINT32_MAX) to indicate that this shader type is not used in the hit group.
struct { ... } reshade::api::shader_group::miss |
Used when type is shader_group_type::miss.
struct { ... } reshade::api::shader_group::raygen |
Used when type is shader_group_type::raygen.
uint32_t reshade::api::shader_group::shader_index |
Index of the shader in the ray generation shader pipeline subobject.
Index of the shader in the callable shader pipeline subobject.
Index of the shader in the miss shader pipeline subobject.
shader_group_type reshade::api::shader_group::type |
Type of the shader group.