Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D_TESSELLATOR_PARTITIONING enumeration

Values that identify 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        = D3D_TESSELLATOR_PARTITIONING_UNDEFINED,
  D3D11_TESSELLATOR_PARTITIONING_INTEGER          = D3D_TESSELLATOR_PARTITIONING_INTEGER,
  D3D11_TESSELLATOR_PARTITIONING_POW2             = D3D_TESSELLATOR_PARTITIONING_POW2,
  D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD   = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD,
  D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN  = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN
} D3D_TESSELLATOR_PARTITIONING;

Constants

D3D_TESSELLATOR_PARTITIONING_UNDEFINED

The partitioning type is undefined.

D3D_TESSELLATOR_PARTITIONING_INTEGER

Partition with integers only.

D3D_TESSELLATOR_PARTITIONING_POW2

Partition with a power-of-two number only.

D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD

Partition with an odd, fractional number.

D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN

Partition with an even, fractional number.

D3D11_TESSELLATOR_PARTITIONING_UNDEFINED

The partitioning type is undefined.

D3D11_TESSELLATOR_PARTITIONING_INTEGER

Partition with integers only.

D3D11_TESSELLATOR_PARTITIONING_POW2

Partition with a power-of-two number only.

D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD

Partition with an odd, fractional number.

D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN

Partition 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.

Requirements

Header

D3DCommon.h

See also

Common Version Enumerations

 

 

Show:
© 2017 Microsoft