#144 ✓resolved
lindsay.kay (at xeolabs)

Unique IDs for Nodes

Reported by lindsay.kay (at xeolabs) | August 7th, 2010 @ 10:30 AM | in V0.7.7

Provide a Node#getID method, plus SceneJS#getNode method to find them individually. Node IDs will be auto-generated.

Initially, we'll just generate the node IDs from an integer sequence, then store those on a global map (ie. on SceneJS object), with no removal of IDs when nodes are no longer in use.

However long term we'll want to manage garbage collection of nodes, along with GPU resource releasing and their deregistration from the ID map to allow reuse of the IDs.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.

Shared Ticket Bins

People watching this ticket

Pages