enum TextureUsageFlag

Flags that describe how a texture is used.

Values

NameValueDescription
StoreOnGPU 1 Ensures the texture is placed into memory on the GPU device.
StoreOnCPUWithGPUAccess 2 Places the texture into CPU memory accessible to the GPU.
RenderTarget 512 Texture that can be rendered to by the GPU.
DepthStencil 1024 Texture used as a depth/stencil buffer by the GPU.
AllowUnorderedAccessOnTheGPU 2048 Ensures that the GPU can perform unordered write operations on the texture.
CPUCached 4096 All texture data will also be cached in CPU memory for fast read access from the CPU.
MutableFormat 16384 Allows retrieving views of the texture using a different format than specified on creation.
Default 1 Default setting suitable for majority of textures.