![]() |
wisdom
|
C version:
C++ version:
Texture usage flags. Determine how the texture can be used throughout its lifetime.
Values:
WisTextureUsageFlagsNone = 0: No flags set. Texture is not used.WisTextureUsageFlagsRenderTarget = (1 << 0): Texture is used as a render target.WisTextureUsageFlagsDepthStencil = (1 << 1): Texture is used as a depth stencil buffer.WisTextureUsageFlagsCopySrc = (1 << 2): Texture is used as a source for copy operations.WisTextureUsageFlagsCopyDst = (1 << 3): Texture is used as a destination for copy operations.WisTextureUsageFlagsShaderResource = (1 << 4): Texture is used as a shader resource.WisTextureUsageFlagsUnorderedAccess = (1 << 5): Texture is used as an unordered access resource.WisTextureUsageFlagsHostCopy = (1 << 7): Texture is used for host copy operations. Works with GPUUpload heap.