Struct Info |
|---|
struct TextureCreateInfo 纹理参数信息,用于创建纹理。 |
Qualifier and Type |
Field and Description |
|---|---|
filePath 来源于文件的纹理表示文件路径,非来源于文件时为空。 |
|
imageType 纹理图像的维度类型。 |
|
format 纹理的格式。 |
|
sampleCount 纹理的采样点数。 |
|
usage 纹理的用途。 |
|
imageTiling 纹理在内存中的排布方式。 |
|
properties 纹理的内存属性。 |
|
width 纹理的宽度。 |
|
height 纹理的高度。 |
|
depth 纹理的深度。 |
|
mipLevels 纹理的mips数量,用于mipmap纹理。 |
|
layerCount 纹理的layer数量,用于array texture纹理。 |
|
faceCount 纹理的face数量,用于cubemap纹理。 |