#include <Resource.hpp>
◆ Create()
Helper function to create a Subresource Range with default parameters.
- Note
- The created range is validated, and will throw if invalid.
- Parameters
-
| aspect | Defaults to RHITextureAspectFlagBits::Color |
| base_mip_level | Defaults to 0 |
| mip_count | Defaults to 1 |
| base_array_layer | Defaults to 0 |
| layer_count | Defaults to 1 |
◆ GetArrayLayerRange()
| Pair< uint32_t, uint32_t > Foundation::RHI::RHITextureSubresourceRange::GetArrayLayerRange |
( |
| ) |
const |
|
inline |
◆ GetMipLevelRange()
◆ IsValid()
| constexpr bool Foundation::RHI::RHITextureSubresourceRange::IsValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ layer
◆ mipCount
| uint32_t Foundation::RHI::RHITextureSubresourceRange::mipCount |
The documentation for this struct was generated from the following file: