Loading...
Searching...
No Matches
HgiShaderFunctionGeometryDesc Struct Reference

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

#include <shaderFunctionDesc.h>

Public Types

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

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

Member Enumeration Documentation

◆ InPrimitiveType

enum class InPrimitiveType
strong

Definition at line 345 of file shaderFunctionDesc.h.

◆ OutPrimitiveType

enum class OutPrimitiveType
strong

Definition at line 347 of file shaderFunctionDesc.h.

Member Data Documentation

◆ inPrimitiveType

InPrimitiveType inPrimitiveType

Definition at line 353 of file shaderFunctionDesc.h.

◆ outMaxVertices

std::string outMaxVertices

Definition at line 355 of file shaderFunctionDesc.h.

◆ outPrimitiveType

OutPrimitiveType outPrimitiveType

Definition at line 354 of file shaderFunctionDesc.h.


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