RenderParameters

RenderParameters class

Describe the parameters of the render target

Methods

constructor

NameDescription
constructor(doubleBuffering, colorBits, depthBits, stencilBits)Initialize an instance of PixelFormat

Result:


getDoubleBuffering

NameDescription
getDoubleBuffering()Gets or sets whether double buffer is used.

Result:


setDoubleBuffering

NameDescription
setDoubleBuffering(value)Gets or sets whether double buffer is used.

Result:


getColorBits

NameDescription
getColorBits()Gets or sets how many bits will be used by color buffer.

Result:


setColorBits

NameDescription
setColorBits(value)Gets or sets how many bits will be used by color buffer.

Result:


getDepthBits

NameDescription
getDepthBits()Gets or sets how many bits will be used by depth buffer.

Result:


setDepthBits

NameDescription
setDepthBits(value)Gets or sets how many bits will be used by depth buffer.

Result:


getStencilBits

NameDescription
getStencilBits()Gets or sets how many bits will be used in stencil buffer.

Result:


setStencilBits

NameDescription
setStencilBits(value)Gets or sets how many bits will be used in stencil buffer.

Result: