MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onRender

Method onRender

Engine/source/gui/game/guiChunkedBitmapCtrl.cpp:167–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167void GuiChunkedBitmapCtrl::onRender(Point2I offset, const RectI &updateRect)
168{
169
170 if( mBitmap )
171 {
172 RectI boundsRect( offset, getExtent());
173 GFX->getDrawUtil()->drawBitmapStretch(mBitmap, boundsRect, GFXBitmapFlip_None, GFXTextureFilterLinear );
174 }
175
176 renderChildControls(offset, updateRect);
177}

Callers

nothing calls this directly

Calls 2

drawBitmapStretchMethod · 0.80
getDrawUtilMethod · 0.80

Tested by

no test coverage detected