rprShapeMarkStatic
Sets static flag on shape.
Setting such flag will result in marking object as static. Such objects can be processed more efficiently but with some restrictions:
Static object can’t change its properties.
Static object can’t change its transformation.
Note
Static flag can be set only before first call to rprContextRender. By default all objects created as dynamic.
rpr_status rprShapeMarkStatic( |
rpr_shape shape, |
rpr_bool in_is_static); |
Parameters
Parameter |
Description |
---|---|
shape |
The shape to set flag on. |
in_is_static |
Setting the value to true means no motion blur. |
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.