Enum TextureType
Abstraction for the different texture target used in the graphics API.
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public enum TextureType
Fields
Name | Description |
---|---|
ArrayTexture | A texture with a number of layers. Each layer can be written to and read from separately. |
Image2D | Specify a two-dimensional texture image. Images require a texel coordinate in the shader - only the value at the specified location will be loaded. Used in Compute Shaders. |
Texture1D | 1D Texture, width only. |
Texture2D | 2D Texture, width and height. |
Texture3D | 3D Texture, width, height, depth. |
TextureCubeMap | Exactly 6 distinct sets of 2D images, all of the same size. They act as 6 faces of a cube. |
TextureMultisample | A texture with a number of layers which are being used to generate a sampled texture |