using System; using System.Runtime.InteropServices; namespace Raylib_cs { /// /// Image type, bpp always RGBA (32bit) ///
/// NOTE: Data stored in CPU memory (RAM) ///
[StructLayout(LayoutKind.Sequential)] public struct Image { /// /// Image raw data (void *) /// public IntPtr data; /// /// Image base width /// public int width; /// /// Image base height /// public int height; /// /// Mipmap levels, 1 by default /// public int mipmaps; /// /// Data format (PixelFormat type) /// public PixelFormat format; } }