Open CASCADE Technology  7.4.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_SetOfPrograms
 Alias to programs array of predefined length. More...
 
class  OpenGl_SetOfShaderPrograms
 Alias to 2D programs array of predefined length. More...
 

Typedefs

typedef NCollection_DataMap< TCollection_AsciiString, Handle< OpenGl_SetOfShaderPrograms > > OpenGl_MapOfShaderPrograms
 

Enumerations

enum  OpenGl_ProgramOptions {
  OpenGl_PO_VertColor = 0x0001, OpenGl_PO_TextureRGB = 0x0002, OpenGl_PO_PointSimple = 0x0004, OpenGl_PO_PointSprite = 0x0008,
  OpenGl_PO_PointSpriteA = OpenGl_PO_PointSimple|OpenGl_PO_PointSprite, OpenGl_PO_TextureEnv = 0x0010, OpenGl_PO_StippleLine = 0x0020, OpenGl_PO_ClipPlanes1 = 0x0040,
  OpenGl_PO_ClipPlanes2 = 0x0080, OpenGl_PO_ClipPlanesN = OpenGl_PO_ClipPlanes1|OpenGl_PO_ClipPlanes2, OpenGl_PO_ClipChains = 0x0100, OpenGl_PO_MeshEdges = 0x0200,
  OpenGl_PO_AlphaTest = 0x0400, OpenGl_PO_WriteOit = 0x0800, OpenGl_PO_NB = 0x1000, OpenGl_PO_IsPoint = OpenGl_PO_PointSimple|OpenGl_PO_PointSprite|OpenGl_PO_PointSpriteA,
  OpenGl_PO_HasTextures = OpenGl_PO_TextureRGB, OpenGl_PO_NeedsGeomShader = OpenGl_PO_MeshEdges
}
 Standard GLSL program combination bits. More...
 

Typedef Documentation

◆ OpenGl_MapOfShaderPrograms

Enumeration Type Documentation

◆ OpenGl_ProgramOptions

Standard GLSL program combination bits.

Enumerator
OpenGl_PO_VertColor 

per-vertex color

OpenGl_PO_TextureRGB 

handle RGB texturing

OpenGl_PO_PointSimple 

point marker without sprite

OpenGl_PO_PointSprite 

point sprite with RGB image

OpenGl_PO_PointSpriteA 

point sprite with Alpha image

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_ClipChains 

handle chains of clipping planes

OpenGl_PO_MeshEdges 

draw mesh edges (wireframe)

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

OpenGl_PO_IsPoint 
OpenGl_PO_HasTextures 
OpenGl_PO_NeedsGeomShader