+
+func InitWindow(width: int32; height: int32; title: cstring) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "InitWindow".}
+-
+
+
+ Source
+Edit
+
+
+
+func WindowShouldClose(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "WindowShouldClose".}
+-
+
+
+ Source
+Edit
+
+
+
+func CloseWindow() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CloseWindow".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowReady(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowReady".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowFullscreen(): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsWindowFullscreen".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowHidden(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowHidden".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowMinimized(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowMinimized".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowMaximized(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowMaximized".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowFocused(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowFocused".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowResized(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsWindowResized".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsWindowState(flag: uint32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsWindowState".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowState(flags: uint32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetWindowState".}
+-
+
+
+ Source
+Edit
+
+
+
+func ClearWindowState(flags: uint32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ClearWindowState".}
+-
+
+
+ Source
+Edit
+
+
+
+func ToggleFullscreen() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ToggleFullscreen".}
+-
+
+
+ Source
+Edit
+
+
+
+func MaximizeWindow() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "MaximizeWindow".}
+-
+
+
+ Source
+Edit
+
+
+
+func MinimizeWindow() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "MinimizeWindow".}
+-
+
+
+ Source
+Edit
+
+
+
+func RestoreWindow() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "RestoreWindow".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowIcon(image: Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetWindowIcon".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowTitle(title: cstring) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetWindowTitle".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowPosition(x: int32; y: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetWindowPosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowMonitor(monitor: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetWindowMonitor".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowMinSize(width: int32; height: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetWindowMinSize".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetWindowSize(width: int32; height: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetWindowSize".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWindowHandle(): pointer {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetWindowHandle".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetScreenWidth(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetScreenWidth".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetScreenHeight(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetScreenHeight".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorCount(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetMonitorCount".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCurrentMonitor(): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetCurrentMonitor".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorPosition(monitor: int32): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorPosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorWidth(monitor: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorWidth".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorHeight(monitor: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorHeight".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorPhysicalWidth(monitor: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorPhysicalWidth".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorPhysicalHeight(monitor: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorPhysicalHeight".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorRefreshRate(monitor: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorRefreshRate".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWindowPosition(): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetWindowPosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWindowScaleDPI(): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetWindowScaleDPI".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMonitorName(monitor: int32): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMonitorName".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetClipboardText(text: cstring) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetClipboardText".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetClipboardText(): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetClipboardText".}
+-
+
+
+ Source
+Edit
+
+
+
+func ShowCursor() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ShowCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func HideCursor() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "HideCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsCursorHidden(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsCursorHidden".}
+-
+
+
+ Source
+Edit
+
+
+
+func EnableCursor() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EnableCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func DisableCursor() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DisableCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsCursorOnScreen(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsCursorOnScreen".}
+-
+
+
+ Source
+Edit
+
+
+
+func ClearBackground(color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ClearBackground".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginDrawing() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "BeginDrawing".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndDrawing() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndDrawing".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginMode2D(camera: Camera2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "BeginMode2D".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndMode2D() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndMode2D".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginMode3D(camera: Camera3D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "BeginMode3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndMode3D() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndMode3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginTextureMode(target: RenderTexture2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "BeginTextureMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndTextureMode() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndTextureMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginScissorMode(x: int32; y: int32; width: int32; height: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "BeginScissorMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndScissorMode() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndScissorMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMouseRay(mousePosition: Vector2; camera: Camera): Ray {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetMouseRay".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCameraMatrix(camera: Camera): Matrix {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetCameraMatrix".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCameraMatrix2D(camera: Camera2D): Matrix {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetCameraMatrix2D".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWorldToScreen(position: Vector3; camera: Camera): Vector2 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetWorldToScreen".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWorldToScreenEx(position: Vector3; camera: Camera; width: int32;
+ height: int32): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetWorldToScreenEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWorldToScreen2D(position: Vector2; camera: Camera2D): Vector2 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetWorldToScreen2D".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetScreenToWorld2D(position: Vector2; camera: Camera2D): Vector2 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetScreenToWorld2D".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTargetFPS(fps: int32) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetTargetFPS".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFPS(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetFPS".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFrameTime(): float32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetFrameTime".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTime(): float64 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetTime".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetConfigFlags(flags: uint32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetConfigFlags".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTraceLogLevel(logType: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetTraceLogLevel".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTraceLogExit(logType: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetTraceLogExit".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTraceLogCallback(callback: int) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetTraceLogCallback".}
+-
+
+
+ Source
+Edit
+
+
+
+func TraceLog(logType: int32; text: cstring) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, varargs, importc: "TraceLog".}
+-
+
+
+ Source
+Edit
+
+
+
+func MemAlloc(size: int32): pointer {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "MemAlloc".}
+-
+
+
+ Source
+Edit
+
+
+
+func MemFree(data: pointer) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "MemFree".}
+-
+
+
+ Source
+Edit
+
+
+
+func TakeScreenshot(fileName: cstring) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TakeScreenshot".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetRandomValue(min: int32; max: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetRandomValue".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFileData(fileName: cstring; bytesRead: uint32): uint8 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadFileData".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadFileData(data: uint8) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UnloadFileData".}
+-
+
+
+ Source
+Edit
+
+
+
+func SaveFileData(fileName: cstring; data: pointer; bytesToWrite: uint32): bool {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "SaveFileData".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFileText(fileName: cstring): ptr char {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadFileText".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadFileText(text: uint8) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UnloadFileText".}
+-
+
+
+ Source
+Edit
+
+
+
+func SaveFileText(fileName: cstring; text: ptr char): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SaveFileText".}
+-
+
+
+ Source
+Edit
+
+
+
+func FileExists(fileName: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "FileExists".}
+-
+
+
+ Source
+Edit
+
+
+
+func DirectoryExists(dirPath: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DirectoryExists".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsFileExtension(fileName: cstring; ext: cstring): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsFileExtension".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFileExtension(fileName: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetFileExtension".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFileName(filePath: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetFileName".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFileNameWithoutExt(filePath: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetFileNameWithoutExt".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetDirectoryPath(filePath: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetDirectoryPath".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetPrevDirectoryPath(dirPath: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetPrevDirectoryPath".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetWorkingDirectory(): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetWorkingDirectory".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetDirectoryFiles(dirPath: cstring; count: pointer): cstringArray {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetDirectoryFiles".}
+-
+
+
+ Source
+Edit
+
+
+
+func ClearDirectoryFiles() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ClearDirectoryFiles".}
+-
+
+
+ Source
+Edit
+
+
+
+func ChangeDirectory(dir: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ChangeDirectory".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsFileDropped(): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsFileDropped".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetDroppedFiles(count: pointer): cstringArray {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetDroppedFiles".}
+-
+
+
+ Source
+Edit
+
+
+
+func ClearDroppedFiles() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ClearDroppedFiles".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFileModTime(fileName: cstring): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetFileModTime".}
+-
+
+
+ Source
+Edit
+
+
+
+func CompressData(data: uint8; dataLength: int32; compDataLength: pointer): uint8 {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "CompressData".}
+-
+
+
+ Source
+Edit
+
+
+
+func DecompressData(compData: uint8; compDataLength: int32; dataLength: pointer): uint8 {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DecompressData".}
+-
+
+
+ Source
+Edit
+
+
+
+func SaveStorageValue(position: uint32; value: int32): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SaveStorageValue".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadStorageValue(position: uint32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadStorageValue".}
+-
+
+
+ Source
+Edit
+
+
+
+func OpenURL(url: cstring) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "OpenURL".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsKeyPressed(key: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsKeyPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsKeyDown(key: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsKeyDown".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsKeyReleased(key: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsKeyReleased".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsKeyUp(key: int32): bool {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "IsKeyUp".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetExitKey(key: int32) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetExitKey".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetKeyPressed(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetKeyPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCharPressed(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetCharPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadAvailable(gamepad: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsGamepadAvailable".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadName(gamepad: int32; name: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsGamepadName".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGamepadName(gamepad: int32): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetGamepadName".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadButtonPressed(gamepad: int32; button: int32): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsGamepadButtonPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadButtonDown(gamepad: int32; button: int32): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsGamepadButtonDown".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadButtonReleased(gamepad: int32; button: int32): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsGamepadButtonReleased".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGamepadButtonUp(gamepad: int32; button: int32): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsGamepadButtonUp".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGamepadButtonPressed(): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGamepadButtonPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGamepadAxisCount(gamepad: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetGamepadAxisCount".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGamepadAxisMovement(gamepad: int32; axis: int32): float32 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetGamepadAxisMovement".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsMouseButtonPressed(button: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsMouseButtonPressed".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsMouseButtonDown(button: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsMouseButtonDown".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsMouseButtonReleased(button: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsMouseButtonReleased".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsMouseButtonUp(button: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsMouseButtonUp".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMouseX(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetMouseX".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMouseY(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetMouseY".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMousePosition(): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetMousePosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMousePosition(x: int32; y: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMousePosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMouseOffset(offsetX: int32; offsetY: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMouseOffset".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMouseScale(scaleX: float32; scaleY: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMouseScale".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMouseWheelMove(): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetMouseWheelMove".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMouseCursor(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetMouseCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMouseCursor(cursor: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetMouseCursor".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTouchX(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetTouchX".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTouchY(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetTouchY".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTouchPosition(index: int32): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetTouchPosition".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetGesturesEnabled(gestureFlags: uint32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetGesturesEnabled".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsGestureDetected(gesture: int32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsGestureDetected".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGestureDetected(): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGestureDetected".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTouchPointsCount(): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetTouchPointsCount".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGestureHoldDuration(): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetGestureHoldDuration".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGestureDragVector(): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGestureDragVector".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGestureDragAngle(): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGestureDragAngle".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGesturePinchVector(): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGesturePinchVector".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGesturePinchAngle(): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetGesturePinchAngle".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetCameraMode(camera: Camera; mode: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetCameraMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateCamera(camera: ptr Camera) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UpdateCamera".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetCameraPanControl(keyPan: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetCameraPanControl".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetCameraAltControl(keyAlt: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetCameraAltControl".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetCameraSmoothZoomControl(keySmoothZoom: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetCameraSmoothZoomControl".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetCameraMoveControls(keyFront: int32; keyBack: int32; keyRight: int32;
+ keyLeft: int32; keyUp: int32; keyDown: int32) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetCameraMoveControls".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPixel(posX: int32; posY: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawPixel".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPixelV(position: Vector2; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawPixelV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLine(startPosX: int32; startPosY: int32; endPosX: int32;
+ endPosY: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawLine".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLineV(startPos: Vector2; endPos: Vector2; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawLineV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLineEx(startPos: Vector2; endPos: Vector2; thick: float32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawLineEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLineBezier(startPos: Vector2; endPos: Vector2; thick: float32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawLineBezier".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLineBezierQuad(startPos: Vector2; endPos: Vector2; controlPos: Vector2;
+ thick: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawLineBezierQuad".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLineStrip(points: ptr Vector2; pointsCount: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawLineStrip".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircle(centerX: int32; centerY: int32; radius: float32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawCircle".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircleSector(center: Vector2; radius: float32; startAngle: int32;
+ endAngle: int32; segments: int32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCircleSector".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircleSectorLines(center: Vector2; radius: float32; startAngle: int32;
+ endAngle: int32; segments: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawCircleSectorLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircleGradient(centerX: int32; centerY: int32; radius: float32;
+ color1: Color; color2: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawCircleGradient".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircleV(center: Vector2; radius: float32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCircleV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircleLines(centerX: int32; centerY: int32; radius: float32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawCircleLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawEllipse(centerX: int32; centerY: int32; radiusH: float32;
+ radiusV: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawEllipse".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawEllipseLines(centerX: int32; centerY: int32; radiusH: float32;
+ radiusV: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawEllipseLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRing(center: Vector2; innerRadius: float32; outerRadius: float32;
+ startAngle: int32; endAngle: int32; segments: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawRing".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRingLines(center: Vector2; innerRadius: float32; outerRadius: float32;
+ startAngle: int32; endAngle: int32; segments: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawRingLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangle(posX: int32; posY: int32; width: int32; height: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangle".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleV(position: Vector2; size: Vector2; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawRectangleV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleRec(rec: Rectangle; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawRectangleRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectanglePro(rec: Rectangle; origin: Vector2; rotation: float32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawRectanglePro".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleGradientV(posX: int32; posY: int32; width: int32;
+ height: int32; color1: Color; color2: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangleGradientV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleGradientH(posX: int32; posY: int32; width: int32;
+ height: int32; color1: Color; color2: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangleGradientH".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleGradientEx(rec: Rectangle; col1: Color; col2: Color;
+ col3: Color; col4: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawRectangleGradientEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleLines(posX: int32; posY: int32; width: int32; height: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangleLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleLinesEx(rec: Rectangle; lineThick: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangleLinesEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleRounded(rec: Rectangle; roundness: float32; segments: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawRectangleRounded".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRectangleRoundedLines(rec: Rectangle; roundness: float32;
+ segments: int32; lineThick: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawRectangleRoundedLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangle(v1: Vector2; v2: Vector2; v3: Vector2; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawTriangle".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangleLines(v1: Vector2; v2: Vector2; v3: Vector2; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawTriangleLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangleFan(points: ptr Vector2; pointsCount: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawTriangleFan".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangleStrip(points: ptr Vector2; pointsCount: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawTriangleStrip".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPoly(center: Vector2; sides: int32; radius: float32; rotation: float32;
+ color: Color) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawPoly".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPolyLines(center: Vector2; sides: int32; radius: float32;
+ rotation: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawPolyLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionRecs(rec1: Rectangle; rec2: Rectangle): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CheckCollisionRecs".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionCircles(center1: Vector2; radius1: float32; center2: Vector2;
+ radius2: float32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "CheckCollisionCircles".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionCircleRec(center: Vector2; radius: float32; rec: Rectangle): bool {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CheckCollisionCircleRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionPointRec(point: Vector2; rec: Rectangle): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CheckCollisionPointRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionPointCircle(point: Vector2; center: Vector2; radius: float32): bool {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CheckCollisionPointCircle".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionPointTriangle(point: Vector2; p1: Vector2; p2: Vector2;
+ p3: Vector2): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "CheckCollisionPointTriangle".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionLines(startPos1: Vector2; endPos1: Vector2;
+ startPos2: Vector2; endPos2: Vector2;
+ collisionPoint: ptr Vector2): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CheckCollisionLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCollisionRec(rec1: Rectangle; rec2: Rectangle): Rectangle {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetCollisionRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImage(fileName: cstring): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImageRaw(fileName: cstring; width: int32; height: int32; format: int32;
+ headerSize: int32): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadImageRaw".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImageAnim(fileName: cstring; frames: pointer): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadImageAnim".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImageFromMemory(fileType: cstring; fileData: UncheckedArray[byte];
+ dataSize: int32): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadImageFromMemory".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadImage(image: Image) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func ExportImage(image: Image; fileName: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ExportImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func ExportImageAsCode(image: Image; fileName: cstring): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ExportImageAsCode".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageColor(width: int32; height: int32; color: Color): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenImageColor".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageGradientV(width: int32; height: int32; top: Color; bottom: Color): Image {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenImageGradientV".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageGradientH(width: int32; height: int32; left: Color; right: Color): Image {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenImageGradientH".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageGradientRadial(width: int32; height: int32; density: float32;
+ inner: Color; outer: Color): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenImageGradientRadial".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageChecked(width: int32; height: int32; checksX: int32;
+ checksY: int32; col1: Color; col2: Color): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenImageChecked".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageWhiteNoise(width: int32; height: int32; factor: float32): Image {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GenImageWhiteNoise".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImagePerlinNoise(width: int32; height: int32; offsetX: int32;
+ offsetY: int32; scale: float32): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenImagePerlinNoise".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageCellular(width: int32; height: int32; tileSize: int32): Image {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenImageCellular".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageCopy(image: Image): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageCopy".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageFromImage(image: Image; rec: Rectangle): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageFromImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageText(text: cstring; fontSize: int32; color: Color): Image {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageText".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageTextEx(font: Font; text: cstring; fontSize: float32; spacing: float32;
+ tint: Color): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageTextEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageFormat(image: ptr Image; newFormat: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageFormat".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageToPOT(image: ptr Image; fill: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageToPOT".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageCrop(image: ptr Image; crop: Rectangle) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageCrop".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageAlphaCrop(image: ptr Image; threshold: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageAlphaCrop".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageAlphaClear(image: ptr Image; color: Color; threshold: float32) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "ImageAlphaClear".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageAlphaMask(image: ptr Image; alphaMask: Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageAlphaMask".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageAlphaPremultiply(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageAlphaPremultiply".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageResize(image: ptr Image; newWidth: int32; newHeight: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageResize".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageResizeNN(image: ptr Image; newWidth: int32; newHeight: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageResizeNN".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageResizeCanvas(image: ptr Image; newWidth: int32; newHeight: int32;
+ offsetX: int32; offsetY: int32; fill: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageResizeCanvas".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageMipmaps(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageMipmaps".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDither(image: ptr Image; rBpp: int32; gBpp: int32; bBpp: int32;
+ aBpp: int32) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ImageDither".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageFlipVertical(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageFlipVertical".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageFlipHorizontal(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageFlipHorizontal".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageRotateCW(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageRotateCW".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageRotateCCW(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageRotateCCW".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorTint(image: ptr Image; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageColorTint".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorInvert(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageColorInvert".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorGrayscale(image: ptr Image) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageColorGrayscale".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorContrast(image: ptr Image; contrast: float32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageColorContrast".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorBrightness(image: ptr Image; brightness: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageColorBrightness".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageColorReplace(image: ptr Image; color: Color; replace: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageColorReplace".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImageColors(image: Image): ptr Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadImageColors".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadImagePalette(image: Image; maxPaletteSize: int32; colorsCount: pointer): ptr Color {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "LoadImagePalette".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadImageColors(colors: ptr Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadImageColors".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadImagePalette(colors: ptr Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadImagePalette".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetImageAlphaBorder(image: Image; threshold: float32): Rectangle {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetImageAlphaBorder".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageClearBackground(dst: ptr Image; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageClearBackground".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawPixel(dst: ptr Image; posX: int32; posY: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "ImageDrawPixel".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawPixelV(dst: ptr Image; position: Vector2; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageDrawPixelV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawLine(dst: ptr Image; startPosX: int32; startPosY: int32;
+ endPosX: int32; endPosY: int32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ImageDrawLine".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawLineV(dst: ptr Image; start: Vector2; endx: Vector2; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "ImageDrawLineV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawCircle(dst: ptr Image; centerX: int32; centerY: int32;
+ radius: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageDrawCircle".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawCircleV(dst: ptr Image; center: Vector2; radius: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageDrawCircleV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawRectangle(dst: ptr Image; posX: int32; posY: int32; width: int32;
+ height: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageDrawRectangle".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawRectangleV(dst: ptr Image; position: Vector2; size: Vector2;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageDrawRectangleV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawRectangleRec(dst: ptr Image; rec: Rectangle; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ImageDrawRectangleRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawRectangleLines(dst: ptr Image; rec: Rectangle; thick: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageDrawRectangleLines".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDraw(dst: ptr Image; src: Image; srcRec: Rectangle; dstRec: Rectangle;
+ tint: Color) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ImageDraw".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawText(dst: ptr Image; text: cstring; posX: int32; posY: int32;
+ fontSize: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ImageDrawText".}
+-
+
+
+ Source
+Edit
+
+
+
+func ImageDrawTextEx(dst: ptr Image; font: Font; text: cstring;
+ position: Vector2; fontSize: float32; spacing: float32;
+ tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ImageDrawTextEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadTexture(fileName: cstring): Texture2D {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadTextureFromImage(image: Image): Texture2D {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadTextureFromImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadTextureCubemap(image: Image; layoutType: int32): TextureCubemap {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "LoadTextureCubemap".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadRenderTexture(width: int32; height: int32): RenderTexture2D {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadRenderTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadTexture(texture: Texture2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadRenderTexture(target: RenderTexture2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadRenderTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateTexture(texture: Texture2D; pixels: pointer) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UpdateTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateTextureRec(texture: Texture2D; rec: Rectangle; pixels: pointer) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "UpdateTextureRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTextureData(texture: Texture2D): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetTextureData".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetScreenData(): Image {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetScreenData".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenTextureMipmaps(texture: ptr Texture2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GenTextureMipmaps".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTextureFilter(texture: Texture2D; filterMode: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetTextureFilter".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetTextureWrap(texture: Texture2D; wrapMode: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetTextureWrap".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTexture(texture: Texture2D; posX: int32; posY: int32; tint: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureV(texture: Texture2D; position: Vector2; tint: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawTextureV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureEx(texture: Texture2D; position: Vector2; rotation: float32;
+ scale: float32; tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawTextureEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureRec(texture: Texture2D; source: Rectangle; position: Vector2;
+ tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawTextureRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureQuad(texture: Texture2D; tiling: Vector2; offset: Vector2;
+ quad: Rectangle; tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawTextureQuad".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureTiled(texture: Texture2D; source: Rectangle; dest: Rectangle;
+ origin: Vector2; rotation: float32; scale: float32;
+ tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawTextureTiled".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTexturePro(texture: Texture2D; source: Rectangle; dest: Rectangle;
+ origin: Vector2; rotation: float32; tint: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawTexturePro".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextureNPatch(texture: Texture2D; nPatchInfo: NPatchInfo;
+ dest: Rectangle; origin: Vector2; rotation: float32;
+ tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawTextureNPatch".}
+-
+
+
+ Source
+Edit
+
+
+
+func Fade(color: Color; alpha: float32): Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "Fade".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorToInt(color: Color): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ColorToInt".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorNormalize(color: Color): Vector4 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ColorNormalize".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorFromNormalized(normalized: Vector4): Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ColorFromNormalized".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorToHSV(color: Color): Vector3 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ColorToHSV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorFromHSV(hue: float32; saturation: float32; value: float32): Color {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "ColorFromHSV".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorAlpha(color: Color; alpha: float32): Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ColorAlpha".}
+-
+
+
+ Source
+Edit
+
+
+
+func ColorAlphaBlend(dst: Color; src: Color; tint: Color): Color {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "ColorAlphaBlend".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetColor(hexValue: int32): Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetColor".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetPixelColor(srcPtr: pointer; format: int32): Color {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetPixelColor".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetPixelColor(dstPtr: pointer; color: Color; format: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetPixelColor".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetPixelDataSize(width: int32; height: int32; format: int32): int32 {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GetPixelDataSize".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetFontDefault(): Font {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetFontDefault".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFont(fileName: cstring): Font {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadFont".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFontEx(fileName: cstring; fontSize: int32; fontChars: pointer;
+ charsCount: int32): Font {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadFontEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFontFromImage(image: Image; key: Color; firstChar: int32): Font {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "LoadFontFromImage".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFontFromMemory(fileType: cstring; fileData: UncheckedArray[byte];
+ dataSize: int32; fontSize: int32; fontChars: pointer;
+ charsCount: int32): Font {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadFontFromMemory".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadFontData(fileData: UncheckedArray[byte]; dataSize: int32;
+ fontSize: int32; fontChars: pointer; charsCount: int32;
+ typex: int32): ptr CharInfo {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadFontData".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenImageFontAtlas(chars: ptr ptr CharInfo; recs: ptr Rectangle;
+ charsCount: int32; fontSize: int32; padding: int32;
+ packMethod: int32): Image {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GenImageFontAtlas".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadFontData(chars: ptr CharInfo; charsCount: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "UnloadFontData".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadFont(font: Font) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadFont".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawFPS(posX: int32; posY: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawFPS".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawText(text: cstring; posX: int32; posY: int32; fontSize: int32;
+ color: Color) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawText".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextEx(font: Font; text: cstring; position: Vector2; fontSize: float32;
+ spacing: float32; tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawTextEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextRec(font: Font; text: cstring; rec: Rectangle; fontSize: float32;
+ spacing: float32; wordWrap: bool; tint: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawTextRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextRecEx(font: Font; text: cstring; rec: Rectangle; fontSize: float32;
+ spacing: float32; wordWrap: bool; tint: Color;
+ selectStart: int32; selectLength: int32; selectTint: Color;
+ selectBackTint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawTextRecEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTextCodepoint(font: Font; codepoint: int32; position: Vector2;
+ fontSize: float32; tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawTextCodepoint".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeasureText(text: cstring; fontSize: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "MeasureText".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeasureTextEx(font: Font; text: cstring; fontSize: float32;
+ spacing: float32): Vector2 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "MeasureTextEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetGlyphIndex(font: Font; codepoint: int32): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetGlyphIndex".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextCopy(dst: ptr char; src: cstring): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextCopy".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextIsEqual(text1: cstring; text2: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextIsEqual".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextLength(text: cstring): uint32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextLength".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextFormat(text: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, varargs, importc: "TextFormat".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextSubtext(text: cstring; position: int32; length: int32): cstring {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "TextSubtext".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextReplace(text: ptr char; replace: cstring; by: cstring): ptr char {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "TextReplace".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextInsert(text: cstring; insert: cstring; position: int32): ptr char {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "TextInsert".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextJoin(textList: cstring; count: int32; delimiter: cstring): cstring {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "TextJoin".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextSplit(text: cstring; delimiter: char; count: pointer): cstring {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "TextSplit".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextAppend(text: ptr char; append: cstring; position: pointer) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "TextAppend".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextFindIndex(text: cstring; find: cstring): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextFindIndex".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextToUpper(text: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextToUpper".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextToLower(text: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextToLower".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextToPascal(text: cstring): cstring {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextToPascal".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextToInteger(text: cstring): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "TextToInteger".}
+-
+
+
+ Source
+Edit
+
+
+
+func TextToUtf8(codepoints: pointer; length: int32): ptr char {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "TextToUtf8".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCodepoints(text: cstring; count: pointer): pointer {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetCodepoints".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCodepointsCount(text: cstring): int32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetCodepointsCount".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetNextCodepoint(text: cstring; bytesProcessed: pointer): int32 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetNextCodepoint".}
+-
+
+
+ Source
+Edit
+
+
+
+func CodepointToUtf8(codepoint: int32; byteLength: pointer): cstring {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CodepointToUtf8".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawLine3D(startPos: Vector3; endPos: Vector3; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawLine3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPoint3D(position: Vector3; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawPoint3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCircle3D(center: Vector3; radius: float32; rotationAxis: Vector3;
+ rotationAngle: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawCircle3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangle3D(v1: Vector3; v2: Vector3; v3: Vector3; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawTriangle3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawTriangleStrip3D(points: ptr Vector3; pointsCount: int32; color: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "DrawTriangleStrip3D".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCube(position: Vector3; width: float32; height: float32;
+ length: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawCube".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCubeV(position: Vector3; size: Vector3; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCubeV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCubeWires(position: Vector3; width: float32; height: float32;
+ length: float32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawCubeWires".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCubeWiresV(position: Vector3; size: Vector3; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCubeWiresV".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCubeTexture(texture: Texture2D; position: Vector3; width: float32;
+ height: float32; length: float32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCubeTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawSphere(centerPos: Vector3; radius: float32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawSphere".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawSphereEx(centerPos: Vector3; radius: float32; rings: int32;
+ slices: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawSphereEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawSphereWires(centerPos: Vector3; radius: float32; rings: int32;
+ slices: int32; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawSphereWires".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCylinder(position: Vector3; radiusTop: float32; radiusBottom: float32;
+ height: float32; slices: int32; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawCylinder".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawCylinderWires(position: Vector3; radiusTop: float32;
+ radiusBottom: float32; height: float32; slices: int32;
+ color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawCylinderWires".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawPlane(centerPos: Vector3; size: Vector2; color: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawPlane".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawRay(ray: Ray; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawRay".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawGrid(slices: int32; spacing: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawGrid".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawGizmo(position: Vector3) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "DrawGizmo".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadModel(fileName: cstring): Model {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadModel".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadModelFromMesh(mesh: Mesh): Model {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadModelFromMesh".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadModel(model: Model) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadModel".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadModelKeepMeshes(model: Model) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadModelKeepMeshes".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadMeshes(fileName: cstring; meshCount: pointer): ptr Mesh {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadMeshes".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadMesh(mesh: Mesh) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadMesh".}
+-
+
+
+ Source
+Edit
+
+
+
+func ExportMesh(mesh: Mesh; fileName: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ExportMesh".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadMaterials(fileName: cstring; materialCount: pointer): ptr Material {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "LoadMaterials".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadMaterialDefault(): Material {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "LoadMaterialDefault".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadMaterial(material: Material) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadMaterial".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMaterialTexture(material: ptr Material; mapType: int32;
+ texture: Texture2D) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMaterialTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetModelMeshMaterial(model: ptr Model; meshId: int32; materialId: int32) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetModelMeshMaterial".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadModelAnimations(fileName: cstring; animsCount: pointer): ptr ModelAnimation {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "LoadModelAnimations".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateModelAnimation(model: Model; anim: ModelAnimation; frame: int32) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UpdateModelAnimation".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadModelAnimation(anim: ModelAnimation) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadModelAnimation".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsModelAnimationValid(model: Model; anim: ModelAnimation): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "IsModelAnimationValid".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshPoly(sides: int32; radius: float32): Mesh {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GenMeshPoly".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshPlane(width: float32; length: float32; resX: int32; resZ: int32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshPlane".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshCube(width: float32; height: float32; length: float32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshCube".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshSphere(radius: float32; rings: int32; slices: int32): Mesh {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshSphere".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshHemiSphere(radius: float32; rings: int32; slices: int32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshHemiSphere".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshCylinder(radius: float32; height: float32; slices: int32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshCylinder".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshTorus(radius: float32; size: float32; radSeg: int32; sides: int32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshTorus".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshKnot(radius: float32; size: float32; radSeg: int32; sides: int32): Mesh {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshKnot".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshHeightmap(heightmap: Image; size: Vector3): Mesh {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshHeightmap".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenMeshCubicmap(cubicmap: Image; cubeSize: Vector3): Mesh {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenMeshCubicmap".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeshBoundingBox(mesh: Mesh): BoundingBox {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "MeshBoundingBox".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeshTangents(mesh: ptr Mesh) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "MeshTangents".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeshBinormals(mesh: ptr Mesh) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "MeshBinormals".}
+-
+
+
+ Source
+Edit
+
+
+
+func MeshNormalsSmooth(mesh: ptr Mesh) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "MeshNormalsSmooth".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawModel(model: Model; position: Vector3; scale: float32; tint: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawModel".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawModelEx(model: Model; position: Vector3; rotationAxis: Vector3;
+ rotationAngle: float32; scale: Vector3; tint: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawModelEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawModelWires(model: Model; position: Vector3; scale: float32; tint: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawModelWires".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawModelWiresEx(model: Model; position: Vector3; rotationAxis: Vector3;
+ rotationAngle: float32; scale: Vector3; tint: Color) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "DrawModelWiresEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawBoundingBox(box: BoundingBox; color: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawBoundingBox".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawBillboard(camera: Camera; texture: Texture2D; center: Vector3;
+ size: float32; tint: Color) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "DrawBillboard".}
+-
+
+
+ Source
+Edit
+
+
+
+func DrawBillboardRec(camera: Camera; texture: Texture2D; source: Rectangle;
+ center: Vector3; size: float32; tint: Color) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "DrawBillboardRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionSpheres(center1: Vector3; radius1: float32; center2: Vector3;
+ radius2: float32): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "CheckCollisionSpheres".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionBoxes(box1: BoundingBox; box2: BoundingBox): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CheckCollisionBoxes".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionBoxSphere(box: BoundingBox; center: Vector3; radius: float32): bool {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CheckCollisionBoxSphere".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionRaySphere(ray: Ray; center: Vector3; radius: float32): bool {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CheckCollisionRaySphere".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionRaySphereEx(ray: Ray; center: Vector3; radius: float32;
+ collisionPoint: ptr Vector3): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT,
+ importc: "CheckCollisionRaySphereEx".}
+-
+
+
+ Source
+Edit
+
+
+
+func CheckCollisionRayBox(ray: Ray; box: BoundingBox): bool {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "CheckCollisionRayBox".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCollisionRayMesh(ray: Ray; mesh: Mesh; transform: Matrix): RayHitInfo {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetCollisionRayMesh".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCollisionRayModel(ray: Ray; model: Model): RayHitInfo {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetCollisionRayModel".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCollisionRayTriangle(ray: Ray; p1: Vector3; p2: Vector3; p3: Vector3): RayHitInfo {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetCollisionRayTriangle".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetCollisionRayGround(ray: Ray; groundHeight: float32): RayHitInfo {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetCollisionRayGround".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadShader(vsFileName: cstring; fsFileName: cstring): Shader {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadShader".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadShaderCode(vsCode: cstring; fsCode: cstring): Shader {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "LoadShaderCode".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadShader(shader: Shader) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UnloadShader".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetShaderDefault(): Shader {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetShaderDefault".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetTextureDefault(): Texture2D {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetTextureDefault".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetShapesTexture(): Texture2D {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetShapesTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetShapesTextureRec(): Rectangle {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetShapesTextureRec".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetShapesTexture(texture: Texture2D; source: Rectangle) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetShapesTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetShaderLocation(shader: Shader; uniformName: cstring): int32 {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GetShaderLocation".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetShaderLocationAttrib(shader: Shader; attribName: cstring): int32 {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetShaderLocationAttrib".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetShaderValue(shader: Shader; uniformLoc: int32; value: pointer;
+ uniformType: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetShaderValue".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetShaderValueV(shader: Shader; uniformLoc: int32; value: pointer;
+ uniformType: int32; count: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetShaderValueV".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetShaderValueMatrix(shader: Shader; uniformLoc: int32; mat: Matrix) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetShaderValueMatrix".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetShaderValueTexture(shader: Shader; uniformLoc: int32; texture: Texture2D) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "SetShaderValueTexture".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMatrixProjection(proj: Matrix) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMatrixProjection".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMatrixModelview(view: Matrix) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetMatrixModelview".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMatrixModelview(): Matrix {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetMatrixModelview".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMatrixProjection(): Matrix {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "GetMatrixProjection".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenTextureCubemap(shader: Shader; panorama: Texture2D; size: int32;
+ format: int32): TextureCubemap {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GenTextureCubemap".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenTextureIrradiance(shader: Shader; cubemap: TextureCubemap; size: int32): TextureCubemap {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GenTextureIrradiance".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenTexturePrefilter(shader: Shader; cubemap: TextureCubemap; size: int32): TextureCubemap {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GenTexturePrefilter".}
+-
+
+
+ Source
+Edit
+
+
+
+func GenTextureBRDF(shader: Shader; size: int32): Texture2D {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "GenTextureBRDF".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginShaderMode(shader: Shader) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "BeginShaderMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndShaderMode() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndShaderMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginBlendMode(mode: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "BeginBlendMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndBlendMode() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndBlendMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func InitVrSimulator() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "InitVrSimulator".}
+-
+
+
+ Source
+Edit
+
+
+
+func CloseVrSimulator() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CloseVrSimulator".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateVrTracking(camera: ptr Camera) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UpdateVrTracking".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetVrConfiguration(info: VrDeviceInfo; distortion: Shader) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetVrConfiguration".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsVrSimulatorReady(): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsVrSimulatorReady".}
+-
+
+
+ Source
+Edit
+
+
+
+func ToggleVrMode() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ToggleVrMode".}
+-
+
+
+ Source
+Edit
+
+
+
+func BeginVrDrawing() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "BeginVrDrawing".}
+-
+
+
+ Source
+Edit
+
+
+
+func EndVrDrawing() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "EndVrDrawing".}
+-
+
+
+ Source
+Edit
+
+
+
+func InitAudioDevice() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "InitAudioDevice".}
+-
+
+
+ Source
+Edit
+
+
+
+func CloseAudioDevice() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "CloseAudioDevice".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsAudioDeviceReady(): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "IsAudioDeviceReady".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMasterVolume(volume: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "SetMasterVolume".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadWave(fileName: cstring): Wave {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadWave".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadWaveFromMemory(fileType: cstring; fileData: UncheckedArray[byte];
+ dataSize: int32): Wave {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadWaveFromMemory".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadSound(fileName: cstring): Sound {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadSoundFromWave(wave: Wave): Sound {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadSoundFromWave".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateSound(sound: Sound; data: pointer; samplesCount: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "UpdateSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadWave(wave: Wave) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadWave".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadSound(sound: Sound) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "UnloadSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func ExportWave(wave: Wave; fileName: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ExportWave".}
+-
+
+
+ Source
+Edit
+
+
+
+func ExportWaveAsCode(wave: Wave; fileName: cstring): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ExportWaveAsCode".}
+-
+
+
+ Source
+Edit
+
+
+
+func PlaySound(sound: Sound) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "PlaySound".}
+-
+
+
+ Source
+Edit
+
+
+
+func StopSound(sound: Sound) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "StopSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func PauseSound(sound: Sound) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "PauseSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func ResumeSound(sound: Sound) {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "ResumeSound".}
+-
+
+
+ Source
+Edit
+
+
+
+func PlaySoundMulti(sound: Sound) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "PlaySoundMulti".}
+-
+
+
+ Source
+Edit
+
+
+
+func StopSoundMulti() {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "StopSoundMulti".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetSoundsPlaying(): int32 {...}{.cdecl, discardable, dynlib: "libraylib" & LEXT,
+ importc: "GetSoundsPlaying".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsSoundPlaying(sound: Sound): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsSoundPlaying".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetSoundVolume(sound: Sound; volume: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetSoundVolume".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetSoundPitch(sound: Sound; pitch: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetSoundPitch".}
+-
+
+
+ Source
+Edit
+
+
+
+func WaveFormat(wave: ptr Wave; sampleRate: int32; sampleSize: int32;
+ channels: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "WaveFormat".}
+-
+
+
+ Source
+Edit
+
+
+
+func WaveCopy(wave: Wave): Wave {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "WaveCopy".}
+-
+
+
+ Source
+Edit
+
+
+
+func WaveCrop(wave: ptr Wave; initSample: int32; finalSample: int32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "WaveCrop".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadWaveSamples(wave: Wave): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadWaveSamples".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadWaveSamples(samples: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "UnloadWaveSamples".}
+-
+
+
+ Source
+Edit
+
+
+
+func LoadMusicStream(fileName: cstring): Music {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "LoadMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func UnloadMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UnloadMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func PlayMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "PlayMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "UpdateMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func StopMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "StopMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func PauseMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "PauseMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func ResumeMusicStream(music: Music) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT,
+ importc: "ResumeMusicStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsMusicPlaying(music: Music): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsMusicPlaying".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMusicVolume(music: Music; volume: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMusicVolume".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetMusicPitch(music: Music; pitch: float32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetMusicPitch".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMusicTimeLength(music: Music): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMusicTimeLength".}
+-
+
+
+ Source
+Edit
+
+
+
+func GetMusicTimePlayed(music: Music): float32 {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "GetMusicTimePlayed".}
+-
+
+
+ Source
+Edit
+
+
+
+func InitAudioStream(sampleRate: uint32; sampleSize: uint32; channels: uint32): AudioStream {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "InitAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func UpdateAudioStream(stream: AudioStream; data: pointer; samplesCount: int32) {...}{.
+ cdecl, discardable, dynlib: "libraylib" & LEXT, importc: "UpdateAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func CloseAudioStream(stream: AudioStream) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "CloseAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsAudioStreamProcessed(stream: AudioStream): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsAudioStreamProcessed".}
+-
+
+
+ Source
+Edit
+
+
+
+func PlayAudioStream(stream: AudioStream) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "PlayAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func PauseAudioStream(stream: AudioStream) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "PauseAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func ResumeAudioStream(stream: AudioStream) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "ResumeAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func IsAudioStreamPlaying(stream: AudioStream): bool {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "IsAudioStreamPlaying".}
+-
+
+
+ Source
+Edit
+
+
+
+func StopAudioStream(stream: AudioStream) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "StopAudioStream".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetAudioStreamVolume(stream: AudioStream; volume: float32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetAudioStreamVolume".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetAudioStreamPitch(stream: AudioStream; pitch: float32) {...}{.cdecl,
+ discardable, dynlib: "libraylib" & LEXT, importc: "SetAudioStreamPitch".}
+-
+
+
+ Source
+Edit
+
+
+
+func SetAudioStreamBufferSizeDefault(size: int32) {...}{.cdecl, discardable,
+ dynlib: "libraylib" & LEXT, importc: "SetAudioStreamBufferSizeDefault".}
+-
+
+
+ Source
+Edit
+
+
+
+