RenderContextBase.SetShaders Method

Sets the shaders dictionary.
Public Sub SetShaders( _ 
ByVal shaders As Dictionary(Of shaderType, IShaderTechnique), _ 
ByVal planarReflections As Boolean, _ 
Optional ByVal shaderParams As ShaderParameters = null _ 
)
This language is not supported or no code example is available.
public void SetShaders( 
Dictionary<shaderType, IShaderTechnique> shaders
bool planarReflections
ShaderParameters shaderParams = null 
)
This language is not supported or no code example is available.

Parameters

shaders
Dictionary<shaderType, IShaderTechnique>

The shaders dictionary

planarReflections
bool

If true, the shaders are for the planar reflections drawing

shaderParams
ShaderParameters

The shader parameters

.NET Framework

Supported in: 4.8

In this article

Definition