parin.bindings.rl.raylib

The rayib module provides access to the raylib.h functions.

fn AttachAudioMixedProcessor AttachAudioStreamProcessor BeginBlendMode BeginDrawing BeginMode2D BeginMode3D BeginScissorMode BeginShaderMode BeginTextureMode BeginVrStereoMode ChangeDirectory CheckCollisionBoxes CheckCollisionBoxSphere CheckCollisionCircleRec CheckCollisionCircles CheckCollisionLines CheckCollisionPointCircle CheckCollisionPointLine CheckCollisionPointPoly CheckCollisionPointRec CheckCollisionPointTriangle CheckCollisionRecs CheckCollisionSpheres ClearBackground ClearWindowState CloseAudioDevice CloseWindow CodepointToUTF8 ColorAlpha ColorAlphaBlend ColorBrightness ColorContrast ColorFromHSV ColorFromNormalized ColorNormalize ColorTint ColorToHSV ColorToInt CompressData DecodeDataBase64 DecompressData DetachAudioMixedProcessor DetachAudioStreamProcessor DirectoryExists DisableCursor DisableEventWaiting DrawBillboard DrawBillboardPro DrawBillboardRec DrawBoundingBox DrawCapsule DrawCapsuleWires DrawCircle DrawCircle3D DrawCircleGradient DrawCircleLines DrawCircleLinesV DrawCircleSector DrawCircleSectorLines DrawCircleV DrawCube DrawCubeV DrawCubeWires DrawCubeWiresV DrawCylinder DrawCylinderEx DrawCylinderWires DrawCylinderWiresEx DrawEllipse DrawEllipseLines DrawFPS DrawGrid DrawLine DrawLine3D DrawLineBezier DrawLineEx DrawLineStrip DrawLineV DrawMesh DrawMeshInstanced DrawModel DrawModelEx DrawModelWires DrawModelWiresEx DrawPixel DrawPixelV DrawPlane DrawPoint3D DrawPoly DrawPolyLines DrawPolyLinesEx DrawRay DrawRectangle DrawRectangleGradientEx DrawRectangleGradientH DrawRectangleGradientV DrawRectangleLines DrawRectangleLinesEx DrawRectanglePro DrawRectangleRec DrawRectangleRounded DrawRectangleRoundedLines DrawRectangleV DrawRing DrawRingLines DrawSphere DrawSphereEx DrawSphereWires DrawSplineBasis DrawSplineBezierCubic DrawSplineBezierQuadratic DrawSplineCatmullRom DrawSplineLinear DrawSplineSegmentBasis DrawSplineSegmentBezierCubic DrawSplineSegmentBezierQuadratic DrawSplineSegmentCatmullRom DrawSplineSegmentLinear DrawText DrawTextCodepoint DrawTextCodepoints DrawTextEx DrawTextPro DrawTexture DrawTextureEx DrawTextureNPatch DrawTexturePro DrawTextureRec DrawTextureV DrawTriangle DrawTriangle3D DrawTriangleFan DrawTriangleLines DrawTriangleStrip DrawTriangleStrip3D EnableCursor EnableEventWaiting EncodeDataBase64 EndBlendMode EndDrawing EndMode2D EndMode3D EndScissorMode EndShaderMode EndTextureMode EndVrStereoMode ExportAutomationEventList ExportDataAsCode ExportFontAsCode ExportImage ExportImageAsCode ExportImageToMemory ExportMesh ExportWave ExportWaveAsCode Fade FileExists GenImageCellular GenImageChecked GenImageColor GenImageFontAtlas GenImageGradientLinear GenImageGradientRadial GenImageGradientSquare GenImagePerlinNoise GenImageText GenImageWhiteNoise GenMeshCone GenMeshCube GenMeshCubicmap GenMeshCylinder GenMeshHeightmap GenMeshHemiSphere GenMeshKnot GenMeshPlane GenMeshPoly GenMeshSphere GenMeshTangents GenMeshTorus GenTextureMipmaps GetApplicationDirectory GetCameraMatrix GetCameraMatrix2D GetCharPressed GetClipboardText GetCodepoint GetCodepointCount GetCodepointNext GetCodepointPrevious GetCollisionRec GetColor GetCurrentMonitor GetDirectoryPath GetFileExtension GetFileLength GetFileName GetFileNameWithoutExt GetFontDefault GetFPS GetFrameTime GetGamepadAxisCount GetGamepadAxisMovement GetGamepadButtonPressed GetGamepadName GetGestureDetected GetGestureDragAngle GetGestureDragVector GetGestureHoldDuration GetGesturePinchAngle GetGesturePinchVector GetGlyphAtlasRec GetGlyphIndex GetGlyphInfo GetImageAlphaBorder GetImageColor GetKeyPressed GetMasterVolume GetMeshBoundingBox GetModelBoundingBox GetMonitorCount GetMonitorHeight GetMonitorName GetMonitorPhysicalHeight GetMonitorPhysicalWidth GetMonitorPosition GetMonitorRefreshRate GetMonitorWidth GetMouseDelta GetMousePosition GetMouseRay GetMouseWheelMove GetMouseWheelMoveV GetMouseX GetMouseY GetMusicTimeLength GetMusicTimePlayed GetPixelColor GetPixelDataSize GetPrevDirectoryPath GetRandomValue GetRayCollisionBox GetRayCollisionMesh GetRayCollisionQuad GetRayCollisionSphere GetRayCollisionTriangle GetRenderHeight GetRenderWidth GetScreenHeight GetScreenToWorld2D GetScreenWidth GetShaderLocation GetShaderLocationAttrib GetSplinePointBasis GetSplinePointBezierCubic GetSplinePointBezierQuad GetSplinePointCatmullRom GetSplinePointLinear GetTime GetTouchPointCount GetTouchPointId GetTouchPosition GetTouchX GetTouchY GetWindowHandle GetWindowPosition GetWindowScaleDPI GetWorkingDirectory GetWorldToScreen GetWorldToScreen2D GetWorldToScreenEx HideCursor ImageAlphaClear ImageAlphaCrop ImageAlphaMask ImageAlphaPremultiply ImageBlurGaussian ImageClearBackground ImageColorBrightness ImageColorContrast ImageColorGrayscale ImageColorInvert ImageColorReplace ImageColorTint ImageCopy ImageCrop ImageDither ImageDraw ImageDrawCircle ImageDrawCircleLines ImageDrawCircleLinesV ImageDrawCircleV ImageDrawLine ImageDrawLineV ImageDrawPixel ImageDrawPixelV ImageDrawRectangle ImageDrawRectangleLines ImageDrawRectangleRec ImageDrawRectangleV ImageDrawText ImageDrawTextEx ImageFlipHorizontal ImageFlipVertical ImageFormat ImageFromImage ImageMipmaps ImageResize ImageResizeCanvas ImageResizeNN ImageRotate ImageRotateCCW ImageRotateCW ImageText ImageTextEx ImageToPOT InitAudioDevice InitWindow IsAudioDeviceReady IsAudioStreamPlaying IsAudioStreamProcessed IsAudioStreamReady IsCursorHidden IsCursorOnScreen IsFileDropped IsFileExtension IsFontReady IsGamepadAvailable IsGamepadButtonDown IsGamepadButtonPressed IsGamepadButtonReleased IsGamepadButtonUp IsGestureDetected IsImageReady IsKeyDown IsKeyPressed IsKeyPressedRepeat IsKeyReleased IsKeyUp IsMaterialReady IsModelAnimationValid IsModelReady IsMouseButtonDown IsMouseButtonPressed IsMouseButtonReleased IsMouseButtonUp IsMusicReady IsMusicStreamPlaying IsPathFile IsRenderTextureReady IsShaderReady IsSoundPlaying IsSoundReady IsTextureReady IsWaveReady IsWindowFocused IsWindowFullscreen IsWindowHidden IsWindowMaximized IsWindowMinimized IsWindowReady IsWindowResized IsWindowState LoadAudioStream LoadAutomationEventList LoadCodepoints LoadDirectoryFiles LoadDirectoryFilesEx LoadDroppedFiles LoadFileData LoadFileText LoadFont LoadFontData LoadFontEx LoadFontFromImage LoadFontFromMemory LoadImage LoadImageAnim LoadImageColors LoadImageFromMemory LoadImageFromScreen LoadImageFromTexture LoadImagePalette LoadImageRaw LoadImageSvg LoadMaterialDefault LoadMaterials LoadModel LoadModelAnimations LoadModelFromMesh LoadMusicStream LoadMusicStreamFromMemory LoadRandomSequence LoadRenderTexture LoadShader LoadShaderFromMemory LoadSound LoadSoundAlias LoadSoundFromWave LoadTexture LoadTextureCubemap LoadTextureFromImage LoadUTF8 LoadVrStereoConfig LoadWave LoadWaveFromMemory LoadWaveSamples MaximizeWindow MeasureText MeasureTextEx MemAlloc MemFree MemRealloc MinimizeWindow OpenURL PauseAudioStream PauseMusicStream PauseSound PlayAudioStream PlayAutomationEvent PlayMusicStream PlaySound PollInputEvents RestoreWindow ResumeAudioStream ResumeMusicStream ResumeSound SaveFileData SaveFileText SeekMusicStream SetAudioStreamBufferSizeDefault SetAudioStreamCallback SetAudioStreamPan SetAudioStreamPitch SetAudioStreamVolume SetAutomationEventBaseFrame SetAutomationEventList SetClipboardText SetConfigFlags SetExitKey SetGamepadMappings SetGesturesEnabled SetLoadFileDataCallback SetLoadFileTextCallback SetMasterVolume SetMaterialTexture SetModelMeshMaterial SetMouseCursor SetMouseOffset SetMousePosition SetMouseScale SetMusicPan SetMusicPitch SetMusicVolume SetPixelColor SetRandomSeed SetSaveFileDataCallback SetSaveFileTextCallback SetShaderValue SetShaderValueMatrix SetShaderValueTexture SetShaderValueV SetShapesTexture SetSoundPan SetSoundPitch SetSoundVolume SetTargetFPS SetTextLineSpacing SetTextureFilter SetTextureWrap SetTraceLogLevel SetWindowFocused SetWindowIcon SetWindowIcons SetWindowMaxSize SetWindowMinSize SetWindowMonitor SetWindowOpacity SetWindowPosition SetWindowSize SetWindowState SetWindowTitle ShowCursor StartAutomationEventRecording StopAudioStream StopAutomationEventRecording StopMusicStream StopSound SwapScreenBuffer TakeScreenshot TextAppend TextCopy TextFindIndex TextFormat TextInsert TextIsEqual TextJoin TextLength TextReplace TextSplit TextSubtext TextToInteger TextToLower TextToPascal TextToUpper ToggleBorderlessWindowed ToggleFullscreen UnloadAudioStream UnloadAutomationEventList UnloadCodepoints UnloadDirectoryFiles UnloadDroppedFiles UnloadFileData UnloadFileText UnloadFont UnloadFontData UnloadImage UnloadImageColors UnloadImagePalette UnloadMaterial UnloadMesh UnloadModel UnloadModelAnimation UnloadModelAnimations UnloadMusicStream UnloadRandomSequence UnloadRenderTexture UnloadShader UnloadSound UnloadSoundAlias UnloadTexture UnloadUTF8 UnloadVrStereoConfig UnloadWave UnloadWaveSamples UpdateAudioStream UpdateCamera UpdateCameraPro UpdateMeshBuffer UpdateModelAnimation UpdateMusicStream UpdateSound UpdateTexture UpdateTextureRec UploadMesh validateRaylibBinding Vector2Add Vector2AddValue Vector2Divide Vector2Length Vector2LengthSqr Vector2Multiply Vector2Normalize Vector2One Vector2Scale Vector2Subtract Vector2SubtractValue Vector2Zero WaitTime WaveCopy WaveCrop WaveFormat WindowShouldClose

