wisdom
Loading...
Searching...
No Matches
WisPrimitiveRestartValue Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
WisPrimitiveRestartValueNone = 0,
WisPrimitiveRestartValueUInt16Max = 1,
WisPrimitiveRestartValueUInt32Max = 2,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class PrimitiveRestartValue {
None = 0,
UInt16Max = 1,
UInt32Max = 2,
};
}

Description


Primitive restart value for indexed drawing with primitive restart enabled.

Note
Translates to D3D12_INDEX_BUFFER_STRIP_CUT_VALUE for DirectX 12 implementation.

Values:

  • WisPrimitiveRestartValueNone = 0: Primitive restart is disabled. No primitive restart value is used.
  • WisPrimitiveRestartValueUInt16Max = 1: Use the maximum value of uint16_t as the primitive restart value.
  • WisPrimitiveRestartValueUInt32Max = 2: Use the maximum value of uint32_t as the primitive restart value.

See Also


See also
Functions: wisCommandListSetPrimitiveRestartValue