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.
int32 AttachDepthBuffer( uint64 FrameBufferHandle, uint64 DepthBufferHandle, int32 Index )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint64 | FrameBufferHandle | The handle of the frame buffer to attach the depth buffer to. |
uint64 | DepthBufferHandle | The handle of the depth buffer to attach to the frame buffer. |
int32 | Index | Reserved. This value must be 0 at present. |
None published. Please look for an example in the Scenome Scripting Language code base.