D3D11_FEATURE_DATA_D3D11_OPTIONS2 structure (d3d11.h)

Describes Direct3D 11.3 feature options in the current graphics driver.

Syntax

typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS2 {
  BOOL                                  PSSpecifiedStencilRefSupported;
  BOOL                                  TypedUAVLoadAdditionalFormats;
  BOOL                                  ROVsSupported;
  D3D11_CONSERVATIVE_RASTERIZATION_TIER ConservativeRasterizationTier;
  D3D11_TILED_RESOURCES_TIER            TiledResourcesTier;
  BOOL                                  MapOnDefaultTextures;
  BOOL                                  StandardSwizzle;
  BOOL                                  UnifiedMemoryArchitecture;
} D3D11_FEATURE_DATA_D3D11_OPTIONS2;

Members

PSSpecifiedStencilRefSupported

Specifies whether the hardware and driver support PSSpecifiedStencilRef. The runtime sets this member to TRUE if the hardware and driver support this option.

TypedUAVLoadAdditionalFormats

Specifies whether the hardware and driver support TypedUAVLoadAdditionalFormats. The runtime sets this member to TRUE if the hardware and driver support this option.

ROVsSupported

Specifies whether the hardware and driver support ROVs. The runtime sets this member to TRUE if the hardware and driver support this option.

ConservativeRasterizationTier

Specifies whether the hardware and driver support conservative rasterization. The runtime sets this member to a D3D11_CONSERVATIVE_RASTERIZATION_TIER-typed value that indicates if the hardware and driver support conservative rasterization and at what tier level.

TiledResourcesTier

Specifies whether the hardware and driver support tiled resources. The runtime sets this member to a D3D11_TILED_RESOURCES_TIER-typed value that indicates if the hardware and driver support tiled resources and at what tier level.

MapOnDefaultTextures

Specifies whether the hardware and driver support mapping on default textures. The runtime sets this member to TRUE if the hardware and driver support this option.

StandardSwizzle

Specifies whether the hardware and driver support standard swizzle. The runtime sets this member to TRUE if the hardware and driver support this option.

UnifiedMemoryArchitecture

Specifies whether the hardware and driver support Unified Memory Architecture. The runtime sets this member to TRUE if the hardware and driver support this option.

Remarks

If MapOnDefaultTextures is TRUE, applications may create textures using D3D11_USAGE_DEFAULT in combination with non-zero a D3D11_CPU_ACCESS_FLAG value. For performance reasons it is typically undesirable to create a default texture with CPU access flags unless the UnifiedMemoryArchitecture option is TRUE, or CPU / GPU usage of the texture is tightly interleaved.

Default textures may not be in a mapped state while either bound to the pipeline to referenced by an operation issued to a context. Default textures may not be mapped by a deferred context. Default textures may not be created shareable.

See D3D11_TEXTURE_LAYOUT for texture swizzle options and restrictions.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header d3d11.h

See also

Core Structures