Kanzi 4.0.0-beta2
kanzi::gfx::ResourceSetCreateInfo::ImageView Struct Reference

Describes an image view. More...

#include <kanzi/gfx/create_info.hpp>

Public Attributes

uint16_t arrayIndex
 The starting array index to view. The default is the entire image.
 
uint16_t arrayIndices
 The number of array layers to view. The default is the rest of the image.
 
uint8_t faceIndex
 The cubemap face index.
 
ImageHandleGuard image
 The image to view.
 
uint8_t mipLevel
 The starting mip level to view.
 
uint8_t mipLevels
 The number of mip levels to view. The default is the rest of the levels.
 

Detailed Description

Describes an image view.

Member Data Documentation

◆ image

ImageHandleGuard kanzi::gfx::ResourceSetCreateInfo::ImageView::image

The image to view.

◆ arrayIndex

uint16_t kanzi::gfx::ResourceSetCreateInfo::ImageView::arrayIndex

The starting array index to view. The default is the entire image.

◆ arrayIndices

uint16_t kanzi::gfx::ResourceSetCreateInfo::ImageView::arrayIndices

The number of array layers to view. The default is the rest of the image.

◆ mipLevel

uint8_t kanzi::gfx::ResourceSetCreateInfo::ImageView::mipLevel

The starting mip level to view.

◆ mipLevels

uint8_t kanzi::gfx::ResourceSetCreateInfo::ImageView::mipLevels

The number of mip levels to view. The default is the rest of the levels.

◆ faceIndex

uint8_t kanzi::gfx::ResourceSetCreateInfo::ImageView::faceIndex

The cubemap face index.

This parameter is ignored if the image is not a cubemap, or if the shader is requesting a cubemap.


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