OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Graphic3d_ShaderObject::ShaderVariable Struct Reference

    Structure defining shader uniform or in/out variable. More...

    #include <Graphic3d_ShaderObject.hxx>

    Public Member Functions

     ShaderVariable (const TCollection_AsciiString &theVarName, int theShaderStageBits)
     Create new shader variable.
     ShaderVariable ()
     Empty constructor.

    Data Fields

    TCollection_AsciiString Name
     variable name
    int Stages
     active stages as Graphic3d_TypeOfShaderObject bits; for in/out variables, intermediate stages will be automatically filled

    Detailed Description

    Structure defining shader uniform or in/out variable.

    Constructor & Destructor Documentation

    ◆ ShaderVariable() [1/2]

    Graphic3d_ShaderObject::ShaderVariable::ShaderVariable ( const TCollection_AsciiString & theVarName,
    int theShaderStageBits )
    inline

    Create new shader variable.

    ◆ ShaderVariable() [2/2]

    Graphic3d_ShaderObject::ShaderVariable::ShaderVariable ( )
    inline

    Empty constructor.

    Field Documentation

    ◆ Name

    TCollection_AsciiString Graphic3d_ShaderObject::ShaderVariable::Name

    variable name

    ◆ Stages

    int Graphic3d_ShaderObject::ShaderVariable::Stages

    active stages as Graphic3d_TypeOfShaderObject bits; for in/out variables, intermediate stages will be automatically filled


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