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: 2024.2.2.0 (10.16.2.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