RenderContextBase.SetLinesShader Method

Sets the shader for the lines with or without thick lines capabilities, adjusting also the PolygonOffset.
Protected Overridable Function SetLinesShader( _ 
ByVal thick As Boolean, _ 
ByVal shader As shaderType, _ 
Optional ByVal shaderParams As ShaderParameters = null _ 
) As Boolean
This language is not supported or no code example is available.
protected virtual bool SetLinesShader( 
bool thick
shaderType shader
ShaderParameters shaderParams = null 
)
This language is not supported or no code example is available.

Parameters

thick
bool

<default>

shader
shaderType

<default>

shaderParams
ShaderParameters

<default>

Return Value

bool

True if the operation is successful, false otherwise

.NET Framework

Supported in: 4.8

In this article

Definition