MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / Resize

Method Resize

deps/LLGL/sources/Core/Image.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void Image::Resize(const Extent3D& extent)
95{
96 /* Allocate new image buffer or release it if the extent is zero */
97 extent_ = extent;
98 if (extent.width > 0 && extent.height > 0 && extent.depth > 0)
99 data_ = GenerateEmptyByteBuffer(GetDataSize(), false);
100 else
101 data_.reset();
102}
103
104void Image::Resize(const Extent3D& extent, const ColorRGBAd& fillColor)
105{

Callers 5

DirectFB_WM_ProcessEventFunction · 0.45
DirectFB_SetWindowSizeFunction · 0.45
DirectFB_MaximizeWindowFunction · 0.45
DirectFB_RestoreWindowFunction · 0.45
Test_ResizeFunction · 0.45

Calls 4

GetFormatFunction · 0.85
GetDataTypeFunction · 0.85
FillFunction · 0.85
resetMethod · 0.45

Tested by 1

Test_ResizeFunction · 0.36