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

fz_rmtl_get_srep_index

Description

Given the uuid of a surface style representation, get its run time index. The run time index allows for faster access of the data of the surface style when using the api fz_rmtl_get_srep_data. Note, that this index is guaranteed to be valid only for a single run time session of formZ. That is, this index should not be saved to a file and used in a subsequent session.

Plugin Prototype

fzrt_error_td fz_rmtl_get_srep_index(

fzrt_UUID_td

srep_uuid,

fzrt_int *

srep_indx )

Parameters

srep_uuid [Input]

the uuid of the surface style representation.

srep_indx [Result]

the run time index of the surface style representation.

Returns

Error codes

Availability

6.0.0.2

See Also

Function Set

fz_rmtl_fset


Defined in

fz_rmtl_api.h