Luna::RHI::TextureViewDesc
Describes one texture view in descriptor set.
struct Luna::RHI::TextureViewDesc
Member objects
-
The texture to set.
-
The texture view type. If this is TextureViewType::unspecified, the system uses the texture's native type as texture view type.
-
The texture view format. If this is Format::unknown, the system uses the texture's native format as texture view format.
-
The index of the first mip included in this view.
-
The number of mips included in this view. Mips in range [
mip_slice
,mip_slice + mip_size
) will be included in this view. -
The index of the first texture array element included in this view.
-
The number of array elements included in this view. Array elements in range [
array_slice
,array_slice + array_size
) will be included in this view.