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 287 of file shaderFunctionDesc.h.

Member Enumeration Documentation

Enumerator
CW 
CCW 

Definition at line 291 of file shaderFunctionDesc.h.

Enumerator
Triangles 
Quads 
Isolines 

Definition at line 289 of file shaderFunctionDesc.h.

Enumerator
Equal 
FractionalEven 
FractionalOdd 

Definition at line 290 of file shaderFunctionDesc.h.

Constructor & Destructor Documentation

HGI_API HgiShaderFunctionTessellationDesc::HgiShaderFunctionTessellationDesc ( )

Member Data Documentation

std::string HgiShaderFunctionTessellationDesc::numVertsPerPatchIn

Definition at line 298 of file shaderFunctionDesc.h.

std::string HgiShaderFunctionTessellationDesc::numVertsPerPatchOut

Definition at line 299 of file shaderFunctionDesc.h.

Ordering HgiShaderFunctionTessellationDesc::ordering

Definition at line 297 of file shaderFunctionDesc.h.

PatchType HgiShaderFunctionTessellationDesc::patchType

Definition at line 295 of file shaderFunctionDesc.h.

Spacing HgiShaderFunctionTessellationDesc::spacing

Definition at line 296 of file shaderFunctionDesc.h.


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