Table of Contents

Enum FormatSupport

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Flags specifying which resources and features are supported for a given PixelFormat for a GraphicsDevice.

[Flags]
public enum FormatSupport
Extension Methods

Fields

BackBufferCast = 16777216

The format can be cast to a Back-Buffer.

Blendable = 32768

The format supports blending as a Render Target.

Buffer = 1

The format can be used as a Buffer resource.

CastWithinBitLayout = 1048576

The format can be cast within a bit layout.

CpuLockable = 131072

The format can be locked for CPU access.

DecoderOutput = 134217728

The format can be used as a decoder output.

DepthStencil = 65536

The format can be used as a Depth-Stencil Buffer.

Display = 524288

The format can be used for display scan-out (to present to the screen).

InputAssemblyIndexBuffer = 4

The format can be used as an Index Buffer in input assembly.

InputAssemblyVertexBuffer = 2

The format can be used as a Vertex Buffer in input assembly.

Mip = 4096

The format supports mipmaps.

MipAutogen = 8192

The format supports automatic mipmap generation.

MultisampleLoad = 4194304

The format supports multisample load operations.

MultisampleRendertarget = 2097152

The format can be used as a multisample Render Target.

MultisampleResolve = 262144

The format supports multisample resolve operations.

None = 0
RenderTarget = 16384

The format can be used as a Render Target.

ShaderGather = 8388608

The format supports gather operations in a Shader.

ShaderGatherComparison = 67108864

The format supports gather comparison operations in a Shader.

ShaderLoad = 256

The format can be loaded in a Shader.

ShaderSample = 512

The format can be sampled in a Shader.

ShaderSampleComparison = 1024

The format can be used for comparison sampling in a Shader.

ShaderSampleMonoText = 2048

The format can be used for monochrome text sampling in a Shader.

StreamOutputBuffer = 8

The format can be used as a Stream-output Buffer.

Texture1D = 16

The format can be used as a 1D Texture.

Texture2D = 32

The format can be used as a 2D Texture.

Texture3D = 64

The format can be used as a 3D Texture.

TextureCube = 128

The format can be used as a Cube Texture.

TypedUnorderedAccessView = 33554432

The format supports typed Unordered Access Views.

VideoEncoder = 1073741824

The format can be used as a video encoder.

VideoProcessorInput = 536870912

The format can be used as a video processor input.

VideoProcessorOutput = 268435456

The format can be used as a video processor output.

Remarks

For more information, see Features.