目录

TextureCreateInfo

Struct Info

struct TextureCreateInfo

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

Public Field Summary

Qualifier and Type

Field and Description

String

filePath

来源于文件的纹理表示文件路径,非来源于文件时为空。

ImageType

imageType

纹理图像的维度类型。

PixelFormat

format

纹理的格式。

SampleCountFlagBits

sampleCount

纹理的采样点数。

TextureUsage

usage

纹理的用途。

ImageTiling

imageTiling

纹理在内存中的排布方式。

u32

properties

纹理的内存属性。

u32

width

纹理的宽度。

u32

height

纹理的高度。

u32

depth

纹理的深度。

u8

mipLevels

纹理的mips数量,用于mipmap纹理。

u8

layerCount

纹理的layer数量,用于array texture纹理。

u8

faceCount

纹理的face数量,用于cubemap纹理。