Open CASCADE Technology  7.3.0
Data Structures | Typedefs | Enumerations

OpenGl_SetOfShaderPrograms.hxx File Reference

#include <Graphic3d_TypeOfShadingModel.hxx>
#include <NCollection_DataMap.hxx>
#include <OpenGl_ShaderProgram.hxx>

Data Structures

class  OpenGl_SetOfShaderPrograms
 Alias to programs array of predefined length. More...
 

Typedefs

typedef NCollection_DataMap< TCollection_AsciiString, Handle< OpenGl_SetOfShaderPrograms > > OpenGl_MapOfShaderPrograms
 

Enumerations

enum  OpenGl_ProgramOptions {
  OpenGl_PO_Point = 0x001, OpenGl_PO_VertColor = 0x002, OpenGl_PO_TextureRGB = 0x004, OpenGl_PO_TextureA = 0x008,
  OpenGl_PO_TextureEnv = 0x010, OpenGl_PO_StippleLine = 0x020, OpenGl_PO_ClipPlanes1 = 0x040, OpenGl_PO_ClipPlanes2 = 0x080,
  OpenGl_PO_ClipPlanesN = 0x100, OpenGl_PO_AlphaTest = 0x200, OpenGl_PO_WriteOit = 0x400, OpenGl_PO_NB = 0x800
}
 Standard GLSL program combination bits. More...
 

Typedef Documentation

◆ OpenGl_MapOfShaderPrograms

Enumeration Type Documentation

◆ OpenGl_ProgramOptions

Standard GLSL program combination bits.

Enumerator
OpenGl_PO_Point 

point marker

OpenGl_PO_VertColor 

per-vertex color

OpenGl_PO_TextureRGB 

handle RGB texturing

OpenGl_PO_TextureA 

handle Alpha texturing

OpenGl_PO_TextureEnv 

handle environment map

OpenGl_PO_StippleLine 

stipple line

OpenGl_PO_ClipPlanes1 

handle 1 clipping plane

OpenGl_PO_ClipPlanes2 

handle 2 clipping planes

OpenGl_PO_ClipPlanesN 

handle N clipping planes

OpenGl_PO_AlphaTest 

discard fragment by alpha test (defined by cutoff value)

OpenGl_PO_WriteOit 

write coverage buffer for Blended Order-Independent Transparency

OpenGl_PO_NB 

overall number of combinations