Types 68

Vector2, 2 components

Vector3, 3 components

Vector4, 4 components

Quaternion, 4 components (Vector4 alias)

structMatrix

Matrix, 4x4 components, column major, OpenGL style, right-handed

Fields
float m0
float m4
float m8
float m12
float m1
float m5
float m9
float m13
float m2
float m6
float m10
float m14
float m3
float m7
float m11
float m15

Color, 4 components, R8G8B8A8 (32bit)

Rectangle, 4 components

structImage

Image, pixel data stored in CPU memory (RAM)

Fields
void * data
int width
int height
int mipmaps
int format
structTexture

Texture, tex data stored in GPU memory (VRAM)

Fields
uint id
int width
int height
int mipmaps
int format

Texture2D, same as Texture

TextureCubemap, same as Texture

RenderTexture, fbo for texture rendering

Fields
uint id
Texture texture
Texture depth

RenderTexture2D, same as RenderTexture

NPatchInfo, n-patch layout info

Fields
Rectangle source
int left
int top
int right
int bottom
int layout
structGlyphInfo

GlyphInfo, font characters glyphs info

Fields
int value
int offsetX
int offsetY
int advanceX
Image image
structFont

Font, font texture and GlyphInfo array data

Fields
int baseSize
int glyphCount
int glyphPadding
Texture2D texture
Rectangle * recs
GlyphInfo * glyphs
structCamera3D

Camera, defines position/orientation in 3d space

Fields
Vector3 position
Vector3 target
float fovy
int projection

Camera type fallback, defaults to Camera3D

structCamera2D

Camera2D, defines position/orientation in 2d space

Fields
Vector2 offset
Vector2 target
float rotation
float zoom
structMesh

Mesh, vertex data and vao/vbo

Fields
int vertexCount
int triangleCount
float * vertices
float * texcoords
float * texcoords2
float * normals
float * tangents
ubyte * colors
ushort * indices
float * animVertices
float * animNormals
ubyte * boneIds
float * boneWeights
uint vaoId
uint * vboId
structShader

Shader

Fields
uint id
int * locs

MaterialMap

Fields
Texture2D texture
Color color
float value
structMaterial

Material, includes shader and maps

Fields
Shader shader
float[4] params
structTransform

Transform, vertex transformation data

Fields
Vector3 translation
Quaternion rotation
Vector3 scale
structBoneInfo

Bone, skeletal animation bone

Fields
char[32] name
int parent
structModel

Model, meshes, materials and animation data

Fields
Matrix transform
int meshCount
int materialCount
Mesh * meshes
Material * materials
int * meshMaterial
int boneCount
BoneInfo * bones
Transform * bindPose

ModelAnimation

Fields
int boneCount
int frameCount
BoneInfo * bones
Transform * * framePoses
char[32] name
structRay

Ray, ray for raycasting

Fields
Vector3 position
Vector3 direction

RayCollision, ray hit information

Fields
bool hit
float distance
Vector3 point
Vector3 normal

BoundingBox

Fields
structWave

Wave, audio wave data

Fields
uint frameCount
uint sampleRate
uint sampleSize
uint channels
void * data
structrAudioBuffer

Opaque structs declaration

structrAudioProcessor

Opaque structs declaration

AudioStream, custom audio stream

Fields
rAudioBuffer * buffer
rAudioProcessor * processor
uint sampleRate
uint sampleSize
uint channels
structSound

Sound

Fields
uint frameCount
structMusic

Music, audio stream, anything longer than ~10 seconds should be streamed

Fields
uint frameCount
bool looping
int ctxType
void * ctxData

VrDeviceInfo, Head-Mounted-Display device parameters

Fields
int hResolution
int vResolution
float hScreenSize
float vScreenSize
float vScreenCenter
float eyeToScreenDistance
float lensSeparationDistance
float interpupillaryDistance
float[4] lensDistortionValues
float[4] chromaAbCorrection

VrStereoConfig, VR stereo rendering configuration for simulator

Fields
Matrix[2] projection
Matrix[2] viewOffset
float[2] leftLensCenter
float[2] rightLensCenter
float[2] leftScreenCenter
float[2] rightScreenCenter
float[2] scale
float[2] scaleIn

File path list

Fields
uint capacity
uint count
char * * paths

Automation event

Fields
uint frame
uint type
int[4] params

Automation event list

Fields
uint capacity
uint count
aliasLoadFileDataCallback = ubyte * function (const(char) * fileName, int * dataSize)

N-patch layout

