Loading...
Searching...
No Matches
HgiShaderFunctionTessellationDesc Struct Reference

Describes a tessellation function's description. More...

#include <shaderFunctionDesc.h>

Public Types

enum class  PatchType { Triangles , Quads , Isolines }
 
enum class  Spacing { Equal , FractionalEven , FractionalOdd }
 
enum class  Ordering { CW , CCW }
 

Public Attributes

PatchType patchType
 
Spacing spacing
 
Ordering ordering
 
std::string numVertsPerPatchIn
 
std::string numVertsPerPatchOut
 

Detailed Description

Describes a tessellation function's description.

  • patchType: The type of patch
  • spacing The spacing used by the tessellation primitive generator
  • ordering The ordering used by the tessellation primitive generator
  • numVertsInPerPatch: The number of vertices in per patch
  • numVertsOutPerPatch: The number of vertices out per patch

Definition at line 302 of file shaderFunctionDesc.h.

Member Enumeration Documentation

◆ Ordering

enum class Ordering
strong

Definition at line 306 of file shaderFunctionDesc.h.

◆ PatchType

enum class PatchType
strong

Definition at line 304 of file shaderFunctionDesc.h.

◆ Spacing

enum class Spacing
strong

Definition at line 305 of file shaderFunctionDesc.h.

Member Data Documentation

◆ numVertsPerPatchIn

std::string numVertsPerPatchIn

Definition at line 313 of file shaderFunctionDesc.h.

◆ numVertsPerPatchOut

std::string numVertsPerPatchOut

Definition at line 314 of file shaderFunctionDesc.h.

◆ ordering

Ordering ordering

Definition at line 312 of file shaderFunctionDesc.h.

◆ patchType

PatchType patchType

Definition at line 310 of file shaderFunctionDesc.h.

◆ spacing

Spacing spacing

Definition at line 311 of file shaderFunctionDesc.h.


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