formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Manager

fz_rndr_get_disp_attr

Description

Checks whether a given renderer posseses a certain display capability, wuch as being able to draw the grid. 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_disp_attr_enum function argument. If the renderer has the given capability. *resp will be returned as TRUE, and as FALSE otherwise.

Plugin Prototype

fzrt_error_td fz_rndr_get_disp_attr(

fzrt_int

windex,

fzrt_UUID_td

rndr_uuid,

fz_rndr_disp_attr_enum

rndr_disp_attr,

fzrt_boolean *

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_disp_attr [Input]

the type of display 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

fz_rndr_mngr_fset


Defined in

fz_rndr_api.h