Open CASCADE Technology  7.3.1.dev
Enumerations
Graphic3d_TypeOfShaderObject.hxx File Reference

Enumerations

enum  Graphic3d_TypeOfShaderObject {
  Graphic3d_TOS_VERTEX = 0x01, Graphic3d_TOS_TESS_CONTROL = 0x02, Graphic3d_TOS_TESS_EVALUATION = 0x04, Graphic3d_TOS_GEOMETRY = 0x08,
  Graphic3d_TOS_FRAGMENT = 0x10, Graphic3d_TOS_COMPUTE = 0x20
}
 Type of the shader object. More...
 

Enumeration Type Documentation

◆ Graphic3d_TypeOfShaderObject

Type of the shader object.

Enumerator
Graphic3d_TOS_VERTEX 

vertex shader object, mandatory

Graphic3d_TOS_TESS_CONTROL 

tessellation control shader object, optional

Graphic3d_TOS_TESS_EVALUATION 

tessellation evaluation shader object, optional

Graphic3d_TOS_GEOMETRY 

geometry shader object, optional

Graphic3d_TOS_FRAGMENT 

fragment shader object, mandatory

Graphic3d_TOS_COMPUTE 

compute shader object, should be used as alternative to shader object types for rendering