AttachColorBuffer Data Member Function

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

Prototype

int32 AttachColorBuffer( uint64 FrameBufferHandle, uint64 ColorBufferHandle, int32 Index )

Parameters

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