Loading...
Searching...
No Matches
HgiTessellationState Struct Reference

Properties to configure tessellation. More...

#include <graphicsPipeline.h>

Public Types

enum  PatchType { Triangle , Quad , Isoline }
 
enum  TessFactorMode { Constant , TessControl , TessVertex }
 

Public Attributes

PatchType patchType
 
int primitiveIndexSize
 
TessFactorMode tessFactorMode = TessFactorMode::Constant
 
HgiTessellationLevel tessellationLevel
 

Detailed Description

Properties to configure tessellation.

  • patchType: The type of tessellation patch.
  • primitiveIndexSize: The number of control indices per patch.
  • tessellationLevel: The fallback tessellation levels.

Definition at line 365 of file graphicsPipeline.h.

Member Enumeration Documentation

◆ PatchType

enum PatchType

Definition at line 367 of file graphicsPipeline.h.

◆ TessFactorMode

enum TessFactorMode

Definition at line 373 of file graphicsPipeline.h.

Member Data Documentation

◆ patchType

PatchType patchType

Definition at line 382 of file graphicsPipeline.h.

◆ primitiveIndexSize

int primitiveIndexSize

Definition at line 383 of file graphicsPipeline.h.

◆ tessellationLevel

HgiTessellationLevel tessellationLevel

Definition at line 385 of file graphicsPipeline.h.

◆ tessFactorMode

TessFactorMode tessFactorMode = TessFactorMode::Constant

Definition at line 384 of file graphicsPipeline.h.


The documentation for this struct was generated from the following file: