539 return 16 * ((width + 3) / 4);
541 return 8 * ((width + 3) / 4);
558 return row_pitch * ((height + 3) / 4);
560 return row_pitch * height;
Definition: reshade_api.hpp:11
format format_to_default_typed(format value, int srgb_variant=-1)
Converts the specified format value to its equivalent typed variant ("unorm" or "float").
Definition: reshade_api_format.hpp:344
const uint32_t format_slice_pitch(format value, uint32_t row_pitch, uint32_t height)
Gets the number of bytes a texture slice of the specified format value occupies.
Definition: reshade_api_format.hpp:555
const uint32_t format_row_pitch(format value, uint32_t width)
Gets the number of bytes a texture row of the specified format value occupies.
Definition: reshade_api_format.hpp:517
color_space
The available color space types for presentation.
Definition: reshade_api_format.hpp:186
format format_to_depth_stencil_typed(format value)
Converts the specified format value to its equivalent depth-stencil variant.
Definition: reshade_api_format.hpp:445
const uint32_t format_bit_depth(format value)
Gets the average component bit depth of the specified format value .
Definition: reshade_api_format.hpp:471
format format_to_typeless(format value)
Converts the specified format value to its equivalent typeless variant.
Definition: reshade_api_format.hpp:207
bool format_is_typeless(format value)
Checks whether the specified format value is a typeless format.
Definition: reshade_api_format.hpp:566
bool format_is_block_compressed(format value)
Checks whether the specified format value is a block compressed (BC) format.
Definition: reshade_api_format.hpp:574
format
Available data and texture formats. This is mostly compatible with 'DXGI_FORMAT'.
Definition: reshade_api_format.hpp:18