KX_2DFilterOffScreen(CValue)

base class — CValue

class bge.types.KX_2DFilterOffScreen(CValue)

2D filter custom off screen.

width

The off screen width, -1 if the off screen can be resized dynamically (read-only).

Type

integer

height

The off screen height, -1 if the off screen can be resized dynamically (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