D3D10_FORMAT_SUPPORT Enumeration

Which resources are supported for a given format and given device (see ID3D10Device::CheckFormatSupport).

Syntax

typedef enum D3D10_FORMAT_SUPPORT {
  D3D10_FORMAT_SUPPORT_BUFFER,
  D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER,
  D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER,
  D3D10_FORMAT_SUPPORT_SO_BUFFER,
  D3D10_FORMAT_SUPPORT_TEXTURE1D,
  D3D10_FORMAT_SUPPORT_TEXTURE2D,
  D3D10_FORMAT_SUPPORT_TEXTURE3D,
  D3D10_FORMAT_SUPPORT_TEXTURECUBE,
  D3D10_FORMAT_SUPPORT_SHADER_LOAD,
  D3D10_FORMAT_SUPPORT_SHADER_SAMPLE,
  D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON,
  D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT,
  D3D10_FORMAT_SUPPORT_MIP,
  D3D10_FORMAT_SUPPORT_MIP_AUTOGEN,
  D3D10_FORMAT_SUPPORT_RENDER_TARGET,
  D3D10_FORMAT_SUPPORT_BLENDABLE,
  D3D10_FORMAT_SUPPORT_DEPTH_STENCIL,
  D3D10_FORMAT_SUPPORT_CPU_LOCKABLE,
  D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE,
  D3D10_FORMAT_SUPPORT_DISPLAY,
  D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT,
  D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET,
  D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD,
  D3D10_FORMAT_SUPPORT_SHADER_GATHER,
  D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST
} ;

Constants

D3D10_FORMAT_SUPPORT_BUFFER Buffer resources supported.
D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER Vertex buffers supported.
D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER Index buffers supported.
D3D10_FORMAT_SUPPORT_SO_BUFFER Streaming output buffers supported.
D3D10_FORMAT_SUPPORT_TEXTURE1D 1D texture resources supported.
D3D10_FORMAT_SUPPORT_TEXTURE2D 2D texture resources supported.
D3D10_FORMAT_SUPPORT_TEXTURE3D 3D texture resources supported.
D3D10_FORMAT_SUPPORT_TEXTURECUBE Cube texture resources supported.
D3D10_FORMAT_SUPPORT_SHADER_LOAD The intrinsic HLSL function load is supported.
D3D10_FORMAT_SUPPORT_SHADER_SAMPLE The intrinsic HLSL functions Sample supported.
D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON The intrinsic HLSL functions SampleCmp and SampleCmpLevelZero are supported.
D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT Reserved.
D3D10_FORMAT_SUPPORT_MIP Mipmaps are supported.
D3D10_FORMAT_SUPPORT_MIP_AUTOGEN Automatic generation of mipmaps is supported.
D3D10_FORMAT_SUPPORT_RENDER_TARGET Rendertargets are supported.
D3D10_FORMAT_SUPPORT_BLENDABLE Render target blend operations supported.
D3D10_FORMAT_SUPPORT_DEPTH_STENCIL Depth stencils supported.
D3D10_FORMAT_SUPPORT_CPU_LOCKABLE CPU locking supported.
D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE Multisampling resolution supported.
D3D10_FORMAT_SUPPORT_DISPLAY Format can be displayed on screen.
D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT Format cannot be cast to another format.
D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET Format can be used as a multisampled rendertarget.
D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD Format can be used as a multisampled texture and read into a shader with the load function.
D3D10_FORMAT_SUPPORT_SHADER_GATHER Format can be used with the gather function. This value is available in DirectX 10.1 or higher.
D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST

Requirements

   
Header d3d10.h

See Also

Core Enumerations