ReShade
A generic post-processing injector for games and video software.
Public Attributes | List of all members
reshade::api::descriptor_range_with_static_samplers Struct Reference

#include <reshade_api_pipeline.hpp>

Inheritance diagram for reshade::api::descriptor_range_with_static_samplers:
reshade::api::descriptor_range

Public Attributes

const sampler_descstatic_samplers
 Optional array of sampler descriptions to statically embed into the descriptor table when the descriptor type is descriptor_type::sampler or descriptor_type::sampler_with_resource_view. More...
 
- Public Attributes inherited from reshade::api::descriptor_range
uint32_t binding
 OpenGL/Vulkan binding index (layout(binding=X) in GLSL). In D3D this is equivalent to the offset (in descriptors) of this range in the descriptor table (since each binding can only have an array size of 1). More...
 
uint32_t dx_register_index
 D3D9/D3D10/D3D11/D3D12 shader register index (register(xX) in HLSL). More...
 
uint32_t dx_register_space
 D3D12 register space (register(..., spaceX) in HLSL). More...
 
uint32_t count
 Number of descriptors in this range. Set to -1 (UINT32_MAX) to indicate an unbounded range. More...
 
shader_stage visibility
 Shader pipeline stages that can make use of the descriptors in this range. More...
 
uint32_t array_size
 Size of the array in case this is an array binding. Only meaningful in Vulkan, in OpenGL and other APIs this has to be 1 (since each array element is a separate binding there). If this is less than the total number of descriptors specified in count, then the remaining descriptors are assigned a separate binding (with an array size of 1), with the binding index incrementing with each additional descriptor. More...
 
descriptor_type type
 Type of the descriptors in this range. More...
 

Member Data Documentation

◆ static_samplers

const sampler_desc* reshade::api::descriptor_range_with_static_samplers::static_samplers

Optional array of sampler descriptions to statically embed into the descriptor table when the descriptor type is descriptor_type::sampler or descriptor_type::sampler_with_resource_view.


The documentation for this struct was generated from the following file: