This renderer is helpfull to fill one of the render target with a geometry buffer.
Sets whether or not objects positions are enabled for the G buffer.
Sets wether or not objects velocities are enabled for the G buffer.
Gets wether or not G buffer are supported by the running hardware. This requires draw buffer supports
Gets the ratio used by the buffer during its creation. How big is the buffer related to the main canvas.
Set the render list (meshes to be rendered) used in the G buffer.
Sets the number of samples used to render the buffer (anti aliasing).
Gets the scene associated with the buffer.
Constant used to retrieve the position texture index in the G-Buffer textures array using getIndex(GeometryBufferRenderer.POSITION_TEXTURE_INDEX)
Constant used to retrieve the velocity texture index in the G-Buffer textures array using getIndex(GeometryBufferRenderer.VELOCITY_TEXTURE_INDEX)
Disposes the renderer and frees up associated resources.
Gets the current underlying G Buffer.
Returns the index of the given texture type in the G-Buffer textures array
The texture type constant. For example GeometryBufferRenderer.POSITION_TEXTURE_INDEX
the index of the given texture type in the G-Buffer textures array
Checks wether everything is ready to render a submesh to the G buffer.
the submesh to check readiness for
is the mesh drawn using instance or not
true if ready otherwise false
Generated using TypeDoc