Menu - Top - Home - Donate to Me

H3DU.FrameBufferInfo

Back to documentation index.

H3DU.FrameBufferInfo(width, height)

Describes a frame buffer. In the HTML 3D Library, each frame buffer consists of a texture of a given size and a renderbuffer of the same size to use as the depth buffer.

Parameters

Methods

H3DU.FrameBufferInfo#getHeight()

Gets the height to use for the frame buffer.

Return Value

Return value. (Type: number)

H3DU.FrameBufferInfo#getWidth()

Gets the width to use for the frame buffer.

Return Value

Return value. (Type: number)

H3DU.FrameBufferInfo#resize(width, height)

Changes the width and height of this frame buffer information object.

Parameters

Return Value

This object. (Type: H3DU.FrameBufferInfo)

Back to documentation index.