Gets the last-used tessellation parameters for the Hull shader.
public:
void HSGetLastUsedTessellationParameters(
D3D11X_TESSELLATION_PARAMETERS *pTessellationParameters
)
pTessellationParameters
Type: D3D11X_TESSELLATION_PARAMETERS *
[in, out] The tessellation parameters, as a pointer to D3D11X_TESSELLATION_PARAMETERS.
The main fields in the optional D3D11X_TESSELLATION_PARAMETERS structure are PatchesPerThreadgroup, TfThreshold, and DsWaveThreshold. These fields express values that are normally calculated by the driver, taking into consideration factors including control point counts and sizes, with the overall goal of maximizing patch throughput. These fields can be read after a call to HSGetLastUsedTessellationParameters, to find out which values the driver calculated.
Even when overriding the values, the driver might need to modify the values to internally account for internal limitations of the GPU. To discover such modifications, call HSGetLastUsedTessellationParameters. HSGetLastUsedTessellationParameters retrieves from the driver the values that the driver calculated, which can be the values it adjusted for the immediately preceding Draw call. Before calling HSGetLastUsedTessellationParameters, the caller must initialize the Size field to the size of the structure.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.