Synced
RenderTextureDescriptor.Constructor
Section titled “RenderTextureDescriptor.Constructor”
- Creates a texture descriptor.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.RenderTextureDescriptor.RenderTextureDescriptor(int width, int height, Inno.Rendering.RenderTextureFormat format, Inno.Rendering.RenderTextureUsage usage, int mipCount = 1, int arrayLayers = 1, int sampleCount = 1, Inno.Rendering.RenderTextureDimension dimension = Inno.Rendering.RenderTextureDimension.Texture2D, int depth = 1)Parameters
Section titled “Parameters”Parameter width: Texture width in pixels.
Parameter height: Texture height in pixels.
Parameter format: Storage format.
Parameter usage: Permitted operations.
Parameter mipCount: Number of mip levels.
Parameter arrayLayers: Number of array layers.
Parameter sampleCount: Raster sample count.
Parameter dimension: Texture dimensional shape.
Parameter depth: Base mip depth for a three-dimensional texture.