Radeon ProRender


Queries information about a heterogenous volume.

rpr_status rprHeteroVolumeGetInfo( rpr_hetero_volume heteroVol,
  rpr_hetero_volume_parameter heteroVol_info,
  size_t size,
  void * data,
  size_t * size_ret);


Parameter Description
heteroVol The heterogenous volume to query.
heteroVol_info The type of info to query.
size The size of the buffer pointed by data.
data The buffer to store queried info.
size_ret Gives 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_hetero_volume_parameter 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 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: