KX_2DFilterOffScreen(EXP_Value)

base class — EXP_Value

class bge.types.KX_2DFilterFrameBuffer

2D filter custom off screen (framebuffer in 0.3.0).

width

The off screen width, always canvas width in 0.3.0 (read-only).

Type:

integer

height

The off screen height, always canvas height in 0.3.0 (read-only).

Type:

integer

colorBindCodes

The bind code of the color textures attached to the off screen (read-only).

Warning

If the off screen can be resized dynamically (width of height equal to -1), the bind codes may change.

Type:

list of 8 integers

depthBindCode

The bind code of the depth texture attached to the off screen (read-only).

Warning

If the off screen can be resized dynamically (width of height equal to -1), the bind code may change.

Type:

integer