API Reference
This reference describes the O3D API, which is an open-source JavaScript API for creating interactive 3D graphics applications that run in a browser window. To get started with O3D, begin with the Developer's Guide chapters on the Programmable Graphics Pipeline and O3D Program Structure and explore the other documentation listed on the left side of this page.
Class Tree Summary
Functional Groupings of Classes
Class Tree Summary
Figure 1 shows the top-level classes in the O3D class hierarchy. Figure 2 shows the classes derived from the ParamObject class. Figure 3 shows the classes derived from the Param class.

Figure 1. O3D class tree (1 of 3). Click image for larger view.

Figure 2. Classes derived from ParamObject (2 of 3). Click image for larger view.

Figure 3. Classes derived from Param (3 of 3). Click image for larger view.
Functional Groupings of Classes
The following list groups O3D classes according to their typical use.
- Basic
- NamedObject
- Client
- ClientInfo
- TickEvent
- Transform Graph
- Vertices
- Buffer
- IndexBuffer
- SourceBuffer
- VertexSource
- Field
- FloatField
- UByteNField
- UInt32Field
- StreamBank
- Stream
- VertexBufferBase
- VertexBuffer
- Skin
- SkinEval
- Transform Graph
- Shaders
- Material
- Effect
- EffectParameterInfo
- EffectStreamInfo
- Meshes/Shapes/Polygons/Triangles
- Element
- Primitive
- RayIntersectionInfo
- Shape
- Render Graph
- RenderEvent
- State
- RenderDepthStencilSurface
- DrawContext
- DrawList
- DrawElement
- Render Nodes
- ClearBuffer
- DrawPass
- RenderNode
- RenderSurfaceSet
- StateSet
- TreeTraversal
- Viewport
- Textures
- Textures
- Bitmap
- Texture
- Texture2D
- TextureCUBE
- Sampler
- RenderSurfaceBase
- RenderSurface
- Canvas
- Canvas
- CanvasFontMetrics
- CanvasLinearGradient
- CanvasPaint
- CanvasShader
- Animation
- Curve
- CurveKey
- BezierCurveKey
- LinearCurveKey
- StepCurveKey
- Counter
- RenderFrameCounter
- SecondCounter
- TickCounter
- Function
- FunctionEval
- Params
- Param Operations
- Matrix4AxisRotation
- Matrix4Composition
- Matrix4Scale
- Matrix4Translation
- ParamOp16FloatsToMatrix4
- ParamOp2FloatsToFloat2
- ParamOp3FloatsToFloat3
- ParamOp4FloatsToFloat4
- TRSToMatrix4
- File I/O
- ArchiveRequest
- FileRequest
- RawData