MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / GetPixelDataSize

Function GetPixelDataSize

include/Image.hpp:738–740  ·  view source on GitHub ↗

* Get pixel data size in bytes for certain format */

Source from the content-addressed store, hash-verified

736 * Get pixel data size in bytes for certain format
737 */
738 static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
739 return ::GetPixelDataSize(width, height, format);
740 }
741
742 /**
743 * Returns the pixel data size based on the current image.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected