3D Lingo Dictionary > E-K > getRendererServices() |  |

getRendererServices()

Syntax

    getRendererServices()
    getRendererServices().whichGetRendererServicesProperty

Description

3D command; returns the `rendererServices` object. This object contains hardware information and properties that affect all 3D sprites and cast members.

The `rendererServices` object has the following properties:

renderer indicates the software rasterizer used to render all 3D sprites.

rendererDeviceList returns a list of software rasterizers available on the user's system. Possible values include `#openGL`, `#directX5_2`, `#directX7_0`, and `#software`. The value of `renderer` must be one of these. This property can be tested but not set.

textureRenderFormat indicates the pixel format used by the renderer. Possible values include `#rgba8888`, `#rgba8880`, `#rgba5650`, `#rgba5550`, `#rgba5551`, and `#rgba4444`. The four digits in each symbol indicate how many bits are used for each red, green, blue, and alpha component.

`depthBufferDepth` indicates the bit depth of the hardware output buffer.

colorBufferDepth indicates the bit depth of the color buffer. This property can be tested but not set.

modifiers is a linear list of modifiers available for use by models in 3D cast members. Possible values include `#collision`, `#bonesPlayer`, `#keyframePlayer`, `#toon`, `#lod`, `#meshDeform`, `#sds`, `#inker`, and third-party Xtra-based modifiers. This property can be tested but not set.

primitives is a linear list of primitive types available for use in the creation of new model resources. Possible values include `#sphere`, `#box`, `#cylinder`, `#plane`, `#particle`, and third-party Xtra-based primitive types. This property can be tested but not set.

Note: For more detailed information about these properties, see the individual property entries.

See also

`renderer`, `preferred3DRenderer`, `active3dRenderer`, `rendererDeviceList`