wisdom
Loading...
Searching...
No Matches
WisSubresourceRange Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisSubresourceRange {
uint16_t base_mip_level;
uint16_t mip_level_count;
uint16_t base_array_layer;
uint16_t array_layer_count;
uint16_t plane_slice;
uint16_t plane_slice_count;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct SubresourceRange {
std::uint16_t base_mip_level;
std::uint16_t mip_level_count;
std::uint16_t base_array_layer;
std::uint16_t array_layer_count;
std::uint16_t plane_slice;
std::uint16_t plane_slice_count;
};
}

Members


  • base_mip_level indicates mipmap level of the subresource.
  • mip_level_count describes number of mip levels in the subresource.
  • base_array_layer describes array layer of the subresource. For 3D textures, this defines the depth slice.
  • array_layer_count indicates number of array layers in the subresource. For 3D textures, this defines the number of depth slices.
  • plane_slice indicates base depth slice of the subresource. Used only for 2D textures (YUV).
  • plane_slice_count indicates number of depth slices in the subresource. Used only for 2D textures (YUV). Max value is 3.

Description


See Also


See also
Structs: WisTextureBinding, WisTextureBarrier