CreateDepthBuffer Data Member Function

Creates a depth buffer of the specified width and height. This depth buffer can then be attached to a frame buffer using the rendering device's AttachDepthBuffer function.

Prototype

int32 CreateDepthBuffer( int32 Width, int32 Height, int32 Index )

Parameters

Parameter Type Parameter Name Documentation
int32WidthThe desired width of the depth buffer.
int32HeightThe desired height of the depth buffer.
int32IndexReserved. This value must be 0 at present.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.