rprHeteroVolumeSetTransform

Sets world transform for a heterogenous volume.

rpr_status rprHeteroVolumeSetTransform(

rpr_hetero_volume heteroVolume,

rpr_bool transpose,

rpr_float const * transform);

Parameters

Parameter

Description

heteroVolume

The heterogenous volume to set the transform for.

transpose

Determines whether the basis vectors are in columns (false) or in rows (true) of the matrix.

transform

An array of 16  rpr_float values (the major form of storing them is in rows).

Notes

Regular matrix transformation in 3D space. Transpose describes the layout of a matrix in memory: true if it is stored in rows, false false if it is stored in columns.

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.