Enum FormatSupport
Flags specifying which resources and features are supported for a given PixelFormat for a GraphicsDevice.
[Flags]
public enum FormatSupport
- Extension Methods
Fields
BackBufferCast = 16777216The format can be cast to a Back-Buffer.
Blendable = 32768The format supports blending as a Render Target.
Buffer = 1The format can be used as a Buffer resource.
CastWithinBitLayout = 1048576The format can be cast within a bit layout.
CpuLockable = 131072The format can be locked for CPU access.
DecoderOutput = 134217728The format can be used as a decoder output.
DepthStencil = 65536The format can be used as a Depth-Stencil Buffer.
Display = 524288The format can be used for display scan-out (to present to the screen).
InputAssemblyIndexBuffer = 4The format can be used as an Index Buffer in input assembly.
InputAssemblyVertexBuffer = 2The format can be used as a Vertex Buffer in input assembly.
Mip = 4096The format supports mipmaps.
MipAutogen = 8192The format supports automatic mipmap generation.
MultisampleLoad = 4194304The format supports multisample load operations.
MultisampleRendertarget = 2097152The format can be used as a multisample Render Target.
MultisampleResolve = 262144The format supports multisample resolve operations.
None = 0RenderTarget = 16384The format can be used as a Render Target.
ShaderGather = 8388608The format supports gather operations in a Shader.
ShaderGatherComparison = 67108864The format supports gather comparison operations in a Shader.
ShaderLoad = 256The format can be loaded in a Shader.
ShaderSample = 512The format can be sampled in a Shader.
ShaderSampleComparison = 1024The format can be used for comparison sampling in a Shader.
ShaderSampleMonoText = 2048The format can be used for monochrome text sampling in a Shader.
StreamOutputBuffer = 8The format can be used as a Stream-output Buffer.
Texture1D = 16The format can be used as a 1D Texture.
Texture2D = 32The format can be used as a 2D Texture.
Texture3D = 64The format can be used as a 3D Texture.
TextureCube = 128The format can be used as a Cube Texture.
TypedUnorderedAccessView = 33554432The format supports typed Unordered Access Views.
VideoEncoder = 1073741824The format can be used as a video encoder.
VideoProcessorInput = 536870912The format can be used as a video processor input.
VideoProcessorOutput = 268435456The format can be used as a video processor output.
Remarks
For more information, see Features.