Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::ImageSubresource Struct Reference

Public Member Functions

 AZ_TYPE_INFO (ImageSubresource, "{4B32F472-3B82-40AC-967A-BFE69B114C40}")
 
 ImageSubresource ()=default
 Defaults to the highest detail mip and first array element.
 
 ImageSubresource (uint16_t mipslice, uint16_t arraySlice)
 Constructs a subresource from a specific mip and array slice.
 
 ImageSubresource (uint16_t mipslice, uint16_t arraySlice, ImageAspect aspect)
 Constructs a subresource from a specific mip, array slice and image aspect.
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

uint16_t m_mipSlice = 0
 The offset into the mip chain.
 
uint16_t m_arraySlice = 0
 The offset into the array of mip chains.
 
ImageAspect m_aspect = ImageAspect::Color
 The image aspect that is included in the subresource.
 

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