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

All information needed to update descriptors in a descriptor set. More...

#include <reshade_api_pipeline.hpp>

Public Attributes

descriptor_set set
 Descriptor set to update. More...
 
uint32_t binding
 OpenGL/Vulkan binding index in the descriptor set. In D3D this is equivalent to the offset (in descriptors) from the start of the set. More...
 
uint32_t array_offset
 Array index in the specified binding to begin updating at. Only meaningful in Vulkan, in OpenGL and other APIs this has to be 0 (since each GLSL array element gets a separate binding index). More...
 
uint32_t count
 Number of descriptors to update, starting at the specified binding. If the specified binding has fewer than count array elements starting from array_offset, then the remainder will be used to update the subsequent binding starting at array element zero, recursively. More...
 
descriptor_type type
 Type of the specified descriptors. More...
 
const void * descriptors
 Pointer to an array of descriptors to update in the set (which should be as large as the specified count). Depending on the descriptor type this should be pointer to an array of buffer_range, resource_view, sampler or sampler_with_resource_view. More...
 

Detailed Description

All information needed to update descriptors in a descriptor set.

Member Data Documentation

◆ array_offset

uint32_t reshade::api::descriptor_set_update::array_offset

Array index in the specified binding to begin updating at. Only meaningful in Vulkan, in OpenGL and other APIs this has to be 0 (since each GLSL array element gets a separate binding index).

◆ binding

uint32_t reshade::api::descriptor_set_update::binding

OpenGL/Vulkan binding index in the descriptor set. In D3D this is equivalent to the offset (in descriptors) from the start of the set.

◆ count

uint32_t reshade::api::descriptor_set_update::count

Number of descriptors to update, starting at the specified binding. If the specified binding has fewer than count array elements starting from array_offset, then the remainder will be used to update the subsequent binding starting at array element zero, recursively.

◆ descriptors

const void* reshade::api::descriptor_set_update::descriptors

Pointer to an array of descriptors to update in the set (which should be as large as the specified count). Depending on the descriptor type this should be pointer to an array of buffer_range, resource_view, sampler or sampler_with_resource_view.

◆ set

descriptor_set reshade::api::descriptor_set_update::set

Descriptor set to update.

◆ type

descriptor_type reshade::api::descriptor_set_update::type

Type of the specified descriptors.


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