You.i Engine
YiGPUExportUtilities.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_GPU_EXPORT_UTILITIES_H_
3 #define _YI_GPU_EXPORT_UTILITIES_H_
4 
6 
7 class CYIBitmap;
8 
18 {
19 public:
27  static std::unique_ptr<CYIBitmap> ReadPixels(const CYIRenderTarget &rTarget, const CYIViewport &rViewport, bool readFromBackbuffer = true);
28 
32  static std::unique_ptr<CYIBitmap> ReadPixels(const CYIRenderTarget &rTarget);
33 
34 private:
36 };
37 
40 #endif // _YI_GPU_EXPORT_UTILITIES_H_
static std::unique_ptr< CYIBitmap > ReadPixels(const CYIRenderTarget &rTarget, const CYIViewport &rViewport, bool readFromBackbuffer=true)
The core bitmap container class used by You.i Engine.
Definition: YiBitmap.h:20
Definition: YiViewport.h:12
GPU utilities.
Definition: YiGPUExportUtilities.h:17
Defines a target for the rendering results to be sent to.
Definition: YiRenderTarget.h:51