mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
ovis: add getCompositorTexture for reading custom render targets
This commit is contained in:
@@ -161,6 +161,16 @@ public:
|
||||
*/
|
||||
CV_WRAP virtual void getScreenshot(OutputArray frame) = 0;
|
||||
|
||||
/**
|
||||
* read back the texture of an active compositor
|
||||
* @param compname name of the compositor
|
||||
* @param texname name of the texture inside the compositor
|
||||
* @param mrtIndex if texture is a MRT, specifies the attachment
|
||||
* @param out the texture contents
|
||||
*/
|
||||
CV_WRAP virtual void getCompositorTexture(const String& compname, const String& texname,
|
||||
OutputArray out, int mrtIndex = 0) = 0;
|
||||
|
||||
/**
|
||||
* get the depth for the current frame.
|
||||
*
|
||||
|
Reference in New Issue
Block a user