formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Manager
Description
Checks whether a given renderer posseses a certain capability (attribute). The renderer is identified by its uuid. If FZRT_UUID_NULL is passed for the uuid, the current renderer is used. The type of capability is determined by the fz_rndr_attr_enum function argument. If the renderer has the given capability. *resp will be returned as TRUE, and as FALSE otherwise. This function allows a plugin, for example, to test whether the current rendering mode supports texture maps or handles panoramic images.
Plugin Prototype
fzrt_error_td fz_rndr_get_attr(
fzrt_int | windex, |
rndr_uuid, | |
rndr_attr, | |
resp ) |
Parameters
windex [Input]
project window index
rndr_uuid [Input]
the UUID of the renderer for which to get an attribute. Use FZRT_UUID_NULL for the current renderer.
rndr_attr [Input]
the type of capability, the renderer is checked for.
resp [Result]
TRUE, if the renderer has the capability it is tested for, FALSE otherwise.
Returns
Error codes.
Availability
6.0.0.5
Function Set
Defined in