Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GraphicsTextureDescriptor

Contains all the information Unity uses to create a GraphicsTexture.
Read time 1 minuteLast updated 6 days ago

Definition

public struct GraphicsTextureDescriptor

Remarks

Additional Resources: GraphicsTexture.descriptor.

Fields

Value

Description

arrayLengthThe number of textures in the GraphicsTexture array.
depthThe volumetric depth of a 3D GraphicsTexture.
dimensionThe dimensionality (type) of the GraphicsTexture.
flagsA set of GraphicsTextureDescriptorFlags that control how the texture can be rendered to or read from.
formatThe pixel 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.
numSamplesThe number of samples per pixel in the GraphicsTexture.
widthThe width of the GraphicsTexture in pixels when Unity uploads it to the GPU.