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

#include <shaderFunctionDesc.h>

Public Types

enum  InPrimitiveType {
  InPrimitiveType::Points, InPrimitiveType::Lines, InPrimitiveType::LinesAdjacency, InPrimitiveType::Triangles,
  InPrimitiveType::TrianglesAdjacency
}
 
enum  OutPrimitiveType { OutPrimitiveType::Points, OutPrimitiveType::LineStrip, OutPrimitiveType::TriangleStrip }
 

Public Member Functions

HGI_API HgiShaderFunctionGeometryDesc ()
 

Public Attributes

InPrimitiveType inPrimitiveType
 
OutPrimitiveType outPrimitiveType
 
std::string outMaxVertices
 

Detailed Description

Describes a geometry function's description

  • inPrimitiveType: The input primitive type.
  • outPrimitiveType: The output primitive type.
  • outMaxVertices: The maximum number of vertices written by a single invovation of the geometry shader.

Definition at line 341 of file shaderFunctionDesc.h.

Member Enumeration Documentation

Enumerator
Points 
Lines 
LinesAdjacency 
Triangles 
TrianglesAdjacency 

Definition at line 343 of file shaderFunctionDesc.h.

Enumerator
Points 
LineStrip 
TriangleStrip 

Definition at line 345 of file shaderFunctionDesc.h.

Constructor & Destructor Documentation

HGI_API HgiShaderFunctionGeometryDesc::HgiShaderFunctionGeometryDesc ( )

Member Data Documentation

InPrimitiveType HgiShaderFunctionGeometryDesc::inPrimitiveType

Definition at line 351 of file shaderFunctionDesc.h.

std::string HgiShaderFunctionGeometryDesc::outMaxVertices

Definition at line 353 of file shaderFunctionDesc.h.

OutPrimitiveType HgiShaderFunctionGeometryDesc::outPrimitiveType

Definition at line 352 of file shaderFunctionDesc.h.


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