Skip to main content

Class: FrameBuffer

This page documents the methods and fields available in the FrameBuffer class.

Members

SignatureDescription
FrameBuffer(int, int, int)Creates a new instance of FrameBuffer.
FrameBuffer(int, int, int, int)Creates a new instance of FrameBuffer.
FrameBuffer(int, int, int, int, Texture)Creates a new instance of FrameBuffer.
bind()Performs the bind operation.
destroy()Performs the destroy operation.
getColorAttachment()Returns the current color attachment.
getColorAttachment(int)Returns the current color attachment.
getColorAttachmentArray()Returns the current color attachment array.
getColorAttachmentsCount()Returns the current color attachments count.
getColorTexture()Returns the current color texture.
getColorTexture(int)Returns the current color texture.
getColorTextureArray()Returns the current color texture array.
getDepthAttachment()Returns the current depth attachment.
getDepthTexture()Returns the current depth texture.
getHeight()Returns the current height.
getMaxHeight()Returns the current max height.
getMaxWidth()Returns the current max width.
getRenderPercentage()Returns the current render percentage.
getWidth()Returns the current width.
resize(int, int)Performs the resize operation using the provided parameters (width, height).
resize(int, int, int)Performs the resize operation using the provided parameters (width, height, renderPercentage).
setDepthAttachment(Texture)Sets or updates the depth attachment.
setDepthTexture(Texture)Sets or updates the depth texture.
setRenderPercentage(int)Sets or updates the render percentage.
unbind()Performs the unbind operation.
validate()Performs the validate operation.