SoShaderProgramSetTessellationControlShader Method (Int32, String, SoShaderObjectSourceTypes) |
Convenience method to create a tessellation control shader with the specified filename and add it at the specified position.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public virtual SoTessellationControlShader SetTessellationControlShader(
int pos,
string filenameOrSource,
SoShaderObjectSourceTypes sourceType
)
Public Overridable Function SetTessellationControlShader (
pos As Integer,
filenameOrSource As String,
sourceType As SoShaderObjectSourceTypes
) As SoTessellationControlShader
public:
virtual SoTessellationControlShader^ SetTessellationControlShader(
int pos,
String^ filenameOrSource,
SoShaderObjectSourceTypes sourceType
)
abstract SetTessellationControlShader :
pos : int *
filenameOrSource : string *
sourceType : SoShaderObjectSourceTypes -> SoTessellationControlShader
override SetTessellationControlShader :
pos : int *
filenameOrSource : string *
sourceType : SoShaderObjectSourceTypes -> SoTessellationControlShader
Parameters
- pos
- Type: SystemInt32
- filenameOrSource
- Type: SystemString
- sourceType
- Type: OIV.Inventor.NodesSoShaderObjectSourceTypes
Return Value
Type:
SoTessellationControlShaderRemarks Return value is the new tessellation control shader.
See Also