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

Method GetDstDesc

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

Source from the content-addressed store, hash-verified

442}
443
444DstImageDescriptor Image::GetDstDesc()
445{
446 DstImageDescriptor imageDesc;
447 {
448 imageDesc.format = GetFormat();
449 imageDesc.dataType = GetDataType();
450 imageDesc.data = GetData();
451 imageDesc.dataSize = GetDataSize();
452 }
453 return imageDesc;
454}
455
456std::uint32_t Image::GetBytesPerPixel() const
457{

Callers 1

Test_PixelOperationsFunction · 0.80

Calls 3

GetFormatFunction · 0.85
GetDataTypeFunction · 0.85
GetDataFunction · 0.85

Tested by 1

Test_PixelOperationsFunction · 0.64