Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Partitioning options.
Syntax
typedef enum D3D_TESSELLATOR_PARTITIONING {
D3D_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
D3D_TESSELLATOR_PARTITIONING_INTEGER = 1,
D3D_TESSELLATOR_PARTITIONING_POW2 = 2,
D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4,
D3D11_TESSELLATOR_PARTITIONING_UNDEFINED,
D3D11_TESSELLATOR_PARTITIONING_INTEGER,
D3D11_TESSELLATOR_PARTITIONING_POW2,
D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD,
D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN
} ;
Constants
D3D_TESSELLATOR_PARTITIONING_UNDEFINEDValue: 0 |
D3D_TESSELLATOR_PARTITIONING_INTEGERValue: 1 |
D3D_TESSELLATOR_PARTITIONING_POW2Value: 2 |
D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODDValue: 3 |
D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVENValue: 4 |
D3D11_TESSELLATOR_PARTITIONING_UNDEFINEDThe partitioning type is undefined. |
D3D11_TESSELLATOR_PARTITIONING_INTEGERPartition with integers only. |
D3D11_TESSELLATOR_PARTITIONING_POW2Partition with a power-of-two number only. |
D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODDPartition with an odd, fractional number. |
D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVENPartition with an even, fractional number. |
Remarks
During tessellation, the partition option helps to determine how the algorithm chooses the next partition value; this enumeration is used by D3D11_SHADER_DESC.
The D3D11_TESSELLATOR_PARTITIONING enumeration is type defined in the D3D11Shader.h header file as a D3D_TESSELLATOR_PARTITIONING enumeration, which is fully defined in the D3DCommon.h header file.
typedef D3D_TESSELLATOR_PARTITIONING D3D11_TESSELLATOR_PARTITIONING;
Requirements
| Requirement | Value |
|---|---|
| Header | d3dcommon.h |