A RenderBuffer object is a 2D container of pixel data to be used as a target for rendering, mostly to store depth information.
A RenderBuffer object can be constructed with GraphicsDevice.createRenderBuffer.
Summary
Releases the RenderBuffer resources, the object will be invalid after the method is called.
Syntax
renderBuffer.destroy();
Summary
The unique identification number of the RenderBuffer object.
Syntax
var renderBufferId = renderBuffer.id;
Note
Read Only
Summary
Width of the render buffer in pixels.
Syntax
var renderBufferWidth = renderBuffer.width;
Note
Read Only
Summary
Height of the render buffer in pixels.
Syntax
var renderBufferHeight = renderBuffer.height;
Note
Read Only
Summary
Name of the format used to store the pixel data.
Syntax
var renderBufferFormat = renderBuffer.format;
Note
Read Only