enum GpuViewUsage

Different types of GPU views that control how GPU sees a hardware buffer.

Values

NameValueDescription
GVU_DEFAULT 1 Buffer is seen as a default shader resource, used primarily for reading. (for example a texture for sampling)
GVU_RENDERTARGET 2 Buffer is seen as a render target that color pixels will be written to after pixel shader stage.
GVU_DEPTHSTENCIL 4 Buffer is seen as a depth stencil target that depth and stencil information is written to.
GVU_RANDOMWRITE 8 Buffer that allows you to write to any part of it from within a GPU program.