Process tracking for texture creation
Reported by lindsay.kay (at xeolabs) | May 29th, 2010 @ 08:40 AM | in V0.7.6
Create and destroy a SceneJS process to track each texture layer creation.
This will allow texture creation to be monitored via SceneJS events, IE.
var nProcesses = 0;
SceneJS.addListener("process-created", function() {
nProcesses++;
});
SceneJS.addListener("process-killed", function() {
nProcesses--;
});
This is handy for scene loading progress indicators, logging etc. in applications built on SceneJS.
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.
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.