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

Method Image

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

Source from the content-addressed store, hash-verified

18/* ----- Common ----- */
19
20Image::Image(const Extent3D& extent, const ImageFormat format, const DataType dataType) :
21 extent_ { extent },
22 format_ { format },
23 dataType_ { dataType },
24 data_ { GenerateEmptyByteBuffer(GetDataSize(), false) }
25{
26}
27
28Image::Image(const Extent3D& extent, const ImageFormat format, const DataType dataType, const ColorRGBAd& fillColor) :
29 extent_ { extent },

Callers

nothing calls this directly

Calls 5

copyFunction · 0.85
GetDataSizeMethod · 0.80
ResetAttributesMethod · 0.80
GetFormatMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected