Radeon ProRender


Queries details for a shape.

rpr_status rprShapeGetInfo( rpr_shape arg0,
  rpr_shape_info arg1,
  size_t arg2,
  void * arg3,
  size_t * arg4);


Parameter Description
shape The shape object to query.
shape_info The information to obtain.
size Size of the buffer pointed to by the data variable.
data A buffer into which the results of the query will be stored.
size_ret Returns the size in bytes of the data being queried.


Query operations usually include two steps:

  1. First, pass data as NULL along with a value for rpr_shape_info detailing the information you wish to obtain. This will return the storage requirements for your query data.
  2. Secondly, query with size_ret set to NULL to fill the data buffer with the query data.


Size in bytes of the data being queried.


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.


Possible error codes: