rprMaterialSystemCreateNode
Creates a material node for a given material system.
rpr_status rprMaterialSystemCreateNode( |
rpr_material_system in_matsys, |
rpr_material_node_type in_type, |
|
rpr_material_node * out_node); |
Parameters
Parameter |
Description |
---|---|
in_matsys |
The material system to create a node for. |
in_type |
The type of node to create. One of material node types. |
out_node |
A pointer to the created node object. |
Output
A pointer to a node object.
Return
Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.
To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.
Errors
Possible error codes:
RPR_ERROR_OUT_OF_SYSTEM_MEMORY
RPR_ERROR_OUT_OF_VIDEO_MEMORY