Open topic with navigation
<texture>.getPixelSize
Returns the pixel size of the texture image format
Remarks
The pixel size refers to the number of bytes per pixel. For example, RGB textures use 3 bytes per pixel, and RGBA textures use 4 bytes per pixel.
Return Value
Bytes per pixel