Version: 2023.1

GraphicsTextureDescriptor

struct in UnityEngine.Rendering

切换到手册

描述

Contains all the information Unity uses to create a GraphicsTexture.

变量

arrayLengthThe number of textures in the GraphicsTexture array.
depthThe depth of a 3D GraphicsTexture.
dimensionThe dimensionality (type) of the GraphicsTexture.
formatThe color format for the GraphicsTexture expressed as a GraphicsFormat.
heightThe height of the GraphicsTexture in pixels when Unity uploads it to the GPU.
mipCountThe number of mipmap levels in this GraphicsTexture.
widthThe width of the GraphicsTexture in pixels when Unity uploads it to the GPU.