GraphicsTextureDescriptor
Contains all the information Unity uses to create a GraphicsTexture.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public struct GraphicsTextureDescriptor
Remarks
Additional Resources: GraphicsTexture.descriptor.
Fields
Value | Description |
|---|---|
| arrayLength | The number of textures in the GraphicsTexture array. |
| depth | The volumetric depth of a 3D GraphicsTexture. |
| dimension | The dimensionality (type) of the GraphicsTexture. |
| flags | A set of GraphicsTextureDescriptorFlags that control how the texture can be rendered to or read from. |
| format | The pixel format for the |
| height | The height of the GraphicsTexture in pixels when Unity uploads it to the GPU. |
| mipCount | The number of mipmap levels in this GraphicsTexture. |
| numSamples | The number of samples per pixel in the GraphicsTexture. |
| width | The width of the GraphicsTexture in pixels when Unity uploads it to the GPU. |