Interface: RenderTargetOptions

RenderTargetOptions

Options for creating a render target.

Properties:
Name Type Description
antialias boolean

should this render target be antialiased?

colorTextures BindableTexture[] | number

an array of textures, or a number indicating how many color textures there should be

depth boolean

should this render target have a depth buffer?

depthStencilTexture BindableTexture | boolean

a depth stencil texture that the depth and stencil outputs will be written to

height number

the height of the RenderTarget

isRoot boolean

is this a root element, true if this is gl context owners render target

resolution number

the resolution of the RenderTarget

stencil boolean

should this render target have a stencil buffer?

width number

the width of the RenderTarget

Members

antialias boolean

should this render target be antialiased?

colorTextures BindableTexture[] | number

an array of textures, or a number indicating how many color textures there should be

depth boolean

should this render target have a depth buffer?

depthStencilTexture BindableTexture | boolean

a depth stencil texture that the depth and stencil outputs will be written to

height number

the height of the RenderTarget

isRoot boolean

is this a root element, true if this is gl context owners render target

resolution number

the resolution of the RenderTarget

stencil boolean

should this render target have a stencil buffer?

width number

the width of the RenderTarget