Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / EnableXORForTexture Method
The enable status
The shader parameters to update the shader

In This Topic
    EnableXORForTexture Method
    In This Topic
    Enables or disables the XOR (inverted color) drawing mode for the texture.
    Syntax
    'Declaration
     
    Public Sub EnableXORForTexture( _
       ByVal enable As Boolean, _
       ByVal shaderParams As ShaderParameters _
    ) 
    public void EnableXORForTexture( 
       bool enable,
       ShaderParameters shaderParams
    )

    Parameters

    enable
    The enable status
    shaderParams
    The shader parameters to update the shader
    Remarks
    If enable is true, it sets a white color and blendStateType.XOR blend state, else it sets a blendStateType.NoBlend blend state. It also calls the EnableAlphaClip to discard the transparent texture fragments. Requires the shaderType.Texture2DNoLights shader.
    See Also