class

MGraphicsRenderTargetImage

Module
MiriGraphics
Header
#include "MiriGraphics/Widgets/MGraphicsRenderTargetImage.h"
Namespace
Miri

Public functions

ReturnsNameDescription
TSharedPtr<MGraphicsRenderTargetImage>Create
boolHasImage
EStretchGetStretch
MiriRectComputeImageRect
MiriVec2ComputeDesiredSize
int32_tOnPaint
boolCanRetainPaint
const char*GetTypeName

Function details

Create

C++
static TSharedPtr<MGraphicsRenderTargetImage> Create(const std::shared_ptr<CMiriLateTexture>& late, uint32_t width, uint32_t height, EStretch stretch, const MiriColor& tint, const MiriColor& placeholder)

HasImage

C++
bool HasImage() const

GetStretch

C++
EStretch GetStretch() const

ComputeImageRect

C++
MiriRect ComputeImageRect(const MiriRect& area) const

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

CanRetainPaint

C++
bool CanRetainPaint() const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from MiriGraphics/Widgets/MGraphicsRenderTargetImage.h via mirigraphics.json · Dec 5, 2026Version 1.1.0