SoVolumeShaderSetVertexShader Method (Int32, String, SoShaderObjectSourceTypes) |
Creates a vertex shader with the given filename and adds it at the given pos.
Namespace: OIV.VolumeViz.NodesAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public override SoVertexShader SetVertexShader(
int pos,
string filenameOrSource,
SoShaderObjectSourceTypes sourceType
)
Public Overrides Function SetVertexShader (
pos As Integer,
filenameOrSource As String,
sourceType As SoShaderObjectSourceTypes
) As SoVertexShader
public:
virtual SoVertexShader^ SetVertexShader(
int pos,
String^ filenameOrSource,
SoShaderObjectSourceTypes sourceType
) override
abstract SetVertexShader :
pos : int *
filenameOrSource : string *
sourceType : SoShaderObjectSourceTypes -> SoVertexShader
override SetVertexShader :
pos : int *
filenameOrSource : string *
sourceType : SoShaderObjectSourceTypes -> SoVertexShader
Parameters
- pos
- Type: SystemInt32
- filenameOrSource
- Type: SystemString
- sourceType
- Type: OIV.Inventor.NodesSoShaderObjectSourceTypes
Return Value
Type:
SoVertexShaderthe new vertex shader.
Remarks See Also