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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisTargetSubresource {
uint16_t mip_level;
uint16_t array_layer;
uint16_t plane_slice;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct TargetSubresource {
std::uint16_t mip_level;
std::uint16_t array_layer;
std::uint16_t plane_slice;
};
}

Members


  • mip_level describes mipmap level of the target subresource.
  • array_layer indicates array layer of the target subresource; for 3D textures it must be 0.
  • plane_slice indicates depth slice of the target subresource. Used only for 2D textures (YUV).

Description


See Also


See also
Structs: WisTextureRegion