Loading...
Searching...
No Matches
cv::v4d::detail::FrameBufferContext::FrameBufferScope Class Reference

#include <opencv2/v4d/detail/framebuffercontext.hpp>

Public Member Functions

 FrameBufferScope (cv::Ptr< FrameBufferContext > ctx, cv::UMat &m)
 
virtual ~FrameBufferScope ()
 

Detailed Description

Acquires and releases the framebuffer from and to OpenGL.

Constructor & Destructor Documentation

◆ FrameBufferScope()

cv::v4d::detail::FrameBufferContext::FrameBufferScope::FrameBufferScope ( cv::Ptr< FrameBufferContext ctx,
cv::UMat m 
)
inline

Aquires the framebuffer via cl-gl sharing.

Parameters
ctxThe corresponding FrameBufferContext.
mThe UMat to bind the OpenGL framebuffer to.

◆ ~FrameBufferScope()

virtual cv::v4d::detail::FrameBufferContext::FrameBufferScope::~FrameBufferScope ( )
inlinevirtual

Releases the framebuffer via cl-gl sharing.


The documentation for this class was generated from the following file: