5.6. Client Render Library

The client renderer library provides generic rendering functions for Teleport clients.

5.6.1. Classes

class NodeManager

Manages nodes for a specific server context.

Public Functions

bool ReparentNode(const teleport::core::UpdateNodeStructureCommand &updateNodeStructureCommand)

Returns true if successful, or false if not e.g. if either the node or the parent is not present.

const std::set<avs::uid> &GetRemovedNodeUids() const

Get the nodes that have been removed since the last update.

class GeometryCache : public teleport::client::GeometryCacheBackendInterface

A container for geometry sent from servers and cached locally. There is one instance of GeometryCache for each connected server, and a local GeometryCache for the client’s own objects. There is also one GeometryCache for each externally-provided sub-scene, for example a GLTF or GLB file. Each cache must have a unique identifier.

Public Functions

inline geometry_cache_uid GenerateUid()

Generate a new uid unique in this cache (not globally unique).

inline geometry_cache_uid GenerateUid(uint64_t from)

Generate a new uid unique in this cache and store a mapping from the given input number.

inline geometry_cache_uid GetCorrespondingUid(uint64_t from)

Get the locally unique id that the specified number maps to.

5.6.2. Structs