41 void saveToFileWithResize(
const std::string_view filename,
const std::string_view mask_filename, SaveFileCallbackType callback =
nullptr);
42 void saveRegionToFile(
const std::string_view filename,
const fsRect& pCaptureRect,
const fsPoint& pOutputDimensions, SaveFileCallbackType callback =
nullptr);
45 static fsCAxmolRenderTexture*
create(
int w,
int h, ax::PixelFormat format, ax::PixelFormat depthStencilFormat,
bool sharedRenderTarget);
48 static fsCAxmolRenderTexture*
create(
int w,
int h, ax::backend::PixelFormat format, ax::backend::PixelFormat depthStencilFormat,
bool sharedRenderTarget);
58 void onSaveToFileWithResize(
const std::string_view filename,
const std::string_view mask_filename);
59 void onSaveRegionToFile(
const std::string_view filename,
const fsRect& pCaptureRect,
const fsPoint& pOutputDimensions);
61 void onPartialBegin();
Definition fsCAxmolRenderTexture.h:32
void saveToFileWithResize(const std::string_view filename, const std::string_view mask_filename, SaveFileCallbackType callback=nullptr)
Definition fsCAxmolRenderTexture.cpp:161
void partialEnd()
Definition fsCAxmolRenderTexture.cpp:115
bool saveToFileAsJPG(std::string_view filename)
Definition fsCAxmolRenderTexture.cpp:147
void partialBegin()
Definition fsCAxmolRenderTexture.cpp:19
void saveRegionToFile(const std::string_view filename, const fsRect &pCaptureRect, const fsPoint &pOutputDimensions, SaveFileCallbackType callback=nullptr)
Definition fsCAxmolRenderTexture.cpp:273
static fsCAxmolRenderTexture * create(int w, int h, ax::backend::PixelFormat format, ax::backend::PixelFormat depthStencilFormat, bool sharedRenderTarget)
Definition fsCAxmolRenderTexture.cpp:390