HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiTessellationState Struct Reference

#include <graphicsPipeline.h>

Public Types

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

Public Member Functions

HGI_API HgiTessellationState ()
 

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

Enumerator
Triangle 
Quad 
Isoline 

Definition at line 367 of file graphicsPipeline.h.

Enumerator
Constant 
TessControl 
TessVertex 

Definition at line 373 of file graphicsPipeline.h.

Constructor & Destructor Documentation

HGI_API HgiTessellationState::HgiTessellationState ( )

Member Data Documentation

PatchType HgiTessellationState::patchType

Definition at line 382 of file graphicsPipeline.h.

int HgiTessellationState::primitiveIndexSize

Definition at line 383 of file graphicsPipeline.h.

HgiTessellationLevel HgiTessellationState::tessellationLevel

Definition at line 385 of file graphicsPipeline.h.

TessFactorMode HgiTessellationState::tessFactorMode = TessFactorMode::Constant

Definition at line 384 of file graphicsPipeline.h.


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