rprEnvironmentLightDetachPortal
Removes portal from environment light.
rpr_status rprEnvironmentLightDetachPortal( |
rpr_scene scene, |
rpr_light env_light, |
|
rpr_shape portal); |
Parameters
Parameter |
Description |
---|---|
scene |
The scene to remove portal from. |
env_light |
Environment light. |
portal |
Portal mesh that have been added to light. |
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_INVALID_PARAMETER