vpGetMaterial
get material properties
- Provided by: libvolpack1-dev (Version: 1.0b3-5)
- Source: volpack
- Report a bug
get material properties
#include <volpack.h>
vpResult
vpGetMaterial(vpc, material, property, surface_side, r_ptr, g_ptr, b_ptr)
vpGetMaterial is used to get the properties of a material type. The arguments are exactly analogous to vpSetMaterial except that the surface_side argument may not be VP_BOTH_SIDES, and the final three arguments are pointers to locations for storing the material properties.
The normal return value is VP_OK. The following error return values are possible: