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

#include <shaderFunctionDesc.h>

Public Types

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

Public Member Functions

HGI_API HgiShaderFunctionTessellationDesc ()
 

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

Enumerator
CW 
CCW 

Definition at line 306 of file shaderFunctionDesc.h.

Enumerator
Triangles 
Quads 
Isolines 

Definition at line 304 of file shaderFunctionDesc.h.

Enumerator
Equal 
FractionalEven 
FractionalOdd 

Definition at line 305 of file shaderFunctionDesc.h.

Constructor & Destructor Documentation

HGI_API HgiShaderFunctionTessellationDesc::HgiShaderFunctionTessellationDesc ( )

Member Data Documentation

std::string HgiShaderFunctionTessellationDesc::numVertsPerPatchIn

Definition at line 313 of file shaderFunctionDesc.h.

std::string HgiShaderFunctionTessellationDesc::numVertsPerPatchOut

Definition at line 314 of file shaderFunctionDesc.h.

Ordering HgiShaderFunctionTessellationDesc::ordering

Definition at line 312 of file shaderFunctionDesc.h.

PatchType HgiShaderFunctionTessellationDesc::patchType

Definition at line 310 of file shaderFunctionDesc.h.

Spacing HgiShaderFunctionTessellationDesc::spacing

Definition at line 311 of file shaderFunctionDesc.h.


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