|
| AZ_TYPE_INFO (Size, "{3B8DAD61-8AFA-4BB1-BCF8-179865D8C57B}") |
|
| Size (uint32_t width, uint32_t height, uint32_t depth) |
|
Size | GetReducedMip (uint32_t mipLevel) const |
|
bool | operator== (const Size &rhs) const |
|
bool | operator!= (const Size &rhs) const |
|
uint32_t & | operator[] (uint32_t idx) |
|
uint32_t | operator[] (uint32_t idx) const |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
uint32_t | m_width = 1 |
|
uint32_t | m_height = 1 |
|
uint32_t | m_depth = 1 |
|
◆ GetReducedMip()
Size AZ::RHI::Size::GetReducedMip |
( |
uint32_t |
mipLevel | ) |
const |
Returns the mip level size, assuming this size is mip 0. A value of 1 is half sized, 2 quarter sized, etc. Clamps at 1.
The documentation for this struct was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/Size.h