formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis

# fz_objt_get_rndr_mesh_sizes

Description

Gets information about render mesh memory for
flags: bit 0 : indicates do quads, else do triangles (default). bit 1 : indicates no clipping planes, else apply active clipping planes (default).
flags was do_quads in versions prior to 8.5.4

Plugin Prototype

fzrt_error_td fz_objt_get_rndr_mesh_sizes(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | do_quads,
fzrt_int * | bytes_per_ref,
fzrt_unsigned_int * | ntrng,
fzrt_unsigned_int * | nquad,
fzrt_int * | nfact_color,
fzrt_unsigned_int * | ncord,
char * | has_txuv,
char * | has_colr,
char * | has_tmat )

Parameters

windex [Input]

project window index

obj [Input]

object

do_quads [Input]

do_quads (1) else triangles (0)

bytes_per_ref [Result, Optional]

number of bytes used in the triangle and quads data

ntrng [Result, Optional]

number of triangles in mesh

nquad [Result, Optional]

number of quads in mesh

nfact_color [Result, Optional]

number of facet color (multi color objects only)

ncord [Result, Optional]

number of coordinates (points) in mesh

has_txuv [Result, Optional]

mesh has textures uvs

has_colr [Result, Optional]

mesh has coordinate colors

has_tmat [Result, Optional]

mesh has transform matrix

Returns

Error codes

Availability

7.0.0.0

See Also

Function Set

fz_model_fset

Defined in

fz_objt_api.h