Conversion Functions

Functions

static inline uint64_t lpLGToTrfFormat(int lg_type)

Convert LookingGlass texture types to Libtrf texture types.

Parameters:

lg_type – Looking Glass texture type

Returns:

Libtrf Texture type

static inline uint64_t lpTrftoLGFormat(int trf_type)

Convert Libtrf texture types to Looking Glass texture types.

Parameters:

trf_type – Libtrf texture types

Returns:

Looking Glass texture type