AttachDepthBuffer Data Member Function

Attaches a depth buffer to the specified frame buffer. The size of the depth buffer must match the size of the frame buffer or this function will fail.

Prototype

int32 AttachDepthBuffer( uint64 FrameBufferHandle, uint64 DepthBufferHandle, int32 Index )

Parameters

Parameter Type Parameter Name Documentation
uint64FrameBufferHandleThe handle of the frame buffer to attach the depth buffer to.
uint64DepthBufferHandleThe handle of the depth buffer to attach to the frame 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.