Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / GLShader Class / Enable Method
The render context

In This Topic
    Enable Method (GLShader)
    In This Topic
    Enables the shader.
    Syntax
    'Declaration
     
    Public Overridable Function Enable( _
       ByVal renderContext As RenderContextBase _
    ) As Boolean
    public virtual bool Enable( 
       RenderContextBase renderContext
    )

    Parameters

    renderContext
    The render context

    Return Value

    True if the shader has been enabled, false if it was already enabled.
    See Also