SoShaderProgramSetComputeShader Method (Int32, String) |
Calls SetComputeShader(pos, filenameOrSource, OIV.Inventor.Nodes.SoShaderObject.SourceTypes( .SoShaderObject.FILENAME )).
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public SoComputeShader SetComputeShader(
int pos,
string filenameOrSource
)
Public Function SetComputeShader (
pos As Integer,
filenameOrSource As String
) As SoComputeShader
public:
SoComputeShader^ SetComputeShader(
int pos,
String^ filenameOrSource
)
member SetComputeShader :
pos : int *
filenameOrSource : string -> SoComputeShader
Parameters
- pos
- Type: SystemInt32
- filenameOrSource
- Type: SystemString
Return Value
Type:
SoComputeShaderRemarks See Also