rprMaterialSystemGetSize

Returns the number of material nodes for a given material system.

rpr_status rprMaterialSystemGetSize(

rpr_context in_context,

rpr_uint * out_size);

Parameters

Parameter

Description

in_context

The context to return the material system size for.

out_size

The number of material nodes returned.

Output

The number of material nodes.

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