o3d.ClientInfo Class Reference
List of all members.
Detailed Description
The ClientInfo is used to get information about the client.
Public Properties
Member Property Documentation
| number ClientInfo.bufferMemoryUsed
|
The amount of texture memory used.
This property is read-only.
| boolean ClientInfo.nonPowerOfTwoTextures
|
Whether or not the GPU supports non power of two textures.
NOTE: O3D always allows non power of two textures.
The only reason to look at this flag is for things like video that are
updating the texture every frame. In that case, you might want to know
that you could run faster if you used a power of 2 texture instead of
a non power of 2 texture.
This property is read-only.
| number ClientInfo.numObjects
|
The number of objects the client is currently tracking.
You can use this to check that you are correctly freeing resources.
This property is read-only.
| boolean ClientInfo.softwareRenderer
|
Whether or not O3D is using the software renderer.
For testing purposes you can force O3D to use the software renderer
by setting the environment variable O3D_FORCE_SOFTWARE_RENDERER to
anything.
set O3D_FORCE_SOFTWARE_RENDERER=foo
or
export O3D_FORCE_SOFTWARE_RENDERER=foo
You can set it at a system level if you want to set it for all
browser instances or set it from a command line and start your
browser from that same command line if you want to effect just
that instance of the browser.
Note that many browers require special command line options to
run in a separate process, otherwise they default to finding
the browser process already running and using that. For example
firefox requires the option -no-remote.
This property is read-only.
| number ClientInfo.textureMemoryUsed
|
The amount of texture memory used.
This property is read-only.