using System.Runtime.InteropServices;
namespace Raylib_cs
{
///
/// Texture2D type
///
/// NOTE: Data stored in GPU memory
///
[StructLayout(LayoutKind.Sequential)]
public struct Texture2D
{
///
/// OpenGL texture id
///
public uint id;
///
/// Texture base width
///
public int width;
///
/// Texture base height
///
public int height;
///
/// Mipmap levels, 1 by default
///
public int mipmaps;
///
/// Data format (PixelFormat type)
///
public PixelFormat format;
}
}