aliasSaveFileDataCallback = bool function (const(char) * fileName, void * data, int dataSize)
aliasLoadFileTextCallback = char * function (const(char) * fileName)
aliasSaveFileTextCallback = bool function (const(char) * fileName, char * text)
aliasAudioCallback = void function (void * bufferData, uint frames)
FLAG_VSYNC_HINT = 0x00000040
FLAG_FULLSCREEN_MODE = 0x00000002
FLAG_WINDOW_RESIZABLE = 0x00000004
FLAG_WINDOW_UNDECORATED = 0x00000008
FLAG_WINDOW_HIDDEN = 0x00000080
FLAG_WINDOW_MINIMIZED = 0x00000200
FLAG_WINDOW_MAXIMIZED = 0x00000400
FLAG_WINDOW_UNFOCUSED = 0x00000800
FLAG_WINDOW_TOPMOST = 0x00001000
FLAG_WINDOW_ALWAYS_RUN = 0x00000100
FLAG_WINDOW_TRANSPARENT = 0x00000010
FLAG_WINDOW_HIGHDPI = 0x00002000
FLAG_WINDOW_MOUSE_PASSTHROUGH = 0x00004000
FLAG_BORDERLESS_WINDOWED_MODE = 0x00008000
FLAG_MSAA_4X_HINT = 0x00000020
FLAG_INTERLACED_HINT = 0x00010000
LOG_ALL = 0
LOG_TRACE = 1
LOG_DEBUG = 2
LOG_INFO = 3
LOG_WARNING = 4
LOG_ERROR = 5
LOG_FATAL = 6
LOG_NONE = 7
KEY_NULL = 0
KEY_APOSTROPHE = 39
KEY_COMMA = 44
KEY_MINUS = 45
KEY_PERIOD = 46
KEY_SLASH = 47
KEY_ZERO = 48
KEY_ONE = 49
KEY_TWO = 50
KEY_THREE = 51
KEY_FOUR = 52
KEY_FIVE = 53
KEY_SIX = 54
KEY_SEVEN = 55
KEY_EIGHT = 56
KEY_NINE = 57
KEY_SEMICOLON = 59
KEY_EQUAL = 61
KEY_A = 65
KEY_B = 66
KEY_C = 67
KEY_D = 68
KEY_E = 69
KEY_F = 70
KEY_G = 71
KEY_H = 72
KEY_I = 73
KEY_J = 74
KEY_K = 75
KEY_L = 76
KEY_M = 77
KEY_N = 78
KEY_O = 79
KEY_P = 80
KEY_Q = 81
KEY_R = 82
KEY_S = 83
KEY_T = 84
KEY_U = 85
KEY_V = 86
KEY_W = 87
KEY_X = 88
KEY_Y = 89
KEY_Z = 90
KEY_LEFT_BRACKET = 91
KEY_BACKSLASH = 92
KEY_RIGHT_BRACKET = 93
KEY_GRAVE = 96
KEY_SPACE = 32
KEY_ESCAPE = 256
KEY_ENTER = 257
KEY_TAB = 258
KEY_BACKSPACE = 259
KEY_INSERT = 260
KEY_DELETE = 261
KEY_RIGHT = 262
KEY_LEFT = 263
KEY_DOWN = 264
KEY_UP = 265
KEY_PAGE_UP = 266
KEY_PAGE_DOWN = 267
KEY_HOME = 268
KEY_END = 269
KEY_CAPS_LOCK = 280
KEY_SCROLL_LOCK = 281
KEY_NUM_LOCK = 282
KEY_PRINT_SCREEN = 283
KEY_PAUSE = 284
KEY_F1 = 290
KEY_F2 = 291
KEY_F3 = 292
KEY_F4 = 293
KEY_F5 = 294
KEY_F6 = 295
KEY_F7 = 296
KEY_F8 = 297
KEY_F9 = 298
KEY_F10 = 299
KEY_F11 = 300
KEY_F12 = 301
KEY_LEFT_SHIFT = 340
KEY_LEFT_CONTROL = 341
KEY_LEFT_ALT = 342
KEY_LEFT_SUPER = 343
KEY_RIGHT_SHIFT = 344
KEY_RIGHT_CONTROL = 345
KEY_RIGHT_ALT = 346
KEY_RIGHT_SUPER = 347
KEY_KB_MENU = 348
KEY_KP_0 = 320
KEY_KP_1 = 321
KEY_KP_2 = 322
KEY_KP_3 = 323
KEY_KP_4 = 324
KEY_KP_5 = 325
KEY_KP_6 = 326
KEY_KP_7 = 327
KEY_KP_8 = 328
KEY_KP_9 = 329
KEY_KP_DECIMAL = 330
KEY_KP_DIVIDE = 331
KEY_KP_MULTIPLY = 332
KEY_KP_SUBTRACT = 333
KEY_KP_ADD = 334
KEY_KP_ENTER = 335
KEY_KP_EQUAL = 336
KEY_BACK = 4
KEY_MENU = 5
KEY_VOLUME_UP = 24
KEY_VOLUME_DOWN = 25
MOUSE_BUTTON_LEFT = 0
MOUSE_BUTTON_RIGHT = 1
MOUSE_BUTTON_MIDDLE = 2
MOUSE_BUTTON_SIDE = 3
MOUSE_BUTTON_EXTRA = 4
MOUSE_BUTTON_FORWARD = 5
MOUSE_BUTTON_BACK = 6
MOUSE_CURSOR_DEFAULT = 0
MOUSE_CURSOR_ARROW = 1
MOUSE_CURSOR_IBEAM = 2
MOUSE_CURSOR_CROSSHAIR = 3
MOUSE_CURSOR_POINTING_HAND = 4
MOUSE_CURSOR_RESIZE_EW = 5
MOUSE_CURSOR_RESIZE_NS = 6
MOUSE_CURSOR_RESIZE_NWSE = 7
MOUSE_CURSOR_RESIZE_NESW = 8
MOUSE_CURSOR_RESIZE_ALL = 9
MOUSE_CURSOR_NOT_ALLOWED = 10
GAMEPAD_BUTTON_UNKNOWN = 0
GAMEPAD_BUTTON_LEFT_FACE_UP = 1
GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
GAMEPAD_BUTTON_MIDDLE_LEFT = 13
GAMEPAD_BUTTON_MIDDLE = 14
GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
GAMEPAD_BUTTON_LEFT_THUMB = 16
GAMEPAD_BUTTON_RIGHT_THUMB = 17
GAMEPAD_AXIS_LEFT_X = 0
GAMEPAD_AXIS_LEFT_Y = 1
GAMEPAD_AXIS_RIGHT_X = 2
GAMEPAD_AXIS_RIGHT_Y = 3
GAMEPAD_AXIS_LEFT_TRIGGER = 4
GAMEPAD_AXIS_RIGHT_TRIGGER = 5
MATERIAL_MAP_ALBEDO = 0
MATERIAL_MAP_METALNESS = 1
MATERIAL_MAP_NORMAL = 2
MATERIAL_MAP_ROUGHNESS = 3
MATERIAL_MAP_OCCLUSION = 4
MATERIAL_MAP_EMISSION = 5
MATERIAL_MAP_HEIGHT = 6
MATERIAL_MAP_CUBEMAP = 7
MATERIAL_MAP_IRRADIANCE = 8
MATERIAL_MAP_PREFILTER = 9
MATERIAL_MAP_BRDF = 10
SHADER_LOC_VERTEX_POSITION = 0
SHADER_LOC_VERTEX_TEXCOORD01 = 1
SHADER_LOC_VERTEX_TEXCOORD02 = 2
SHADER_LOC_VERTEX_NORMAL = 3
SHADER_LOC_VERTEX_TANGENT = 4
SHADER_LOC_VERTEX_COLOR = 5
SHADER_LOC_MATRIX_MVP = 6
SHADER_LOC_MATRIX_VIEW = 7
SHADER_LOC_MATRIX_PROJECTION = 8
SHADER_LOC_MATRIX_MODEL = 9
SHADER_LOC_MATRIX_NORMAL = 10
SHADER_LOC_VECTOR_VIEW = 11
SHADER_LOC_COLOR_DIFFUSE = 12
SHADER_LOC_COLOR_SPECULAR = 13
SHADER_LOC_COLOR_AMBIENT = 14
SHADER_LOC_MAP_ALBEDO = 15
SHADER_LOC_MAP_METALNESS = 16
SHADER_LOC_MAP_NORMAL = 17
SHADER_LOC_MAP_ROUGHNESS = 18
SHADER_LOC_MAP_OCCLUSION = 19
SHADER_LOC_MAP_EMISSION = 20
SHADER_LOC_MAP_HEIGHT = 21
SHADER_LOC_MAP_CUBEMAP = 22
SHADER_LOC_MAP_IRRADIANCE = 23
SHADER_LOC_MAP_PREFILTER = 24
SHADER_LOC_MAP_BRDF = 25
SHADER_LOC_VERTEX_BONEIDS = 26
SHADER_LOC_VERTEX_BONEWEIGHTS = 27
SHADER_LOC_BONE_MATRICES = 28
SHADER_UNIFORM_FLOAT = 0
SHADER_UNIFORM_VEC2 = 1
SHADER_UNIFORM_VEC3 = 2
SHADER_UNIFORM_VEC4 = 3
SHADER_UNIFORM_INT = 4
SHADER_UNIFORM_IVEC2 = 5
SHADER_UNIFORM_IVEC3 = 6
SHADER_UNIFORM_IVEC4 = 7
SHADER_UNIFORM_SAMPLER2D = 8
SHADER_ATTRIB_FLOAT = 0
SHADER_ATTRIB_VEC2 = 1
SHADER_ATTRIB_VEC3 = 2
SHADER_ATTRIB_VEC4 = 3
PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
PIXELFORMAT_UNCOMPRESSED_R32 = 8
PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
PIXELFORMAT_UNCOMPRESSED_R16 = 11
PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12
PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13
PIXELFORMAT_COMPRESSED_DXT1_RGB = 14
PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15
PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16
PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17
PIXELFORMAT_COMPRESSED_ETC1_RGB = 18
PIXELFORMAT_COMPRESSED_ETC2_RGB = 19
PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20
PIXELFORMAT_COMPRESSED_PVRT_RGB = 21
PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24
TEXTURE_FILTER_POINT = 0
TEXTURE_FILTER_BILINEAR = 1
TEXTURE_FILTER_TRILINEAR = 2
TEXTURE_FILTER_ANISOTROPIC_4X = 3
TEXTURE_FILTER_ANISOTROPIC_8X = 4
TEXTURE_FILTER_ANISOTROPIC_16X = 5
TEXTURE_WRAP_REPEAT = 0
TEXTURE_WRAP_CLAMP = 1
TEXTURE_WRAP_MIRROR_REPEAT = 2
TEXTURE_WRAP_MIRROR_CLAMP = 3
CUBEMAP_LAYOUT_AUTO_DETECT = 0
CUBEMAP_LAYOUT_LINE_VERTICAL = 1
CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
FONT_DEFAULT = 0
FONT_BITMAP = 1
FONT_SDF = 2
BLEND_ALPHA = 0
BLEND_ADDITIVE = 1
BLEND_MULTIPLIED = 2
BLEND_ADD_COLORS = 3
BLEND_SUBTRACT_COLORS = 4
BLEND_ALPHA_PREMULTIPLY = 5
BLEND_CUSTOM = 6
BLEND_CUSTOM_SEPARATE = 7
GESTURE_NONE = 0
GESTURE_TAP = 1
GESTURE_DOUBLETAP = 2
GESTURE_HOLD = 4
GESTURE_DRAG = 8
GESTURE_SWIPE_RIGHT = 16
GESTURE_SWIPE_LEFT = 32
GESTURE_SWIPE_UP = 64
GESTURE_SWIPE_DOWN = 128
GESTURE_PINCH_IN = 256
GESTURE_PINCH_OUT = 512
CAMERA_CUSTOM = 0
CAMERA_FREE = 1
CAMERA_ORBITAL = 2
CAMERA_FIRST_PERSON = 3
CAMERA_THIRD_PERSON = 4
CAMERA_PERSPECTIVE = 0
CAMERA_ORTHOGRAPHIC = 1
NPATCH_NINE_PATCH = 0
NPATCH_THREE_PATCH_VERTICAL = 1
NPATCH_THREE_PATCH_HORIZONTAL = 2
enumColors
LIGHTGRAY = Color(200, 200, 200, 255)
GRAY = Color(130, 130, 130, 255)
DARKGRAY = Color(80, 80, 80, 255)
YELLOW = Color(253, 249, 0, 255)
GOLD = Color(255, 203, 0, 255)
ORANGE = Color(255, 161, 0, 255)
PINK = Color(255, 109, 194, 255)
RED = Color(230, 41, 55, 255)
MAROON = Color(190, 33, 55, 255)
GREEN = Color(0, 228, 48, 255)
LIME = Color(0, 158, 47, 255)
DARKGREEN = Color(0, 117, 44, 255)
SKYBLUE = Color(102, 191, 255, 255)
BLUE = Color(0, 121, 241, 255)
DARKBLUE = Color(0, 82, 172, 255)
PURPLE = Color(200, 122, 255, 255)
VIOLET = Color(135, 60, 190, 255)
DARKPURPLE = Color(112, 31, 126, 255)
BEIGE = Color(211, 176, 131, 255)
BROWN = Color(127, 106, 79, 255)
DARKBROWN = Color(76, 63, 47, 255)
WHITE = Color(255, 255, 255, 255)
BLACK = Color(0, 0, 0, 255)
BLANK = Color(0, 0, 0, 0)
MAGENTA = Color(255, 0, 255, 255)
RAYWHITE = Color(245, 245, 245, 255)

Functions 562

