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

Describes the data of a subresource. More...

#include <reshade_api_resource.hpp>

Public Attributes

void * data
 Pointer to the data. More...
 
uint32_t row_pitch
 Row pitch of the data (added to the data pointer to move between texture rows, unused for buffers and 1D textures). More...
 
uint32_t slice_pitch
 Depth pitch of the data (added to the data pointer to move between texture depth/array slices, unused for buffers and 1D/2D textures). More...
 

Detailed Description

Describes the data of a subresource.

Member Data Documentation

◆ data

void* reshade::api::subresource_data::data

Pointer to the data.

◆ row_pitch

uint32_t reshade::api::subresource_data::row_pitch

Row pitch of the data (added to the data pointer to move between texture rows, unused for buffers and 1D textures).

See also
format_row_pitch

◆ slice_pitch

uint32_t reshade::api::subresource_data::slice_pitch

Depth pitch of the data (added to the data pointer to move between texture depth/array slices, unused for buffers and 1D/2D textures).

See also
format_slice_pitch

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