Home -> IFrameBuffer -> AddOutputCaptureTarget
Description
The AddOutputCaptureTarget method adds the specified output capture target to this framebuffer. This allows the results of rendering to a framebuffer to be retrieved by the application.
Usage
void AddOutputCaptureTarget(IFrameBufferOutput* captureTarget, AttachmentType type, size_t index = 0);
Argument list
- captureTarget [IFrameBufferOutput*]
- The output capture target to attach to this framebuffer.
- type [AttachmentType]
- The framebuffer attachment type to capture.
- index [size_t]
- The attachment index within the specified attachment type.