目录

TextureViewCreateInfo

Struct Info

struct TextureViewCreateInfo

纹理视图参数信息,用于创建纹理。

Public Field Summary

Qualifier and Type

Field and Description

Texture*

texture

需要创建纹理视图的纹理图像,默认为空指针。

ImageType

imageType

纹理图像的维度类型,默认为ImageType::IMAGE_TYPE_2D。

PixelFormat

format

纹理的格式,默认为PixelFormat::PIXEL_FORMAT_R8G8B8A8_UNORM。

u8

baseLevel

纹理的mips起始值,用于mipmap纹理,默认为0。

u8

levelCount

纹理的mips数量,用于mipmap纹理,默认为1。

u8

baseLayer

纹理的Layer起始值,用于array texture纹理,默认为0。

u8

layerCount

纹理的layer数量,用于array texture纹理,默认为1。