fnvoid validateRaylibBinding() nothrow @nogc
fnVector2 Vector2Zero() nothrow @nogc
fnVector2 Vector2One() nothrow @nogc
fnVector2 Vector2Add(Vector2 v1, Vector2 v2) nothrow @nogc
fnVector2 Vector2AddValue(Vector2 v, float add) nothrow @nogc
fnVector2 Vector2Subtract(Vector2 v1, Vector2 v2) nothrow @nogc
fnVector2 Vector2SubtractValue(Vector2 v, float sub) nothrow @nogc
fnfloat Vector2Length(Vector2 v) nothrow @nogc
fnfloat Vector2LengthSqr(Vector2 v) nothrow @nogc
fnVector2 Vector2Scale(Vector2 v, float scale) nothrow @nogc
fnVector2 Vector2Multiply(Vector2 v1, Vector2 v2) nothrow @nogc
fnVector2 Vector2Divide(Vector2 v1, Vector2 v2) nothrow @nogc
fnVector2 Vector2Normalize(Vector2 v) nothrow @nogc
fnvoid InitWindow(int width, int height, const(char) * title) nothrow @nogc extern(C)
fnvoid CloseWindow() nothrow @nogc extern(C)
fnbool WindowShouldClose() nothrow @nogc extern(C)
fnbool IsWindowReady() nothrow @nogc extern(C)
fnbool IsWindowFullscreen() nothrow @nogc extern(C)
fnbool IsWindowHidden() nothrow @nogc extern(C)
fnbool IsWindowMinimized() nothrow @nogc extern(C)
fnbool IsWindowMaximized() nothrow @nogc extern(C)
fnbool IsWindowFocused() nothrow @nogc extern(C)
fnbool IsWindowResized() nothrow @nogc extern(C)
fnbool IsWindowState(uint flag) nothrow @nogc extern(C)
fnvoid SetWindowState(uint flags) nothrow @nogc extern(C)
fnvoid ClearWindowState(uint flags) nothrow @nogc extern(C)
fnvoid ToggleFullscreen() nothrow @nogc extern(C)
fnvoid ToggleBorderlessWindowed() nothrow @nogc extern(C)
fnvoid MaximizeWindow() nothrow @nogc extern(C)
fnvoid MinimizeWindow() nothrow @nogc extern(C)
fnvoid RestoreWindow() nothrow @nogc extern(C)
fnvoid SetWindowIcon(Image image) nothrow @nogc extern(C)
fnvoid SetWindowIcons(Image * images, int count) nothrow @nogc extern(C)
fnvoid SetWindowTitle(const(char) * title) nothrow @nogc extern(C)
fnvoid SetWindowPosition(int x, int y) nothrow @nogc extern(C)
fnvoid SetWindowMonitor(int monitor) nothrow @nogc extern(C)
fnvoid SetWindowMinSize(int width, int height) nothrow @nogc extern(C)
fnvoid SetWindowMaxSize(int width, int height) nothrow @nogc extern(C)
fnvoid SetWindowSize(int width, int height) nothrow @nogc extern(C)
fnvoid SetWindowOpacity(float opacity) nothrow @nogc extern(C)
fnvoid SetWindowFocused() nothrow @nogc extern(C)
fnvoid * GetWindowHandle() nothrow @nogc extern(C)
fnint GetScreenWidth() nothrow @nogc extern(C)
fnint GetScreenHeight() nothrow @nogc extern(C)
fnint GetRenderWidth() nothrow @nogc extern(C)
fnint GetRenderHeight() nothrow @nogc extern(C)
fnint GetMonitorCount() nothrow @nogc extern(C)
fnint GetCurrentMonitor() nothrow @nogc extern(C)
fnVector2 GetMonitorPosition(int monitor) nothrow @nogc extern(C)
fnint GetMonitorWidth(int monitor) nothrow @nogc extern(C)
fnint GetMonitorHeight(int monitor) nothrow @nogc extern(C)
fnint GetMonitorPhysicalWidth(int monitor) nothrow @nogc extern(C)
fnint GetMonitorPhysicalHeight(int monitor) nothrow @nogc extern(C)
fnint GetMonitorRefreshRate(int monitor) nothrow @nogc extern(C)
fnVector2 GetWindowPosition() nothrow @nogc extern(C)
fnVector2 GetWindowScaleDPI() nothrow @nogc extern(C)
fnconst(char) * GetMonitorName(int monitor) nothrow @nogc extern(C)
fnvoid SetClipboardText(const(char) * text) nothrow @nogc extern(C)
fnconst(char) * GetClipboardText() nothrow @nogc extern(C)
fnvoid EnableEventWaiting() nothrow @nogc extern(C)
fnvoid DisableEventWaiting() nothrow @nogc extern(C)
fnvoid ShowCursor() nothrow @nogc extern(C)
fnvoid HideCursor() nothrow @nogc extern(C)
fnbool IsCursorHidden() nothrow @nogc extern(C)
fnvoid EnableCursor() nothrow @nogc extern(C)
fnvoid DisableCursor() nothrow @nogc extern(C)
fnbool IsCursorOnScreen() nothrow @nogc extern(C)
fnvoid ClearBackground(Color color) nothrow @nogc extern(C)
fnvoid BeginDrawing() nothrow @nogc extern(C)
fnvoid EndDrawing() nothrow @nogc extern(C)
fnvoid BeginMode2D(Camera2D camera) nothrow @nogc extern(C)
fnvoid EndMode2D() nothrow @nogc extern(C)
fnvoid BeginMode3D(Camera3D camera) nothrow @nogc extern(C)
fnvoid EndMode3D() nothrow @nogc extern(C)
fnvoid BeginTextureMode(RenderTexture2D target) nothrow @nogc extern(C)
fnvoid EndTextureMode() nothrow @nogc extern(C)
fnvoid BeginShaderMode(Shader shader) nothrow @nogc extern(C)
fnvoid EndShaderMode() nothrow @nogc extern(C)
fnvoid BeginBlendMode(int mode) nothrow @nogc extern(C)
fnvoid EndBlendMode() nothrow @nogc extern(C)
fnvoid BeginScissorMode(int x, int y, int width, int height) nothrow @nogc extern(C)
fnvoid EndScissorMode() nothrow @nogc extern(C)
fnvoid BeginVrStereoMode(VrStereoConfig config) nothrow @nogc extern(C)
fnvoid EndVrStereoMode() nothrow @nogc extern(C)
fnVrStereoConfig LoadVrStereoConfig(VrDeviceInfo device) nothrow @nogc extern(C)
fnvoid UnloadVrStereoConfig(VrStereoConfig config) nothrow @nogc extern(C)
fnShader LoadShader(const(char) * vsFileName, const(char) * fsFileName) nothrow @nogc extern(C)
fnShader LoadShaderFromMemory(const(char) * vsCode, const(char) * fsCode) nothrow @nogc extern(C)
fnbool IsShaderReady(Shader shader) nothrow @nogc extern(C)
fnint GetShaderLocation(Shader shader, const(char) * uniformName) nothrow @nogc extern(C)
fnint GetShaderLocationAttrib(Shader shader, const(char) * attribName) nothrow @nogc extern(C)
fnvoid SetShaderValue(Shader shader, int locIndex, const(void) * value, int uniformType) nothrow @nogc extern(C)
fnvoid SetShaderValueV(Shader shader, int locIndex, const(void) * value, int uniformType, int count) nothrow @nogc extern(C)
fnvoid SetShaderValueMatrix(Shader shader, int locIndex, Matrix mat) nothrow @nogc extern(C)
fnvoid SetShaderValueTexture(Shader shader, int locIndex, Texture2D texture) nothrow @nogc extern(C)
fnvoid UnloadShader(Shader shader) nothrow @nogc extern(C)
fnRay GetMouseRay(Vector2 mousePosition, Camera camera) nothrow @nogc extern(C)
fnMatrix GetCameraMatrix(Camera camera) nothrow @nogc extern(C)
fnMatrix GetCameraMatrix2D(Camera2D camera) nothrow @nogc extern(C)
fnVector2 GetWorldToScreen(Vector3 position, Camera camera) nothrow @nogc extern(C)
fnVector2 GetScreenToWorld2D(Vector2 position, Camera2D camera) nothrow @nogc extern(C)
fnVector2 GetWorldToScreenEx(Vector3 position, Camera camera, int width, int height) nothrow @nogc extern(C)
fnVector2 GetWorldToScreen2D(Vector2 position, Camera2D camera) nothrow @nogc extern(C)
fnvoid SetTargetFPS(int fps) nothrow @nogc extern(C)
fnfloat GetFrameTime() nothrow @nogc extern(C)
fndouble GetTime() nothrow @nogc extern(C)
fnint GetFPS() nothrow @nogc extern(C)
fnvoid SwapScreenBuffer() nothrow @nogc extern(C)
fnvoid PollInputEvents() nothrow @nogc extern(C)
fnvoid WaitTime(double seconds) nothrow @nogc extern(C)
fnvoid SetRandomSeed(uint seed) nothrow @nogc extern(C)
fnint GetRandomValue(int min, int max) nothrow @nogc extern(C)
fnint * LoadRandomSequence(uint count, int min, int max) nothrow @nogc extern(C)
fnvoid UnloadRandomSequence(int * sequence) nothrow @nogc extern(C)
fnvoid TakeScreenshot(const(char) * fileName) nothrow @nogc extern(C)
fnvoid SetConfigFlags(uint flags) nothrow @nogc extern(C)
fnvoid OpenURL(const(char) * url) nothrow @nogc extern(C)
fnvoid SetTraceLogLevel(int logLevel) nothrow @nogc extern(C)
fnvoid * MemAlloc(uint size) nothrow @nogc extern(C)
fnvoid * MemRealloc(void * ptr, uint size) nothrow @nogc extern(C)
fnvoid MemFree(void * ptr) nothrow @nogc extern(C)
fnvoid SetLoadFileDataCallback(LoadFileDataCallback callback) nothrow @nogc extern(C)
fnvoid SetSaveFileDataCallback(SaveFileDataCallback callback) nothrow @nogc extern(C)
fnvoid SetLoadFileTextCallback(LoadFileTextCallback callback) nothrow @nogc extern(C)
fnvoid SetSaveFileTextCallback(SaveFileTextCallback callback) nothrow @nogc extern(C)
fnubyte * LoadFileData(const(char) * fileName, int * dataSize) nothrow @nogc extern(C)
fnvoid UnloadFileData(ubyte * data) nothrow @nogc extern(C)
fnbool SaveFileData(const(char) * fileName, void * data, int dataSize) nothrow @nogc extern(C)
fnbool ExportDataAsCode(const(ubyte) * data, int dataSize, const(char) * fileName) nothrow @nogc extern(C)
fnchar * LoadFileText(const(char) * fileName) nothrow @nogc extern(C)
fnvoid UnloadFileText(char * text) nothrow @nogc extern(C)
fnbool SaveFileText(const(char) * fileName, char * text) nothrow @nogc extern(C)
fnbool FileExists(const(char) * fileName) nothrow @nogc extern(C)
fnbool DirectoryExists(const(char) * dirPath) nothrow @nogc extern(C)
fnbool IsFileExtension(const(char) * fileName, const(char) * ext) nothrow @nogc extern(C)
fnint GetFileLength(const(char) * fileName) nothrow @nogc extern(C)
fnconst(char) * GetFileExtension(const(char) * fileName) nothrow @nogc extern(C)
fnconst(char) * GetFileName(const(char) * filePath) nothrow @nogc extern(C)
fnconst(char) * GetFileNameWithoutExt(const(char) * filePath) nothrow @nogc extern(C)
fnconst(char) * GetDirectoryPath(const(char) * filePath) nothrow @nogc extern(C)
fnconst(char) * GetPrevDirectoryPath(const(char) * dirPath) nothrow @nogc extern(C)
fnconst(char) * GetWorkingDirectory() nothrow @nogc extern(C)
fnconst(char) * GetApplicationDirectory() nothrow @nogc extern(C)
fnbool ChangeDirectory(const(char) * dir) nothrow @nogc extern(C)
fnbool IsPathFile(const(char) * path) nothrow @nogc extern(C)
fnFilePathList LoadDirectoryFiles(const(char) * dirPath) nothrow @nogc extern(C)
fnFilePathList LoadDirectoryFilesEx(const(char) * basePath, const(char) * filter, bool scanSubdirs) nothrow @nogc extern(C)
fnvoid UnloadDirectoryFiles(FilePathList files) nothrow @nogc extern(C)
fnbool IsFileDropped() nothrow @nogc extern(C)
fnFilePathList LoadDroppedFiles() nothrow @nogc extern(C)
fnvoid UnloadDroppedFiles(FilePathList files) nothrow @nogc extern(C)
fnubyte * CompressData(const(ubyte) * data, int dataSize, int * compDataSize) nothrow @nogc extern(C)
fnubyte * DecompressData(const(ubyte) * compData, int compDataSize, int * dataSize) nothrow @nogc extern(C)
fnchar * EncodeDataBase64(const(ubyte) * data, int dataSize, int * outputSize) nothrow @nogc extern(C)
fnubyte * DecodeDataBase64(const(ubyte) * data, int * outputSize) nothrow @nogc extern(C)
fnAutomationEventList LoadAutomationEventList(const(char) * fileName) nothrow @nogc extern(C)
fnvoid UnloadAutomationEventList(AutomationEventList * list) nothrow @nogc extern(C)
fnbool ExportAutomationEventList(AutomationEventList list, const(char) * fileName) nothrow @nogc extern(C)
fnvoid SetAutomationEventList(AutomationEventList * list) nothrow @nogc extern(C)
fnvoid SetAutomationEventBaseFrame(int frame) nothrow @nogc extern(C)
fnvoid StartAutomationEventRecording() nothrow @nogc extern(C)
fnvoid StopAutomationEventRecording() nothrow @nogc extern(C)
fnvoid PlayAutomationEvent(AutomationEvent event) nothrow @nogc extern(C)
fnbool IsKeyPressed(int key) nothrow @nogc extern(C)
fnbool IsKeyPressedRepeat(int key) nothrow @nogc extern(C)
fnbool IsKeyDown(int key) nothrow @nogc extern(C)
fnbool IsKeyReleased(int key) nothrow @nogc extern(C)
fnbool IsKeyUp(int key) nothrow @nogc extern(C)
fnint GetKeyPressed() nothrow @nogc extern(C)
fnint GetCharPressed() nothrow @nogc extern(C)
fnvoid SetExitKey(int key) nothrow @nogc extern(C)
fnbool IsGamepadAvailable(int gamepad) nothrow @nogc extern(C)
fnconst(char) * GetGamepadName(int gamepad) nothrow @nogc extern(C)
fnbool IsGamepadButtonPressed(int gamepad, int button) nothrow @nogc extern(C)
fnbool IsGamepadButtonDown(int gamepad, int button) nothrow @nogc extern(C)
fnbool IsGamepadButtonReleased(int gamepad, int button) nothrow @nogc extern(C)
fnbool IsGamepadButtonUp(int gamepad, int button) nothrow @nogc extern(C)
fnint GetGamepadButtonPressed() nothrow @nogc extern(C)
fnint GetGamepadAxisCount(int gamepad) nothrow @nogc extern(C)
fnfloat GetGamepadAxisMovement(int gamepad, int axis) nothrow @nogc extern(C)
fnint SetGamepadMappings(const(char) * mappings) nothrow @nogc extern(C)
fnbool IsMouseButtonPressed(int button) nothrow @nogc extern(C)
fnbool IsMouseButtonDown(int button) nothrow @nogc extern(C)
fnbool IsMouseButtonReleased(int button) nothrow @nogc extern(C)
fnbool IsMouseButtonUp(int button) nothrow @nogc extern(C)
fnint GetMouseX() nothrow @nogc extern(C)
fnint GetMouseY() nothrow @nogc extern(C)
fnVector2 GetMousePosition() nothrow @nogc extern(C)
fnVector2 GetMouseDelta() nothrow @nogc extern(C)
fnvoid SetMousePosition(int x, int y) nothrow @nogc extern(C)
fnvoid SetMouseOffset(int offsetX, int offsetY) nothrow @nogc extern(C)
fnvoid SetMouseScale(float scaleX, float scaleY) nothrow @nogc extern(C)
fnfloat GetMouseWheelMove() nothrow @nogc extern(C)
fnVector2 GetMouseWheelMoveV() nothrow @nogc extern(C)
fnvoid SetMouseCursor(int cursor) nothrow @nogc extern(C)
fnint GetTouchX() nothrow @nogc extern(C)
fnint GetTouchY() nothrow @nogc extern(C)
fnVector2 GetTouchPosition(int index) nothrow @nogc extern(C)
fnint GetTouchPointId(int index) nothrow @nogc extern(C)
fnint GetTouchPointCount() nothrow @nogc extern(C)
fnvoid SetGesturesEnabled(uint flags) nothrow @nogc extern(C)
fnbool IsGestureDetected(uint gesture) nothrow @nogc extern(C)
fnint GetGestureDetected() nothrow @nogc extern(C)
fnfloat GetGestureHoldDuration() nothrow @nogc extern(C)
fnVector2 GetGestureDragVector() nothrow @nogc extern(C)
fnfloat GetGestureDragAngle() nothrow @nogc extern(C)
fnVector2 GetGesturePinchVector() nothrow @nogc extern(C)
fnfloat GetGesturePinchAngle() nothrow @nogc extern(C)
fnvoid UpdateCamera(Camera * camera, int mode) nothrow @nogc extern(C)
fnvoid UpdateCameraPro(Camera * camera, Vector3 movement, Vector3 rotation, float zoom) nothrow @nogc extern(C)
fnvoid SetShapesTexture(Texture2D texture, Rectangle source) nothrow @nogc extern(C)
fnvoid DrawPixel(int posX, int posY, Color color) nothrow @nogc extern(C)
fnvoid DrawPixelV(Vector2 position, Color color) nothrow @nogc extern(C)
fnvoid DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Color color) nothrow @nogc extern(C)
fnvoid DrawLineV(Vector2 startPos, Vector2 endPos, Color color) nothrow @nogc extern(C)
fnvoid DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawLineStrip(Vector2 * points, int pointCount, Color color) nothrow @nogc extern(C)
fnvoid DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawCircle(int centerX, int centerY, float radius, Color color) nothrow @nogc extern(C)
fnvoid DrawCircleSector(Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color) nothrow @nogc extern(C)
fnvoid DrawCircleSectorLines(Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color) nothrow @nogc extern(C)
fnvoid DrawCircleGradient(int centerX, int centerY, float radius, Color color1, Color color2) nothrow @nogc extern(C)
fnvoid DrawCircleV(Vector2 center, float radius, Color color) nothrow @nogc extern(C)
fnvoid DrawCircleLines(int centerX, int centerY, float radius, Color color) nothrow @nogc extern(C)
fnvoid DrawCircleLinesV(Vector2 center, float radius, Color color) nothrow @nogc extern(C)
fnvoid DrawEllipse(int centerX, int centerY, float radiusH, float radiusV, Color color) nothrow @nogc extern(C)
fnvoid DrawEllipseLines(int centerX, int centerY, float radiusH, float radiusV, Color color) nothrow @nogc extern(C)
fnvoid DrawRing(Vector2 center, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, Color color) nothrow @nogc extern(C)
fnvoid DrawRingLines(Vector2 center, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangle(int posX, int posY, int width, int height, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleV(Vector2 position, Vector2 size, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleRec(Rectangle rec, Color color) nothrow @nogc extern(C)
fnvoid DrawRectanglePro(Rectangle rec, Vector2 origin, float rotation, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleGradientV(int posX, int posY, int width, int height, Color color1, Color color2) nothrow @nogc extern(C)
fnvoid DrawRectangleGradientH(int posX, int posY, int width, int height, Color color1, Color color2) nothrow @nogc extern(C)
fnvoid DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4) nothrow @nogc extern(C)
fnvoid DrawRectangleLines(int posX, int posY, int width, int height, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleLinesEx(Rectangle rec, float lineThick, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color) nothrow @nogc extern(C)
fnvoid DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, float lineThick, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangle(Vector2 v1, Vector2 v2, Vector2 v3, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangleFan(Vector2 * points, int pointCount, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangleStrip(Vector2 * points, int pointCount, Color color) nothrow @nogc extern(C)
fnvoid DrawPoly(Vector2 center, int sides, float radius, float rotation, Color color) nothrow @nogc extern(C)
fnvoid DrawPolyLines(Vector2 center, int sides, float radius, float rotation, Color color) nothrow @nogc extern(C)
fnvoid DrawPolyLinesEx(Vector2 center, int sides, float radius, float rotation, float lineThick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineLinear(Vector2 * points, int pointCount, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineBasis(Vector2 * points, int pointCount, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineCatmullRom(Vector2 * points, int pointCount, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineBezierQuadratic(Vector2 * points, int pointCount, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineBezierCubic(Vector2 * points, int pointCount, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineSegmentLinear(Vector2 p1, Vector2 p2, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineSegmentBasis(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineSegmentCatmullRom(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineSegmentBezierQuadratic(Vector2 p1, Vector2 c2, Vector2 p3, float thick, Color color) nothrow @nogc extern(C)
fnvoid DrawSplineSegmentBezierCubic(Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float thick, Color color) nothrow @nogc extern(C)
fnVector2 GetSplinePointLinear(Vector2 startPos, Vector2 endPos, float t) nothrow @nogc extern(C)
fnVector2 GetSplinePointBasis(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) nothrow @nogc extern(C)
fnVector2 GetSplinePointCatmullRom(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) nothrow @nogc extern(C)
fnVector2 GetSplinePointBezierQuad(Vector2 p1, Vector2 c2, Vector2 p3, float t) nothrow @nogc extern(C)
fnVector2 GetSplinePointBezierCubic(Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float t) nothrow @nogc extern(C)
fnbool CheckCollisionRecs(Rectangle rec1, Rectangle rec2) nothrow @nogc extern(C)
fnbool CheckCollisionCircles(Vector2 center1, float radius1, Vector2 center2, float radius2) nothrow @nogc extern(C)
fnbool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec) nothrow @nogc extern(C)
fnbool CheckCollisionPointRec(Vector2 point, Rectangle rec) nothrow @nogc extern(C)
fnbool CheckCollisionPointCircle(Vector2 point, Vector2 center, float radius) nothrow @nogc extern(C)
fnbool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3) nothrow @nogc extern(C)
fnbool CheckCollisionPointPoly(Vector2 point, Vector2 * points, int pointCount) nothrow @nogc extern(C)
fnbool CheckCollisionLines(Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 * collisionPoint) nothrow @nogc extern(C)
fnbool CheckCollisionPointLine(Vector2 point, Vector2 p1, Vector2 p2, int threshold) nothrow @nogc extern(C)
fnRectangle GetCollisionRec(Rectangle rec1, Rectangle rec2) nothrow @nogc extern(C)
fnImage LoadImage(const(char) * fileName) nothrow @nogc extern(C)
fnImage LoadImageRaw(const(char) * fileName, int width, int height, int format, int headerSize) nothrow @nogc extern(C)
fnImage LoadImageSvg(const(char) * fileNameOrString, int width, int height) nothrow @nogc extern(C)
fnImage LoadImageAnim(const(char) * fileName, int * frames) nothrow @nogc extern(C)
fnImage LoadImageFromMemory(const(char) * fileType, const(ubyte) * fileData, int dataSize) nothrow @nogc extern(C)
fnImage LoadImageFromTexture(Texture2D texture) nothrow @nogc extern(C)
fnImage LoadImageFromScreen() nothrow @nogc extern(C)
fnbool IsImageReady(Image image) nothrow @nogc extern(C)
fnvoid UnloadImage(Image image) nothrow @nogc extern(C)
fnbool ExportImage(Image image, const(char) * fileName) nothrow @nogc extern(C)
fnubyte * ExportImageToMemory(Image image, const(char) * fileType, int * fileSize) nothrow @nogc extern(C)
fnbool ExportImageAsCode(Image image, const(char) * fileName) nothrow @nogc extern(C)
fnImage GenImageColor(int width, int height, Color color) nothrow @nogc extern(C)
fnImage GenImageGradientLinear(int width, int height, int direction, Color start, Color end) nothrow @nogc extern(C)
fnImage GenImageGradientRadial(int width, int height, float density, Color inner, Color outer) nothrow @nogc extern(C)
fnImage GenImageGradientSquare(int width, int height, float density, Color inner, Color outer) nothrow @nogc extern(C)
fnImage GenImageChecked(int width, int height, int checksX, int checksY, Color col1, Color col2) nothrow @nogc extern(C)
fnImage GenImageWhiteNoise(int width, int height, float factor) nothrow @nogc extern(C)
fnImage GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float scale) nothrow @nogc extern(C)
fnImage GenImageCellular(int width, int height, int tileSize) nothrow @nogc extern(C)
fnImage GenImageText(int width, int height, const(char) * text) nothrow @nogc extern(C)
fnImage ImageCopy(Image image) nothrow @nogc extern(C)
fnImage ImageFromImage(Image image, Rectangle rec) nothrow @nogc extern(C)
fnImage ImageText(const(char) * text, int fontSize, Color color) nothrow @nogc extern(C)
fnImage ImageTextEx(Font font, const(char) * text, float fontSize, float spacing, Color tint) nothrow @nogc extern(C)
fnvoid ImageFormat(Image * image, int newFormat) nothrow @nogc extern(C)
fnvoid ImageToPOT(Image * image, Color fill) nothrow @nogc extern(C)
fnvoid ImageCrop(Image * image, Rectangle crop) nothrow @nogc extern(C)
fnvoid ImageAlphaCrop(Image * image, float threshold) nothrow @nogc extern(C)
fnvoid ImageAlphaClear(Image * image, Color color, float threshold) nothrow @nogc extern(C)
fnvoid ImageAlphaMask(Image * image, Image alphaMask) nothrow @nogc extern(C)
fnvoid ImageAlphaPremultiply(Image * image) nothrow @nogc extern(C)
fnvoid ImageBlurGaussian(Image * image, int blurSize) nothrow @nogc extern(C)
fnvoid ImageResize(Image * image, int newWidth, int newHeight) nothrow @nogc extern(C)
fnvoid ImageResizeNN(Image * image, int newWidth, int newHeight) nothrow @nogc extern(C)
fnvoid ImageResizeCanvas(Image * image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill) nothrow @nogc extern(C)
fnvoid ImageMipmaps(Image * image) nothrow @nogc extern(C)
fnvoid ImageDither(Image * image, int rBpp, int gBpp, int bBpp, int aBpp) nothrow @nogc extern(C)
fnvoid ImageFlipVertical(Image * image) nothrow @nogc extern(C)
fnvoid ImageFlipHorizontal(Image * image) nothrow @nogc extern(C)
fnvoid ImageRotate(Image * image, int degrees) nothrow @nogc extern(C)
fnvoid ImageRotateCW(Image * image) nothrow @nogc extern(C)
fnvoid ImageRotateCCW(Image * image) nothrow @nogc extern(C)
fnvoid ImageColorTint(Image * image, Color color) nothrow @nogc extern(C)
fnvoid ImageColorInvert(Image * image) nothrow @nogc extern(C)
fnvoid ImageColorGrayscale(Image * image) nothrow @nogc extern(C)
fnvoid ImageColorContrast(Image * image, float contrast) nothrow @nogc extern(C)
fnvoid ImageColorBrightness(Image * image, int brightness) nothrow @nogc extern(C)
fnvoid ImageColorReplace(Image * image, Color color, Color replace) nothrow @nogc extern(C)
fnColor * LoadImageColors(Image image) nothrow @nogc extern(C)
fnColor * LoadImagePalette(Image image, int maxPaletteSize, int * colorCount) nothrow @nogc extern(C)
fnvoid UnloadImageColors(Color * colors) nothrow @nogc extern(C)
fnvoid UnloadImagePalette(Color * colors) nothrow @nogc extern(C)
fnRectangle GetImageAlphaBorder(Image image, float threshold) nothrow @nogc extern(C)
fnColor GetImageColor(Image image, int x, int y) nothrow @nogc extern(C)
fnvoid ImageClearBackground(Image * dst, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawPixel(Image * dst, int posX, int posY, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawPixelV(Image * dst, Vector2 position, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawLine(Image * dst, int startPosX, int startPosY, int endPosX, int endPosY, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawLineV(Image * dst, Vector2 start, Vector2 end, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawCircle(Image * dst, int centerX, int centerY, int radius, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawCircleV(Image * dst, Vector2 center, int radius, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawCircleLines(Image * dst, int centerX, int centerY, int radius, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawCircleLinesV(Image * dst, Vector2 center, int radius, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawRectangle(Image * dst, int posX, int posY, int width, int height, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawRectangleV(Image * dst, Vector2 position, Vector2 size, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawRectangleRec(Image * dst, Rectangle rec, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawRectangleLines(Image * dst, Rectangle rec, int thick, Color color) nothrow @nogc extern(C)
fnvoid ImageDraw(Image * dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint) nothrow @nogc extern(C)
fnvoid ImageDrawText(Image * dst, const(char) * text, int posX, int posY, int fontSize, Color color) nothrow @nogc extern(C)
fnvoid ImageDrawTextEx(Image * dst, Font font, const(char) * text, Vector2 position, float fontSize, float spacing, Color tint) nothrow @nogc extern(C)
fnTexture2D LoadTexture(const(char) * fileName) nothrow @nogc extern(C)
fnTexture2D LoadTextureFromImage(Image image) nothrow @nogc extern(C)
fnTextureCubemap LoadTextureCubemap(Image image, int layout) nothrow @nogc extern(C)
fnRenderTexture2D LoadRenderTexture(int width, int height) nothrow @nogc extern(C)
fnbool IsTextureReady(Texture2D texture) nothrow @nogc extern(C)
fnvoid UnloadTexture(Texture2D texture) nothrow @nogc extern(C)
fnbool IsRenderTextureReady(RenderTexture2D target) nothrow @nogc extern(C)
fnvoid UnloadRenderTexture(RenderTexture2D target) nothrow @nogc extern(C)
fnvoid UpdateTexture(Texture2D texture, const(void) * pixels) nothrow @nogc extern(C)
fnvoid UpdateTextureRec(Texture2D texture, Rectangle rec, const(void) * pixels) nothrow @nogc extern(C)
fnvoid GenTextureMipmaps(Texture2D * texture) nothrow @nogc extern(C)
fnvoid SetTextureFilter(Texture2D texture, int filter) nothrow @nogc extern(C)
fnvoid SetTextureWrap(Texture2D texture, int wrap) nothrow @nogc extern(C)
fnvoid DrawTexture(Texture2D texture, int posX, int posY, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextureV(Texture2D texture, Vector2 position, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextureEx(Texture2D texture, Vector2 position, float rotation, float scale, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextureRec(Texture2D texture, Rectangle source, Vector2 position, Color tint) nothrow @nogc extern(C)
fnvoid DrawTexturePro(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint) nothrow @nogc extern(C)
fnColor Fade(Color color, float alpha) nothrow @nogc extern(C)
fnint ColorToInt(Color color) nothrow @nogc extern(C)
fnVector4 ColorNormalize(Color color) nothrow @nogc extern(C)
fnColor ColorFromNormalized(Vector4 normalized) nothrow @nogc extern(C)
fnVector3 ColorToHSV(Color color) nothrow @nogc extern(C)
fnColor ColorFromHSV(float hue, float saturation, float value) nothrow @nogc extern(C)
fnColor ColorTint(Color color, Color tint) nothrow @nogc extern(C)
fnColor ColorBrightness(Color color, float factor) nothrow @nogc extern(C)
fnColor ColorContrast(Color color, float contrast) nothrow @nogc extern(C)
fnColor ColorAlpha(Color color, float alpha) nothrow @nogc extern(C)
fnColor ColorAlphaBlend(Color dst, Color src, Color tint) nothrow @nogc extern(C)
fnColor GetColor(uint hexValue) nothrow @nogc extern(C)
fnColor GetPixelColor(void * srcPtr, int format) nothrow @nogc extern(C)
fnvoid SetPixelColor(void * dstPtr, Color color, int format) nothrow @nogc extern(C)
fnint GetPixelDataSize(int width, int height, int format) nothrow @nogc extern(C)
fnFont GetFontDefault() nothrow @nogc extern(C)
fnFont LoadFont(const(char) * fileName) nothrow @nogc extern(C)
fnFont LoadFontEx(const(char) * fileName, int fontSize, int * codepoints, int codepointCount) nothrow @nogc extern(C)
fnFont LoadFontFromImage(Image image, Color key, int firstChar) nothrow @nogc extern(C)
fnFont LoadFontFromMemory(const(char) * fileType, const(ubyte) * fileData, int dataSize, int fontSize, int * codepoints, int codepointCount) nothrow @nogc extern(C)
fnbool IsFontReady(Font font) nothrow @nogc extern(C)
fnGlyphInfo * LoadFontData(const(ubyte) * fileData, int dataSize, int fontSize, int * codepoints, int codepointCount, int type) nothrow @nogc extern(C)
fnImage GenImageFontAtlas(const(GlyphInfo) * glyphs, Rectangle * * glyphRecs, int glyphCount, int fontSize, int padding, int packMethod) nothrow @nogc extern(C)
fnvoid UnloadFontData(GlyphInfo * glyphs, int glyphCount) nothrow @nogc extern(C)
fnvoid UnloadFont(Font font) nothrow @nogc extern(C)
fnbool ExportFontAsCode(Font font, const(char) * fileName) nothrow @nogc extern(C)
fnvoid DrawFPS(int posX, int posY) nothrow @nogc extern(C)
fnvoid DrawText(const(char) * text, int posX, int posY, int fontSize, Color color) nothrow @nogc extern(C)
fnvoid DrawTextEx(Font font, const(char) * text, Vector2 position, float fontSize, float spacing, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextPro(Font font, const(char) * text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint) nothrow @nogc extern(C)
fnvoid DrawTextCodepoints(Font font, const(int) * codepoints, int codepointCount, Vector2 position, float fontSize, float spacing, Color tint) nothrow @nogc extern(C)
fnvoid SetTextLineSpacing(int spacing) nothrow @nogc extern(C)
fnint MeasureText(const(char) * text, int fontSize) nothrow @nogc extern(C)
fnVector2 MeasureTextEx(Font font, const(char) * text, float fontSize, float spacing) nothrow @nogc extern(C)
fnint GetGlyphIndex(Font font, int codepoint) nothrow @nogc extern(C)
fnGlyphInfo GetGlyphInfo(Font font, int codepoint) nothrow @nogc extern(C)
fnRectangle GetGlyphAtlasRec(Font font, int codepoint) nothrow @nogc extern(C)
fnchar * LoadUTF8(const(int) * codepoints, int length) nothrow @nogc extern(C)
fnvoid UnloadUTF8(char * text) nothrow @nogc extern(C)
fnint * LoadCodepoints(const(char) * text, int * count) nothrow @nogc extern(C)
fnvoid UnloadCodepoints(int * codepoints) nothrow @nogc extern(C)
fnint GetCodepointCount(const(char) * text) nothrow @nogc extern(C)
fnint GetCodepoint(const(char) * text, int * codepointSize) nothrow @nogc extern(C)
fnint GetCodepointNext(const(char) * text, int * codepointSize) nothrow @nogc extern(C)
fnint GetCodepointPrevious(const(char) * text, int * codepointSize) nothrow @nogc extern(C)
fnconst(char) * CodepointToUTF8(int codepoint, int * utf8Size) nothrow @nogc extern(C)
fnint TextCopy(char * dst, const(char) * src) nothrow @nogc extern(C)
fnbool TextIsEqual(const(char) * text1, const(char) * text2) nothrow @nogc extern(C)
fnuint TextLength(const(char) * text) nothrow @nogc extern(C)
fnconst(char) * TextSubtext(const(char) * text, int position, int length) nothrow @nogc extern(C)
fnchar * TextReplace(char * text, const(char) * replace, const(char) * by) nothrow @nogc extern(C)
fnchar * TextInsert(const(char) * text, const(char) * insert, int position) nothrow @nogc extern(C)
fnconst(char) * TextJoin(const(char *) * textList, int count, const(char) * delimiter) nothrow @nogc extern(C)
fnconst(char *) * TextSplit(const(char) * text, char delimiter, int * count) nothrow @nogc extern(C)
fnvoid TextAppend(char * text, const(char) * append, int * position) nothrow @nogc extern(C)
fnint TextFindIndex(const(char) * text, const(char) * find) nothrow @nogc extern(C)
fnconst(char) * TextToUpper(const(char) * text) nothrow @nogc extern(C)
fnconst(char) * TextToLower(const(char) * text) nothrow @nogc extern(C)
fnconst(char) * TextToPascal(const(char) * text) nothrow @nogc extern(C)
fnint TextToInteger(const(char) * text) nothrow @nogc extern(C)
fnvoid DrawLine3D(Vector3 startPos, Vector3 endPos, Color color) nothrow @nogc extern(C)
fnvoid DrawPoint3D(Vector3 position, Color color) nothrow @nogc extern(C)
fnvoid DrawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, float rotationAngle, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangle3D(Vector3 v1, Vector3 v2, Vector3 v3, Color color) nothrow @nogc extern(C)
fnvoid DrawTriangleStrip3D(Vector3 * points, int pointCount, Color color) nothrow @nogc extern(C)
fnvoid DrawCube(Vector3 position, float width, float height, float length, Color color) nothrow @nogc extern(C)
fnvoid DrawCubeV(Vector3 position, Vector3 size, Color color) nothrow @nogc extern(C)
fnvoid DrawCubeWires(Vector3 position, float width, float height, float length, Color color) nothrow @nogc extern(C)
fnvoid DrawCubeWiresV(Vector3 position, Vector3 size, Color color) nothrow @nogc extern(C)
fnvoid DrawSphere(Vector3 centerPos, float radius, Color color) nothrow @nogc extern(C)
fnvoid DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color) nothrow @nogc extern(C)
fnvoid DrawSphereWires(Vector3 centerPos, float radius, int rings, int slices, Color color) nothrow @nogc extern(C)
fnvoid DrawCylinder(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) nothrow @nogc extern(C)
fnvoid DrawCylinderEx(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color) nothrow @nogc extern(C)
fnvoid DrawCylinderWires(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) nothrow @nogc extern(C)
fnvoid DrawCylinderWiresEx(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color) nothrow @nogc extern(C)
fnvoid DrawCapsule(Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color) nothrow @nogc extern(C)
fnvoid DrawCapsuleWires(Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color) nothrow @nogc extern(C)
fnvoid DrawPlane(Vector3 centerPos, Vector2 size, Color color) nothrow @nogc extern(C)
fnvoid DrawRay(Ray ray, Color color) nothrow @nogc extern(C)
fnvoid DrawGrid(int slices, float spacing) nothrow @nogc extern(C)
fnModel LoadModel(const(char) * fileName) nothrow @nogc extern(C)
fnModel LoadModelFromMesh(Mesh mesh) nothrow @nogc extern(C)
fnbool IsModelReady(Model model) nothrow @nogc extern(C)
fnvoid UnloadModel(Model model) nothrow @nogc extern(C)
fnBoundingBox GetModelBoundingBox(Model model) nothrow @nogc extern(C)
fnvoid DrawModel(Model model, Vector3 position, float scale, Color tint) nothrow @nogc extern(C)
fnvoid DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) nothrow @nogc extern(C)
fnvoid DrawModelWires(Model model, Vector3 position, float scale, Color tint) nothrow @nogc extern(C)
fnvoid DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) nothrow @nogc extern(C)
fnvoid DrawBoundingBox(BoundingBox box, Color color) nothrow @nogc extern(C)
fnvoid DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float size, Color tint) nothrow @nogc extern(C)
fnvoid DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint) nothrow @nogc extern(C)
fnvoid DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint) nothrow @nogc extern(C)
fnvoid UploadMesh(Mesh * mesh, bool dynamic) nothrow @nogc extern(C)
fnvoid UpdateMeshBuffer(Mesh mesh, int index, const(void) * data, int dataSize, int offset) nothrow @nogc extern(C)
fnvoid UnloadMesh(Mesh mesh) nothrow @nogc extern(C)
fnvoid DrawMesh(Mesh mesh, Material material, Matrix transform) nothrow @nogc extern(C)
fnvoid DrawMeshInstanced(Mesh mesh, Material material, const(Matrix) * transforms, int instances) nothrow @nogc extern(C)
fnbool ExportMesh(Mesh mesh, const(char) * fileName) nothrow @nogc extern(C)
fnBoundingBox GetMeshBoundingBox(Mesh mesh) nothrow @nogc extern(C)
fnvoid GenMeshTangents(Mesh * mesh) nothrow @nogc extern(C)
fnMesh GenMeshPoly(int sides, float radius) nothrow @nogc extern(C)
fnMesh GenMeshPlane(float width, float length, int resX, int resZ) nothrow @nogc extern(C)
fnMesh GenMeshCube(float width, float height, float length) nothrow @nogc extern(C)
fnMesh GenMeshSphere(float radius, int rings, int slices) nothrow @nogc extern(C)
fnMesh GenMeshHemiSphere(float radius, int rings, int slices) nothrow @nogc extern(C)
fnMesh GenMeshCylinder(float radius, float height, int slices) nothrow @nogc extern(C)
fnMesh GenMeshCone(float radius, float height, int slices) nothrow @nogc extern(C)
fnMesh GenMeshTorus(float radius, float size, int radSeg, int sides) nothrow @nogc extern(C)
fnMesh GenMeshKnot(float radius, float size, int radSeg, int sides) nothrow @nogc extern(C)
fnMesh GenMeshHeightmap(Image heightmap, Vector3 size) nothrow @nogc extern(C)
fnMesh GenMeshCubicmap(Image cubicmap, Vector3 cubeSize) nothrow @nogc extern(C)
fnMaterial * LoadMaterials(const(char) * fileName, int * materialCount) nothrow @nogc extern(C)
fnMaterial LoadMaterialDefault() nothrow @nogc extern(C)
fnbool IsMaterialReady(Material material) nothrow @nogc extern(C)
fnvoid UnloadMaterial(Material material) nothrow @nogc extern(C)
fnvoid SetMaterialTexture(Material * material, int mapType, Texture2D texture) nothrow @nogc extern(C)
fnvoid SetModelMeshMaterial(Model * model, int meshId, int materialId) nothrow @nogc extern(C)
fnModelAnimation * LoadModelAnimations(const(char) * fileName, int * animCount) nothrow @nogc extern(C)
fnvoid UpdateModelAnimation(Model model, ModelAnimation anim, int frame) nothrow @nogc extern(C)
fnvoid UnloadModelAnimation(ModelAnimation anim) nothrow @nogc extern(C)
fnvoid UnloadModelAnimations(ModelAnimation * animations, int animCount) nothrow @nogc extern(C)
fnbool IsModelAnimationValid(Model model, ModelAnimation anim) nothrow @nogc extern(C)
fnbool CheckCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, float radius2) nothrow @nogc extern(C)
fnbool CheckCollisionBoxes(BoundingBox box1, BoundingBox box2) nothrow @nogc extern(C)
fnbool CheckCollisionBoxSphere(BoundingBox box, Vector3 center, float radius) nothrow @nogc extern(C)
fnRayCollision GetRayCollisionSphere(Ray ray, Vector3 center, float radius) nothrow @nogc extern(C)
fnRayCollision GetRayCollisionBox(Ray ray, BoundingBox box) nothrow @nogc extern(C)
fnRayCollision GetRayCollisionMesh(Ray ray, Mesh mesh, Matrix transform) nothrow @nogc extern(C)
fnRayCollision GetRayCollisionTriangle(Ray ray, Vector3 p1, Vector3 p2, Vector3 p3) nothrow @nogc extern(C)
fnRayCollision GetRayCollisionQuad(Ray ray, Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) nothrow @nogc extern(C)
fnvoid InitAudioDevice() nothrow @nogc extern(C)
fnvoid CloseAudioDevice() nothrow @nogc extern(C)
fnbool IsAudioDeviceReady() nothrow @nogc extern(C)
fnvoid SetMasterVolume(float volume) nothrow @nogc extern(C)
fnfloat GetMasterVolume() nothrow @nogc extern(C)
fnWave LoadWave(const(char) * fileName) nothrow @nogc extern(C)
fnWave LoadWaveFromMemory(const(char) * fileType, const(ubyte) * fileData, int dataSize) nothrow @nogc extern(C)
fnbool IsWaveReady(Wave wave) nothrow @nogc extern(C)
fnSound LoadSound(const(char) * fileName) nothrow @nogc extern(C)
fnSound LoadSoundFromWave(Wave wave) nothrow @nogc extern(C)
fnSound LoadSoundAlias(Sound source) nothrow @nogc extern(C)
fnbool IsSoundReady(Sound sound) nothrow @nogc extern(C)
fnvoid UpdateSound(Sound sound, const(void) * data, int sampleCount) nothrow @nogc extern(C)
fnvoid UnloadWave(Wave wave) nothrow @nogc extern(C)
fnvoid UnloadSound(Sound sound) nothrow @nogc extern(C)
fnvoid UnloadSoundAlias(Sound alias_) nothrow @nogc extern(C)
fnbool ExportWave(Wave wave, const(char) * fileName) nothrow @nogc extern(C)
fnbool ExportWaveAsCode(Wave wave, const(char) * fileName) nothrow @nogc extern(C)
fnvoid PlaySound(Sound sound) nothrow @nogc extern(C)
fnvoid StopSound(Sound sound) nothrow @nogc extern(C)
fnvoid PauseSound(Sound sound) nothrow @nogc extern(C)
fnvoid ResumeSound(Sound sound) nothrow @nogc extern(C)
fnbool IsSoundPlaying(Sound sound) nothrow @nogc extern(C)
fnvoid SetSoundVolume(Sound sound, float volume) nothrow @nogc extern(C)
fnvoid SetSoundPitch(Sound sound, float pitch) nothrow @nogc extern(C)
fnvoid SetSoundPan(Sound sound, float pan) nothrow @nogc extern(C)
fnWave WaveCopy(Wave wave) nothrow @nogc extern(C)
fnvoid WaveCrop(Wave * wave, int initSample, int finalSample) nothrow @nogc extern(C)
fnvoid WaveFormat(Wave * wave, int sampleRate, int sampleSize, int channels) nothrow @nogc extern(C)
fnfloat * LoadWaveSamples(Wave wave) nothrow @nogc extern(C)
fnvoid UnloadWaveSamples(float * samples) nothrow @nogc extern(C)
fnMusic LoadMusicStream(const(char) * fileName) nothrow @nogc extern(C)
fnMusic LoadMusicStreamFromMemory(const(char) * fileType, const(ubyte) * data, int dataSize) nothrow @nogc extern(C)
fnbool IsMusicReady(Music music) nothrow @nogc extern(C)
fnvoid UnloadMusicStream(Music music) nothrow @nogc extern(C)
fnvoid PlayMusicStream(Music music) nothrow @nogc extern(C)
fnbool IsMusicStreamPlaying(Music music) nothrow @nogc extern(C)
fnvoid UpdateMusicStream(Music music) nothrow @nogc extern(C)
fnvoid StopMusicStream(Music music) nothrow @nogc extern(C)
fnvoid PauseMusicStream(Music music) nothrow @nogc extern(C)
fnvoid ResumeMusicStream(Music music) nothrow @nogc extern(C)
fnvoid SeekMusicStream(Music music, float position) nothrow @nogc extern(C)
fnvoid SetMusicVolume(Music music, float volume) nothrow @nogc extern(C)
fnvoid SetMusicPitch(Music music, float pitch) nothrow @nogc extern(C)
fnvoid SetMusicPan(Music music, float pan) nothrow @nogc extern(C)
fnfloat GetMusicTimeLength(Music music) nothrow @nogc extern(C)
fnfloat GetMusicTimePlayed(Music music) nothrow @nogc extern(C)
fnAudioStream LoadAudioStream(uint sampleRate, uint sampleSize, uint channels) nothrow @nogc extern(C)
fnbool IsAudioStreamReady(AudioStream stream) nothrow @nogc extern(C)
fnvoid UnloadAudioStream(AudioStream stream) nothrow @nogc extern(C)
fnvoid UpdateAudioStream(AudioStream stream, const(void) * data, int frameCount) nothrow @nogc extern(C)
fnbool IsAudioStreamProcessed(AudioStream stream) nothrow @nogc extern(C)
fnvoid PlayAudioStream(AudioStream stream) nothrow @nogc extern(C)
fnvoid PauseAudioStream(AudioStream stream) nothrow @nogc extern(C)
fnvoid ResumeAudioStream(AudioStream stream) nothrow @nogc extern(C)
fnbool IsAudioStreamPlaying(AudioStream stream) nothrow @nogc extern(C)
fnvoid StopAudioStream(AudioStream stream) nothrow @nogc extern(C)
fnvoid SetAudioStreamVolume(AudioStream stream, float volume) nothrow @nogc extern(C)
fnvoid SetAudioStreamPitch(AudioStream stream, float pitch) nothrow @nogc extern(C)
fnvoid SetAudioStreamPan(AudioStream stream, float pan) nothrow @nogc extern(C)
fnvoid SetAudioStreamBufferSizeDefault(int size) nothrow @nogc extern(C)
fnvoid SetAudioStreamCallback(AudioStream stream, AudioCallback callback) nothrow @nogc extern(C)
fnvoid AttachAudioStreamProcessor(AudioStream stream, AudioCallback processor) nothrow @nogc extern(C)
fnvoid DetachAudioStreamProcessor(AudioStream stream, AudioCallback processor) nothrow @nogc extern(C)
fnvoid AttachAudioMixedProcessor(AudioCallback processor) nothrow @nogc extern(C)
fnvoid DetachAudioMixedProcessor(AudioCallback processor) nothrow @nogc extern(C)
fnconst(char) * TextFormat(const(char) * text, ...) nothrow @nogc extern(C)

Variables 40

enumvarRAYLIB_VERSION_MAJOR = 5
enumvarRAYLIB_VERSION_MINOR = 0
enumvarRAYLIB_VERSION_PATCH = 0
enumvarRAYLIB_VERSION = "5.0"
enumvarPI = 3.14159265358979323846f
enumvarDEG2RAD = PI / 180.0f
enumvarRAD2DEG = 180.0f / PI
enumvarLIGHTGRAY = Color(200, 200, 200, 255)
enumvarGRAY = Color(130, 130, 130, 255)
enumvarDARKGRAY = Color(80, 80, 80, 255)
enumvarYELLOW = Color(253, 249, 0, 255)
enumvarGOLD = Color(255, 203, 0, 255)
enumvarORANGE = Color(255, 161, 0, 255)
enumvarPINK = Color(255, 109, 194, 255)
enumvarRED = Color(230, 41, 55, 255)
enumvarMAROON = Color(190, 33, 55, 255)
enumvarGREEN = Color(0, 228, 48, 255)
enumvarLIME = Color(0, 158, 47, 255)
enumvarDARKGREEN = Color(0, 117, 44, 255)
enumvarSKYBLUE = Color(102, 191, 255, 255)
enumvarBLUE = Color(0, 121, 241, 255)
enumvarDARKBLUE = Color(0, 82, 172, 255)
enumvarPURPLE = Color(200, 122, 255, 255)
enumvarVIOLET = Color(135, 60, 190, 255)
enumvarDARKPURPLE = Color(112, 31, 126, 255)
enumvarBEIGE = Color(211, 176, 131, 255)
enumvarBROWN = Color(127, 106, 79, 255)
enumvarDARKBROWN = Color(76, 63, 47, 255)
enumvarWHITE = Color(255, 255, 255, 255)
enumvarBLACK = Color(0, 0, 0, 255)
enumvarBLANK = Color(0, 0, 0, 0)
enumvarMAGENTA = Color(255, 0, 255, 255)
enumvarRAYWHITE = Color(245, 245, 245, 255)
enumvarMOUSE_LEFT_BUTTON = MOUSE_BUTTON_LEFT

Add backwards compatibility support for deprecated names

enumvarMOUSE_RIGHT_BUTTON = MOUSE_BUTTON_RIGHT

Add backwards compatibility support for deprecated names

enumvarMOUSE_MIDDLE_BUTTON = MOUSE_BUTTON_MIDDLE

Add backwards compatibility support for deprecated names

enumvarMATERIAL_MAP_DIFFUSE = MATERIAL_MAP_ALBEDO

Alias MATERIAL_MAP_METALNESS

enumvarMATERIAL_MAP_SPECULAR = MATERIAL_MAP_METALNESS

Alias MATERIAL_MAP_METALNESS.

enumvarSHADER_LOC_MAP_DIFFUSE = SHADER_LOC_MAP_ALBEDO

Alias SHADER_LOC_MAP_ALBEDO

enumvarSHADER_LOC_MAP_SPECULAR = SHADER_LOC_MAP_METALNESS

Alias SHADER_LOC_MAP_METALNESS