Enum Texture.StateFlags
Represents a set of flags for the buffer state.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public enum Texture.StateFlags
Fields
| Name | Description |
|---|---|
| CopyDst | Copy destination. |
| CopySrc | Copy source. |
| DepthRead | Allows the texture to be used as depth buffer for depth reads. |
| DepthWrite | Allows the texture to be used as depth buffer for depth writes. |
| NonPixelShaderResource | Enables sampling in non-pixel shaders. |
| None | No Flags. |
| PixelShaderResource | Enables sampling in pixel shaders. |
| PresentSrc | Allows the texture to be used as present source in a swapchain. |
| RenderTarget | Allows the texture to be used as a RenderTarget. |
| ResolveDst | Allows the texture to be used as depth buffer for depth writes. |
| ResolveSrc | Allows the texture to be used as depth buffer for depth writes. |
| UnorderedAccess | Allows the texture to be used as an Unordered Access View. Mainly for writing in compute shader. |