|
| AZ_TYPE_INFO (ImageSubresourceLayout, "{076A8345-B6E4-4287-A1B3-4079E1BA3CA9}") |
|
| ImageSubresourceLayout (Size size, uint32_t rowCount, uint32_t bytesPerRow, uint32_t bytesPerImage, uint32_t numBlocksWidth, uint32_t numBlocksHeight, uint32_t offset=0) |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
Size | m_size |
|
uint32_t | m_rowCount = 0 |
| The number of rows in an image slice.
|
|
uint32_t | m_bytesPerRow = 0 |
| The number of bytes in a contiguous row of the image data.
|
|
uint32_t | m_bytesPerImage = 0 |
| The number of bytes in a single image slice. 3D textures are comprised of m_size.m_depth image slices.
|
|
uint32_t | m_blockElementWidth = 1 |
| The number of blocks in width based on the texture fomat.
|
|
uint32_t | m_blockElementHeight = 1 |
| The number of blocks in height based on the texture fomat.
|
|
uint32_t | m_offset = 0 |
| The number of bytes that image date is offset in a buffer.
|
|
◆ m_size
Size AZ::RHI::ImageSubresourceLayout::m_size |
The size of the image subresource in pixels. Certain formats have alignment requirements. Block compressed formats are 4 pixel aligned. Other non-standard formats may be 2 pixel aligned.
The documentation for this struct was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/ImageSubresource.h