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: 2023.1.3.0 (2023.1.3)
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