D3D11X_TESSELLATION_FLAGS Enumeration

Flags to control tessellation and enable other values in the D3D11X_TESSELLATION_PARAMETERS structure, as bitwise-OR’d enumeration constants.

Syntax

typedef enum D3D11X_TESSELLATION_FLAGS
{
    D3D11X_TESSELLATION_OFFCHIP = 0x1,
    D3D11X_TESSELLATION_OVERRIDE_PATCHES_PER_THREADGROUP = 0x2,
    D3D11X_TESSELLATION_OVERRIDE_TF_THRESHOLD = 0x4,
    D3D11X_TESSELLATION_OVERRIDE_DS_WAVE_THRESHOLD = 0x8
} D3D11X_TESSELLATION_FLAGS;  

Constants

Constant Description
D3D11X_TESSELLATION_OFFCHIP If this flag is present in the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure, the GPU will perform tessellation off-chip. If this flag is not present or no D3D11X_TESSELLATION_PARAMETERS structure is provided by the title, the GPU will use the default of onchip tessellation mode.
D3D11X_TESSELLATION_OVERRIDE_PATCHES_PER_THREADGROUP If this flag is present in the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure, the PatchesPerThreadgroup field of the D3D11X_TESSELLATION_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure also includes the flag D3D11X_TESSELLATION_OFFCHIP. If this flag is not present or no D3D11X_TESSELLATION_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the PatchesPerThreadgroup field of the D3D11X_TESSELLATION_PARAMETERS structure.
D3D11X_TESSELLATION_OVERRIDE_TF_THRESHOLD If this flag is present in the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure, the tessellation factor threshold (TfThreshold) field of the D3D11X_TESSELLATION_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure also includes the flag D3D11X_TESSELLATION_OFFCHIP. If this flag is not present or no D3D11X_TESSELLATION_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the TfThreshold field of the D3D11X_TESSELLATION_PARAMETERS structure.
D3D11X_TESSELLATION_OVERRIDE_DS_WAVE_THRESHOLD If this flag is present in the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure, the DsWaveThreshold field of the D3D11X_TESSELLATION_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_TESSELLATION_PARAMETERS structure also includes the flag D3D11X_TESSELLATION_OFFCHIP. If this flag is not present or no D3D11X_TESSELLATION_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the DsWaveThreshold field of the D3D11X_TESSELLATION_PARAMETERS structure.

Remarks

The D3D11X_TESSELLATION_PARAMETERS structure has a Flags field that is a bitwise-OR’d combination of these enumeration constants.

Requirements

Header: Declared in d3d11_x.h.