Return Type:
real
Creates a shader object and returns its ID.
Arguments:
1) real: objectID
2) string: pathShader
Sets the path to the HLSL source for the shader.
Arguments:
1) real: objectID
2) real: shaderObjectID
Starts applying the shader to a render object.
Does not work with text objects, but you can render one to a render target.
Arguments:
1) real: objectID
Terminates application of all shaders to the render object.
Arguments:
1) real: objectID
2) string: technique
Sets the technique that you want to run on the shader object.
Arguments:
1) real: objectID
2) string: parameterID
3) real: float4x
4) real: float4y
5) real: float4z
6) real: float4w
Sets a float4 parameter in the shader.
Arguments:
1) real: objectID
2) string: parameterID
3) real: floatValue
Sets a float parameter in the shader.
Arguments:
1) real: objectID
2) string: parameterID
3) real array: floatArray
Sets a float[] parameter in the shader.
Arguments:
1) real: objectID
2) string: parameterID
3) string: pathTexture
Sets a texture parameter using the path to the appropriate image in the shader.
You can call multiple textures.