RenderContextBase.EnableXORForTexture Method
Public Sub EnableXORForTexture( _
ByVal enable As Boolean, _
ByVal shaderParams As ShaderParameters _
)
This language is not supported or no code example is available.
Parameters
- enable
- bool
The enable status
- shaderParams
- ShaderParameters
The shader parameters to update the shader
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.