SoVolumeShaderSetVertexShader Method (Int32, String, SoShaderObjectSourceTypes) |
Create a vertex shader with the given filename and add it at the given pos.
Namespace: OIV.VolumeViz.NodesAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic 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:
SoVertexShader
RemarksReturn value is the new vertex shader.
See Also