2 Generated Raylib Bindings
(require raylib/generated/unsafe) | package: raylib |
This module re-exports all of raylib/generated/unsafe/functions, raylib/generated/structs, raylib/generated/enums and raylib/generated/constants.
2.1 Functions
(require raylib/generated/unsafe/functions) | |
package: raylib |
procedure
(InitWindow width height title) → _void
width : _int height : _int title : _string
procedure
(CloseWindow) → _void
procedure
procedure
procedure
procedure
procedure
procedure
procedure
procedure
procedure
(IsWindowState flag) → _stdbool
flag : _uint
procedure
(SetWindowState flags) → _void
flags : _uint
procedure
(ClearWindowState flags) → _void
flags : _uint
procedure
procedure
procedure
(MaximizeWindow) → _void
procedure
(MinimizeWindow) → _void
procedure
(RestoreWindow) → _void
procedure
(SetWindowIcon image) → _void
image : _Image
procedure
(SetWindowIcons images count) → _void
images : (_pointer-to _Image) count : _int
procedure
(SetWindowTitle title) → _void
title : _string
procedure
(SetWindowPosition x y) → _void
x : _int y : _int
procedure
(SetWindowMonitor monitor) → _void
monitor : _int
procedure
(SetWindowMinSize width height) → _void
width : _int height : _int
procedure
(SetWindowMaxSize width height) → _void
width : _int height : _int
procedure
(SetWindowSize width height) → _void
width : _int height : _int
procedure
(SetWindowOpacity opacity) → _void
opacity : _float
procedure
procedure
(GetWindowHandle) → (_pointer-to _void)
procedure
(GetScreenWidth) → _int
procedure
(GetScreenHeight) → _int
procedure
(GetRenderWidth) → _int
procedure
(GetRenderHeight) → _int
procedure
(GetMonitorCount) → _int
procedure
procedure
(GetMonitorPosition monitor) → _Vector2
monitor : _int
procedure
(GetMonitorWidth monitor) → _int
monitor : _int
procedure
(GetMonitorHeight monitor) → _int
monitor : _int
procedure
(GetMonitorPhysicalWidth monitor) → _int
monitor : _int
procedure
(GetMonitorPhysicalHeight monitor) → _int
monitor : _int
procedure
(GetMonitorRefreshRate monitor) → _int
monitor : _int
procedure
procedure
procedure
(GetMonitorName monitor) → _string
monitor : _int
procedure
(SetClipboardText text) → _void
text : _string
procedure
procedure
procedure
procedure
procedure
(ShowCursor) → _void
procedure
(HideCursor) → _void
procedure
procedure
(EnableCursor) → _void
procedure
(DisableCursor) → _void
procedure
procedure
(ClearBackground color) → _void
color : _Color
procedure
(BeginDrawing) → _void
procedure
(EndDrawing) → _void
procedure
(BeginMode2D camera) → _void
camera : _Camera2D
procedure
(BeginMode3D camera) → _void
camera : _Camera3D
procedure
(BeginTextureMode target) → _void
target : _RenderTexture2D
procedure
(EndTextureMode) → _void
procedure
(BeginShaderMode shader) → _void
shader : _Shader
procedure
(EndShaderMode) → _void
procedure
(BeginBlendMode mode) → _void
mode : _int
procedure
(EndBlendMode) → _void
procedure
(EndScissorMode) → _void
procedure
(BeginVrStereoMode config) → _void
config : _VrStereoConfig
procedure
(EndVrStereoMode) → _void
procedure
(LoadVrStereoConfig device) → _VrStereoConfig
device : _VrDeviceInfo
procedure
(UnloadVrStereoConfig config) → _void
config : _VrStereoConfig
procedure
(LoadShader vsFileName fsFileName) → _Shader
vsFileName : _string fsFileName : _string
procedure
(LoadShaderFromMemory vsCode fsCode) → _Shader
vsCode : _string fsCode : _string
procedure
(IsShaderValid shader) → _stdbool
shader : _Shader
procedure
(GetShaderLocation shader uniformName) → _int
shader : _Shader uniformName : _string
procedure
(GetShaderLocationAttrib shader attribName) → _int
shader : _Shader attribName : _string
procedure
(SetShaderValue shader locIndex value uniformType) → _void shader : _Shader locIndex : _int value : (_pointer-to _void) uniformType : _int
procedure
(SetShaderValueV shader locIndex value uniformType count) → _void shader : _Shader locIndex : _int value : (_pointer-to _void) uniformType : _int count : _int
procedure
(SetShaderValueMatrix shader locIndex mat) → _void
shader : _Shader locIndex : _int mat : _Matrix
procedure
(SetShaderValueTexture shader locIndex texture) → _void shader : _Shader locIndex : _int texture : _Texture2D
procedure
(UnloadShader shader) → _void
shader : _Shader
procedure
(GetScreenToWorldRay position camera) → _Ray
position : _Vector2 camera : _Camera
procedure
(GetScreenToWorldRayEx position camera width height) → _Ray position : _Vector2 camera : _Camera width : _int height : _int
procedure
(GetWorldToScreen position camera) → _Vector2
position : _Vector3 camera : _Camera
procedure
(GetWorldToScreenEx position camera width height) → _Vector2 position : _Vector3 camera : _Camera width : _int height : _int
procedure
(GetWorldToScreen2D position camera) → _Vector2
position : _Vector2 camera : _Camera2D
procedure
(GetScreenToWorld2D position camera) → _Vector2
position : _Vector2 camera : _Camera2D
procedure
(GetCameraMatrix camera) → _Matrix
camera : _Camera
procedure
(GetCameraMatrix2D camera) → _Matrix
camera : _Camera2D
procedure
(SetTargetFPS fps) → _void
fps : _int
procedure
(GetFrameTime) → _float
procedure
procedure
(PollInputEvents) → _void
procedure
(SetRandomSeed seed) → _void
seed : _uint
procedure
(GetRandomValue min max) → _int
min : _int max : _int
procedure
(LoadRandomSequence count min max) → (_pointer-to _int)
count : _uint min : _int max : _int
procedure
(UnloadRandomSequence sequence) → _void
sequence : (_pointer-to _int)
procedure
(TakeScreenshot fileName) → _void
fileName : _string
procedure
(SetConfigFlags flags) → _void
flags : _uint
procedure
(SetTraceLogLevel logLevel) → _void
logLevel : _int
procedure
(MemAlloc size) → (_pointer-to _void)
size : _uint
procedure
(MemRealloc ptr size) → (_pointer-to _void)
ptr : (_pointer-to _void) size : _uint
procedure
ptr : (_pointer-to _void)
procedure
(SetTraceLogCallback callback) → _void
callback : _TraceLogCallback
procedure
(SetLoadFileDataCallback callback) → _void
callback : _LoadFileDataCallback
procedure
(SetSaveFileDataCallback callback) → _void
callback : _SaveFileDataCallback
procedure
(SetLoadFileTextCallback callback) → _void
callback : _LoadFileTextCallback
procedure
(SetSaveFileTextCallback callback) → _void
callback : _SaveFileTextCallback
procedure
(LoadFileData fileName dataSize) → (_pointer-to _ubyte)
fileName : _string dataSize : (_pointer-to _int)
procedure
(UnloadFileData data) → _void
data : (_pointer-to _ubyte)
procedure
(SaveFileData fileName data dataSize) → _stdbool
fileName : _string data : (_pointer-to _void) dataSize : _int
procedure
(ExportDataAsCode data dataSize fileName) → _stdbool
data : (_pointer-to _ubyte) dataSize : _int fileName : _string
procedure
(LoadFileText fileName) → (_pointer-to _byte)
fileName : _string
procedure
(UnloadFileText text) → _void
text : (_pointer-to _byte)
procedure
(SaveFileText fileName text) → _stdbool
fileName : _string text : (_pointer-to _byte)
procedure
(FileExists fileName) → _stdbool
fileName : _string
procedure
(DirectoryExists dirPath) → _stdbool
dirPath : _string
procedure
(IsFileExtension fileName ext) → _stdbool
fileName : _string ext : _string
procedure
(GetFileLength fileName) → _int
fileName : _string
procedure
(GetFileExtension fileName) → _string
fileName : _string
procedure
(GetFileName filePath) → _string
filePath : _string
procedure
(GetFileNameWithoutExt filePath) → _string
filePath : _string
procedure
(GetDirectoryPath filePath) → _string
filePath : _string
procedure
(GetPrevDirectoryPath dirPath) → _string
dirPath : _string
procedure
procedure
procedure
(MakeDirectory dirPath) → _int
dirPath : _string
procedure
(ChangeDirectory dir) → _stdbool
dir : _string
procedure
(IsPathFile path) → _stdbool
path : _string
procedure
(IsFileNameValid fileName) → _stdbool
fileName : _string
procedure
(LoadDirectoryFiles dirPath) → _FilePathList
dirPath : _string
procedure
(LoadDirectoryFilesEx basePath filter scanSubdirs) → _FilePathList basePath : _string filter : _string scanSubdirs : _stdbool
procedure
(UnloadDirectoryFiles files) → _void
files : _FilePathList
procedure
procedure
procedure
(UnloadDroppedFiles files) → _void
files : _FilePathList
procedure
(GetFileModTime fileName) → _long
fileName : _string
procedure
(CompressData data dataSize compDataSize) → (_pointer-to _ubyte)
data : (_pointer-to _ubyte) dataSize : _int compDataSize : (_pointer-to _int)
procedure
(DecompressData compData compDataSize dataSize) → (_pointer-to _ubyte) compData : (_pointer-to _ubyte) compDataSize : _int dataSize : (_pointer-to _int)
procedure
(EncodeDataBase64 data dataSize outputSize) → (_pointer-to _byte)
data : (_pointer-to _ubyte) dataSize : _int outputSize : (_pointer-to _int)
procedure
(DecodeDataBase64 data outputSize) → (_pointer-to _ubyte)
data : (_pointer-to _ubyte) outputSize : (_pointer-to _int)
procedure
(ComputeCRC32 data dataSize) → _uint
data : (_pointer-to _ubyte) dataSize : _int
procedure
(ComputeMD5 data dataSize) → (_pointer-to _uint)
data : (_pointer-to _ubyte) dataSize : _int
procedure
(ComputeSHA1 data dataSize) → (_pointer-to _uint)
data : (_pointer-to _ubyte) dataSize : _int
procedure
(LoadAutomationEventList fileName) → _AutomationEventList
fileName : _string
procedure
(UnloadAutomationEventList list) → _void
list : _AutomationEventList
procedure
(ExportAutomationEventList list fileName) → _stdbool
list : _AutomationEventList fileName : _string
procedure
(SetAutomationEventList list) → _void
list : (_pointer-to _AutomationEventList)
procedure
(SetAutomationEventBaseFrame frame) → _void
frame : _int
procedure
procedure
procedure
(PlayAutomationEvent event) → _void
event : _AutomationEvent
procedure
(IsKeyPressed key) → _stdbool
key : _int
procedure
(IsKeyPressedRepeat key) → _stdbool
key : _int
procedure
(IsKeyReleased key) → _stdbool
key : _int
procedure
(GetKeyPressed) → _int
procedure
(GetCharPressed) → _int
procedure
(SetExitKey key) → _void
key : _int
procedure
(IsGamepadAvailable gamepad) → _stdbool
gamepad : _int
procedure
(GetGamepadName gamepad) → _string
gamepad : _int
procedure
(IsGamepadButtonPressed gamepad button) → _stdbool
gamepad : _int button : _int
procedure
(IsGamepadButtonDown gamepad button) → _stdbool
gamepad : _int button : _int
procedure
(IsGamepadButtonReleased gamepad button) → _stdbool
gamepad : _int button : _int
procedure
(IsGamepadButtonUp gamepad button) → _stdbool
gamepad : _int button : _int
procedure
procedure
(GetGamepadAxisCount gamepad) → _int
gamepad : _int
procedure
(GetGamepadAxisMovement gamepad axis) → _float
gamepad : _int axis : _int
procedure
(SetGamepadMappings mappings) → _int
mappings : _string
procedure
(SetGamepadVibration gamepad leftMotor rightMotor duration) → _void gamepad : _int leftMotor : _float rightMotor : _float duration : _float
procedure
(IsMouseButtonPressed button) → _stdbool
button : _int
procedure
(IsMouseButtonDown button) → _stdbool
button : _int
procedure
(IsMouseButtonReleased button) → _stdbool
button : _int
procedure
(IsMouseButtonUp button) → _stdbool
button : _int
procedure
procedure
procedure
(SetMousePosition x y) → _void
x : _int y : _int
procedure
(SetMouseOffset offsetX offsetY) → _void
offsetX : _int offsetY : _int
procedure
(SetMouseScale scaleX scaleY) → _void
scaleX : _float scaleY : _float
procedure
procedure
procedure
(SetMouseCursor cursor) → _void
cursor : _int
procedure
(GetTouchPosition index) → _Vector2
index : _int
procedure
(GetTouchPointId index) → _int
index : _int
procedure
procedure
(SetGesturesEnabled flags) → _void
flags : _uint
procedure
(IsGestureDetected gesture) → _stdbool
gesture : _uint
procedure
procedure
procedure
procedure
procedure
procedure
procedure
(UpdateCamera camera mode) → _void
camera : (_pointer-to _Camera) mode : _int
procedure
(UpdateCameraPro camera movement rotation zoom) → _void camera : (_pointer-to _Camera) movement : _Vector3 rotation : _Vector3 zoom : _float
procedure
(SetShapesTexture texture source) → _void
texture : _Texture2D source : _Rectangle
procedure
procedure
procedure
(DrawPixelV position color) → _void
position : _Vector2 color : _Color
procedure
(DrawLine startPosX startPosY endPosX endPosY color) → _void startPosX : _int startPosY : _int endPosX : _int endPosY : _int color : _Color
procedure
(DrawLineEx startPos endPos thick color) → _void
startPos : _Vector2 endPos : _Vector2 thick : _float color : _Color
procedure
(DrawLineStrip points pointCount color) → _void
points : (_pointer-to _Vector2) pointCount : _int color : _Color
procedure
(DrawLineBezier startPos endPos thick color) → _void
startPos : _Vector2 endPos : _Vector2 thick : _float color : _Color
procedure
(DrawCircle centerX centerY radius color) → _void
centerX : _int centerY : _int radius : _float color : _Color
procedure
(DrawCircleSector center radius startAngle endAngle segments color) → _void center : _Vector2 radius : _float startAngle : _float endAngle : _float segments : _int color : _Color
procedure
(DrawCircleSectorLines center radius startAngle endAngle segments color) → _void center : _Vector2 radius : _float startAngle : _float endAngle : _float segments : _int color : _Color
procedure
(DrawCircleGradient centerX centerY radius inner outer) → _void centerX : _int centerY : _int radius : _float inner : _Color outer : _Color
procedure
(DrawCircleV center radius color) → _void
center : _Vector2 radius : _float color : _Color
procedure
(DrawCircleLines centerX centerY radius color) → _void centerX : _int centerY : _int radius : _float color : _Color
procedure
(DrawCircleLinesV center radius color) → _void
center : _Vector2 radius : _float color : _Color
procedure
(DrawEllipse centerX centerY radiusH radiusV color) → _void centerX : _int centerY : _int radiusH : _float radiusV : _float color : _Color
procedure
(DrawEllipseLines centerX centerY radiusH radiusV color) → _void centerX : _int centerY : _int radiusH : _float radiusV : _float color : _Color
procedure
(DrawRing center innerRadius outerRadius startAngle endAngle segments color) → _void center : _Vector2 innerRadius : _float outerRadius : _float startAngle : _float endAngle : _float segments : _int color : _Color
procedure
(DrawRingLines center innerRadius outerRadius startAngle endAngle segments color) → _void center : _Vector2 innerRadius : _float outerRadius : _float startAngle : _float endAngle : _float segments : _int color : _Color
procedure
(DrawRectangle posX posY width height color) → _void
posX : _int posY : _int width : _int height : _int color : _Color
procedure
(DrawRectangleV position size color) → _void
position : _Vector2 size : _Vector2 color : _Color
procedure
(DrawRectangleRec rec color) → _void
rec : _Rectangle color : _Color
procedure
(DrawRectanglePro rec origin rotation color) → _void
rec : _Rectangle origin : _Vector2 rotation : _float color : _Color
procedure
(DrawRectangleGradientV posX posY width height top bottom) → _void posX : _int posY : _int width : _int height : _int top : _Color bottom : _Color
procedure
(DrawRectangleGradientH posX posY width height left right) → _void posX : _int posY : _int width : _int height : _int left : _Color right : _Color
procedure
(DrawRectangleGradientEx rec topLeft bottomLeft topRight bottomRight) → _void rec : _Rectangle topLeft : _Color bottomLeft : _Color topRight : _Color bottomRight : _Color
procedure
(DrawRectangleLines posX posY width height color) → _void posX : _int posY : _int width : _int height : _int color : _Color
procedure
(DrawRectangleLinesEx rec lineThick color) → _void
rec : _Rectangle lineThick : _float color : _Color
procedure
(DrawRectangleRounded rec roundness segments color) → _void rec : _Rectangle roundness : _float segments : _int color : _Color
procedure
(DrawRectangleRoundedLines rec roundness segments color) → _void rec : _Rectangle roundness : _float segments : _int color : _Color
procedure
(DrawRectangleRoundedLinesEx rec roundness segments lineThick color) → _void rec : _Rectangle roundness : _float segments : _int lineThick : _float color : _Color
procedure
(DrawTriangle v1 v2 v3 color) → _void
v1 : _Vector2 v2 : _Vector2 v3 : _Vector2 color : _Color
procedure
(DrawTriangleLines v1 v2 v3 color) → _void
v1 : _Vector2 v2 : _Vector2 v3 : _Vector2 color : _Color
procedure
(DrawTriangleFan points pointCount color) → _void
points : (_pointer-to _Vector2) pointCount : _int color : _Color
procedure
(DrawTriangleStrip points pointCount color) → _void
points : (_pointer-to _Vector2) pointCount : _int color : _Color
procedure
(DrawPolyLines center sides radius rotation color) → _void center : _Vector2 sides : _int radius : _float rotation : _float color : _Color
procedure
(DrawPolyLinesEx center sides radius rotation lineThick color) → _void center : _Vector2 sides : _int radius : _float rotation : _float lineThick : _float color : _Color
procedure
(DrawSplineLinear points pointCount thick color) → _void points : (_pointer-to _Vector2) pointCount : _int thick : _float color : _Color
procedure
(DrawSplineBasis points pointCount thick color) → _void points : (_pointer-to _Vector2) pointCount : _int thick : _float color : _Color
procedure
(DrawSplineCatmullRom points pointCount thick color) → _void points : (_pointer-to _Vector2) pointCount : _int thick : _float color : _Color
procedure
(DrawSplineBezierQuadratic points pointCount thick color) → _void points : (_pointer-to _Vector2) pointCount : _int thick : _float color : _Color
procedure
(DrawSplineBezierCubic points pointCount thick color) → _void points : (_pointer-to _Vector2) pointCount : _int thick : _float color : _Color
procedure
(DrawSplineSegmentLinear p1 p2 thick color) → _void
p1 : _Vector2 p2 : _Vector2 thick : _float color : _Color
procedure
(DrawSplineSegmentBasis p1 p2 p3 p4 thick color) → _void p1 : _Vector2 p2 : _Vector2 p3 : _Vector2 p4 : _Vector2 thick : _float color : _Color
procedure
(DrawSplineSegmentCatmullRom p1 p2 p3 p4 thick color) → _void p1 : _Vector2 p2 : _Vector2 p3 : _Vector2 p4 : _Vector2 thick : _float color : _Color
procedure
(DrawSplineSegmentBezierQuadratic p1 c2 p3 thick color) → _void p1 : _Vector2 c2 : _Vector2 p3 : _Vector2 thick : _float color : _Color
procedure
(DrawSplineSegmentBezierCubic p1 c2 c3 p4 thick color) → _void p1 : _Vector2 c2 : _Vector2 c3 : _Vector2 p4 : _Vector2 thick : _float color : _Color
procedure
(GetSplinePointLinear startPos endPos t) → _Vector2
startPos : _Vector2 endPos : _Vector2 t : _float
procedure
(GetSplinePointBasis p1 p2 p3 p4 t) → _Vector2
p1 : _Vector2 p2 : _Vector2 p3 : _Vector2 p4 : _Vector2 t : _float
procedure
(GetSplinePointCatmullRom p1 p2 p3 p4 t) → _Vector2
p1 : _Vector2 p2 : _Vector2 p3 : _Vector2 p4 : _Vector2 t : _float
procedure
(GetSplinePointBezierQuad p1 c2 p3 t) → _Vector2
p1 : _Vector2 c2 : _Vector2 p3 : _Vector2 t : _float
procedure
(GetSplinePointBezierCubic p1 c2 c3 p4 t) → _Vector2
p1 : _Vector2 c2 : _Vector2 c3 : _Vector2 p4 : _Vector2 t : _float
procedure
(CheckCollisionRecs rec1 rec2) → _stdbool
rec1 : _Rectangle rec2 : _Rectangle
procedure
(CheckCollisionCircles center1 radius1 center2 radius2) → _stdbool center1 : _Vector2 radius1 : _float center2 : _Vector2 radius2 : _float
procedure
(CheckCollisionCircleRec center radius rec) → _stdbool
center : _Vector2 radius : _float rec : _Rectangle
procedure
(CheckCollisionCircleLine center radius p1 p2) → _stdbool center : _Vector2 radius : _float p1 : _Vector2 p2 : _Vector2
procedure
(CheckCollisionPointRec point rec) → _stdbool
point : _Vector2 rec : _Rectangle
procedure
(CheckCollisionPointCircle point center radius) → _stdbool point : _Vector2 center : _Vector2 radius : _float
procedure
(CheckCollisionPointTriangle point p1 p2 p3) → _stdbool
point : _Vector2 p1 : _Vector2 p2 : _Vector2 p3 : _Vector2
procedure
(CheckCollisionPointLine point p1 p2 threshold) → _stdbool point : _Vector2 p1 : _Vector2 p2 : _Vector2 threshold : _int
procedure
(CheckCollisionPointPoly point points pointCount) → _stdbool point : _Vector2 points : (_pointer-to _Vector2) pointCount : _int
procedure
(CheckCollisionLines startPos1 endPos1 startPos2 endPos2 collisionPoint) → _stdbool startPos1 : _Vector2 endPos1 : _Vector2 startPos2 : _Vector2 endPos2 : _Vector2 collisionPoint : (_pointer-to _Vector2)
procedure
(GetCollisionRec rec1 rec2) → _Rectangle
rec1 : _Rectangle rec2 : _Rectangle
procedure
(LoadImageRaw fileName width height format headerSize) → _Image fileName : _string width : _int height : _int format : _int headerSize : _int
procedure
(LoadImageAnim fileName frames) → _Image
fileName : _string frames : (_pointer-to _int)
procedure
(LoadImageAnimFromMemory fileType fileData dataSize frames) → _Image fileType : _string fileData : (_pointer-to _ubyte) dataSize : _int frames : (_pointer-to _int)
procedure
(LoadImageFromMemory fileType fileData dataSize) → _Image fileType : _string fileData : (_pointer-to _ubyte) dataSize : _int
procedure
(LoadImageFromTexture texture) → _Image
texture : _Texture2D
procedure
procedure
(IsImageValid image) → _stdbool
image : _Image
procedure
(UnloadImage image) → _void
image : _Image
procedure
(ExportImage image fileName) → _stdbool
image : _Image fileName : _string
procedure
(ExportImageToMemory image fileType fileSize) → (_pointer-to _ubyte) image : _Image fileType : _string fileSize : (_pointer-to _int)
procedure
(ExportImageAsCode image fileName) → _stdbool
image : _Image fileName : _string
procedure
(GenImageColor width height color) → _Image
width : _int height : _int color : _Color
procedure
(GenImageGradientLinear width height direction start end) → _Image width : _int height : _int direction : _int start : _Color end : _Color
procedure
(GenImageGradientRadial width height density inner outer) → _Image width : _int height : _int density : _float inner : _Color outer : _Color
procedure
(GenImageGradientSquare width height density inner outer) → _Image width : _int height : _int density : _float inner : _Color outer : _Color
procedure
(GenImageChecked width height checksX checksY col1 col2) → _Image width : _int height : _int checksX : _int checksY : _int col1 : _Color col2 : _Color
procedure
(GenImageWhiteNoise width height factor) → _Image
width : _int height : _int factor : _float
procedure
(GenImagePerlinNoise width height offsetX offsetY scale) → _Image width : _int height : _int offsetX : _int offsetY : _int scale : _float
procedure
(GenImageCellular width height tileSize) → _Image
width : _int height : _int tileSize : _int
procedure
(GenImageText width height text) → _Image
width : _int height : _int text : _string
procedure
(ImageFromImage image rec) → _Image
image : _Image rec : _Rectangle
procedure
(ImageFromChannel image selectedChannel) → _Image
image : _Image selectedChannel : _int
procedure
(ImageTextEx font text fontSize spacing tint) → _Image
font : _Font text : _string fontSize : _float spacing : _float tint : _Color
procedure
(ImageFormat image newFormat) → _void
image : (_pointer-to _Image) newFormat : _int
procedure
(ImageToPOT image fill) → _void
image : (_pointer-to _Image) fill : _Color
procedure
image : (_pointer-to _Image) crop : _Rectangle
procedure
(ImageAlphaCrop image threshold) → _void
image : (_pointer-to _Image) threshold : _float
procedure
(ImageAlphaClear image color threshold) → _void
image : (_pointer-to _Image) color : _Color threshold : _float
procedure
(ImageAlphaMask image alphaMask) → _void
image : (_pointer-to _Image) alphaMask : _Image
procedure
(ImageAlphaPremultiply image) → _void
image : (_pointer-to _Image)
procedure
(ImageBlurGaussian image blurSize) → _void
image : (_pointer-to _Image) blurSize : _int
procedure
(ImageKernelConvolution image kernel kernelSize) → _void image : (_pointer-to _Image) kernel : (_pointer-to _float) kernelSize : _int
procedure
(ImageResize image newWidth newHeight) → _void
image : (_pointer-to _Image) newWidth : _int newHeight : _int
procedure
(ImageResizeNN image newWidth newHeight) → _void
image : (_pointer-to _Image) newWidth : _int newHeight : _int
procedure
(ImageResizeCanvas image newWidth newHeight offsetX offsetY fill) → _void image : (_pointer-to _Image) newWidth : _int newHeight : _int offsetX : _int offsetY : _int fill : _Color
procedure
(ImageMipmaps image) → _void
image : (_pointer-to _Image)
procedure
(ImageDither image rBpp gBpp bBpp aBpp) → _void
image : (_pointer-to _Image) rBpp : _int gBpp : _int bBpp : _int aBpp : _int
procedure
(ImageFlipVertical image) → _void
image : (_pointer-to _Image)
procedure
(ImageFlipHorizontal image) → _void
image : (_pointer-to _Image)
procedure
(ImageRotate image degrees) → _void
image : (_pointer-to _Image) degrees : _int
procedure
(ImageRotateCW image) → _void
image : (_pointer-to _Image)
procedure
(ImageRotateCCW image) → _void
image : (_pointer-to _Image)
procedure
(ImageColorTint image color) → _void
image : (_pointer-to _Image) color : _Color
procedure
(ImageColorInvert image) → _void
image : (_pointer-to _Image)
procedure
(ImageColorGrayscale image) → _void
image : (_pointer-to _Image)
procedure
(ImageColorContrast image contrast) → _void
image : (_pointer-to _Image) contrast : _float
procedure
(ImageColorBrightness image brightness) → _void
image : (_pointer-to _Image) brightness : _int
procedure
(ImageColorReplace image color replace) → _void
image : (_pointer-to _Image) color : _Color replace : _Color
procedure
(LoadImageColors image) → (_pointer-to _Color)
image : _Image
procedure
(LoadImagePalette image maxPaletteSize colorCount) → (_pointer-to _Color) image : _Image maxPaletteSize : _int colorCount : (_pointer-to _int)
procedure
(UnloadImageColors colors) → _void
colors : (_pointer-to _Color)
procedure
(UnloadImagePalette colors) → _void
colors : (_pointer-to _Color)
procedure
(GetImageAlphaBorder image threshold) → _Rectangle
image : _Image threshold : _float
procedure
(GetImageColor image x y) → _Color
image : _Image x : _int y : _int
procedure
(ImageClearBackground dst color) → _void
dst : (_pointer-to _Image) color : _Color
procedure
(ImageDrawPixel dst posX posY color) → _void
dst : (_pointer-to _Image) posX : _int posY : _int color : _Color
procedure
(ImageDrawPixelV dst position color) → _void
dst : (_pointer-to _Image) position : _Vector2 color : _Color
procedure
(ImageDrawLine dst startPosX startPosY endPosX endPosY color) → _void dst : (_pointer-to _Image) startPosX : _int startPosY : _int endPosX : _int endPosY : _int color : _Color
procedure
(ImageDrawLineV dst start end color) → _void
dst : (_pointer-to _Image) start : _Vector2 end : _Vector2 color : _Color
procedure
(ImageDrawLineEx dst start end thick color) → _void
dst : (_pointer-to _Image) start : _Vector2 end : _Vector2 thick : _int color : _Color
procedure
(ImageDrawCircle dst centerX centerY radius color) → _void dst : (_pointer-to _Image) centerX : _int centerY : _int radius : _int color : _Color
procedure
(ImageDrawCircleV dst center radius color) → _void
dst : (_pointer-to _Image) center : _Vector2 radius : _int color : _Color
procedure
(ImageDrawCircleLines dst centerX centerY radius color) → _void dst : (_pointer-to _Image) centerX : _int centerY : _int radius : _int color : _Color
procedure
(ImageDrawCircleLinesV dst center radius color) → _void dst : (_pointer-to _Image) center : _Vector2 radius : _int color : _Color
procedure
(ImageDrawRectangle dst posX posY width height color) → _void dst : (_pointer-to _Image) posX : _int posY : _int width : _int height : _int color : _Color
procedure
(ImageDrawRectangleV dst position size color) → _void
dst : (_pointer-to _Image) position : _Vector2 size : _Vector2 color : _Color
procedure
(ImageDrawRectangleRec dst rec color) → _void
dst : (_pointer-to _Image) rec : _Rectangle color : _Color
procedure
(ImageDrawRectangleLines dst rec thick color) → _void
dst : (_pointer-to _Image) rec : _Rectangle thick : _int color : _Color
procedure
(ImageDrawTriangle dst v1 v2 v3 color) → _void
dst : (_pointer-to _Image) v1 : _Vector2 v2 : _Vector2 v3 : _Vector2 color : _Color
procedure
(ImageDrawTriangleEx dst v1 v2 v3 c1 c2 c3) → _void
dst : (_pointer-to _Image) v1 : _Vector2 v2 : _Vector2 v3 : _Vector2 c1 : _Color c2 : _Color c3 : _Color
procedure
(ImageDrawTriangleLines dst v1 v2 v3 color) → _void
dst : (_pointer-to _Image) v1 : _Vector2 v2 : _Vector2 v3 : _Vector2 color : _Color
procedure
(ImageDrawTriangleFan dst points pointCount color) → _void dst : (_pointer-to _Image) points : (_pointer-to _Vector2) pointCount : _int color : _Color
procedure
(ImageDrawTriangleStrip dst points pointCount color) → _void dst : (_pointer-to _Image) points : (_pointer-to _Vector2) pointCount : _int color : _Color
procedure
dst : (_pointer-to _Image) src : _Image srcRec : _Rectangle dstRec : _Rectangle tint : _Color
procedure
(ImageDrawText dst text posX posY fontSize color) → _void dst : (_pointer-to _Image) text : _string posX : _int posY : _int fontSize : _int color : _Color
procedure
(ImageDrawTextEx dst font text position fontSize spacing tint) → _void dst : (_pointer-to _Image) font : _Font text : _string position : _Vector2 fontSize : _float spacing : _float tint : _Color
procedure
(LoadTexture fileName) → _Texture2D
fileName : _string
procedure
(LoadTextureFromImage image) → _Texture2D
image : _Image
procedure
(LoadTextureCubemap image layout) → _TextureCubemap
image : _Image layout : _int
procedure
(LoadRenderTexture width height) → _RenderTexture2D
width : _int height : _int
procedure
(IsTextureValid texture) → _stdbool
texture : _Texture2D
procedure
(UnloadTexture texture) → _void
texture : _Texture2D
procedure
(IsRenderTextureValid target) → _stdbool
target : _RenderTexture2D
procedure
(UnloadRenderTexture target) → _void
target : _RenderTexture2D
procedure
(UpdateTexture texture pixels) → _void
texture : _Texture2D pixels : (_pointer-to _void)
procedure
(UpdateTextureRec texture rec pixels) → _void
texture : _Texture2D rec : _Rectangle pixels : (_pointer-to _void)
procedure
(GenTextureMipmaps texture) → _void
texture : (_pointer-to _Texture2D)
procedure
(SetTextureFilter texture filter) → _void
texture : _Texture2D filter : _int
procedure
(SetTextureWrap texture wrap) → _void
texture : _Texture2D wrap : _int
procedure
(DrawTexture texture posX posY tint) → _void
texture : _Texture2D posX : _int posY : _int tint : _Color
procedure
(DrawTextureV texture position tint) → _void
texture : _Texture2D position : _Vector2 tint : _Color
procedure
(DrawTextureEx texture position rotation scale tint) → _void texture : _Texture2D position : _Vector2 rotation : _float scale : _float tint : _Color
procedure
(DrawTextureRec texture source position tint) → _void
texture : _Texture2D source : _Rectangle position : _Vector2 tint : _Color
procedure
(DrawTexturePro texture source dest origin rotation tint) → _void texture : _Texture2D source : _Rectangle dest : _Rectangle origin : _Vector2 rotation : _float tint : _Color
procedure
(DrawTextureNPatch texture nPatchInfo dest origin rotation tint) → _void texture : _Texture2D nPatchInfo : _NPatchInfo dest : _Rectangle origin : _Vector2 rotation : _float tint : _Color
procedure
(ColorIsEqual col1 col2) → _stdbool
col1 : _Color col2 : _Color
procedure
(ColorToInt color) → _int
color : _Color
procedure
(ColorNormalize color) → _Vector4
color : _Color
procedure
(ColorFromNormalized normalized) → _Color
normalized : _Vector4
procedure
(ColorToHSV color) → _Vector3
color : _Color
procedure
(ColorFromHSV hue saturation value) → _Color
hue : _float saturation : _float value : _float
procedure
(ColorBrightness color factor) → _Color
color : _Color factor : _float
procedure
(ColorContrast color contrast) → _Color
color : _Color contrast : _float
procedure
(ColorAlpha color alpha) → _Color
color : _Color alpha : _float
procedure
(ColorAlphaBlend dst src tint) → _Color
dst : _Color src : _Color tint : _Color
procedure
(GetPixelColor srcPtr format) → _Color
srcPtr : (_pointer-to _void) format : _int
procedure
(SetPixelColor dstPtr color format) → _void
dstPtr : (_pointer-to _void) color : _Color format : _int
procedure
(GetPixelDataSize width height format) → _int
width : _int height : _int format : _int
procedure
(GetFontDefault) → _Font
procedure
(LoadFontEx fileName fontSize codepoints codepointCount) → _Font fileName : _string fontSize : _int codepoints : (_pointer-to _int) codepointCount : _int
procedure
(LoadFontFromImage image key firstChar) → _Font
image : _Image key : _Color firstChar : _int
procedure
(LoadFontFromMemory fileType fileData dataSize fontSize codepoints codepointCount) → _Font fileType : _string fileData : (_pointer-to _ubyte) dataSize : _int fontSize : _int codepoints : (_pointer-to _int) codepointCount : _int
procedure
(IsFontValid font) → _stdbool
font : _Font
procedure
(LoadFontData fileData dataSize fontSize codepoints codepointCount type) → (_pointer-to _GlyphInfo) fileData : (_pointer-to _ubyte) dataSize : _int fontSize : _int codepoints : (_pointer-to _int) codepointCount : _int type : _int
procedure
(GenImageFontAtlas glyphs glyphRecs glyphCount fontSize padding packMethod) → _Image glyphs : (_pointer-to _GlyphInfo) glyphRecs : (_pointer-to (_pointer-to _Rectangle)) glyphCount : _int fontSize : _int padding : _int packMethod : _int
procedure
(UnloadFontData glyphs glyphCount) → _void
glyphs : (_pointer-to _GlyphInfo) glyphCount : _int
procedure
(UnloadFont font) → _void
font : _Font
procedure
(ExportFontAsCode font fileName) → _stdbool
font : _Font fileName : _string
procedure
(DrawTextEx font text position fontSize spacing tint) → _void font : _Font text : _string position : _Vector2 fontSize : _float spacing : _float tint : _Color
procedure
(DrawTextPro font text position origin rotation fontSize spacing tint) → _void font : _Font text : _string position : _Vector2 origin : _Vector2 rotation : _float fontSize : _float spacing : _float tint : _Color
procedure
(DrawTextCodepoint font codepoint position fontSize tint) → _void font : _Font codepoint : _int position : _Vector2 fontSize : _float tint : _Color
procedure
(DrawTextCodepoints font codepoints codepointCount position fontSize spacing tint) → _void font : _Font codepoints : (_pointer-to _int) codepointCount : _int position : _Vector2 fontSize : _float spacing : _float tint : _Color
procedure
(SetTextLineSpacing spacing) → _void
spacing : _int
procedure
(MeasureText text fontSize) → _int
text : _string fontSize : _int
procedure
(MeasureTextEx font text fontSize spacing) → _Vector2
font : _Font text : _string fontSize : _float spacing : _float
procedure
(GetGlyphIndex font codepoint) → _int
font : _Font codepoint : _int
procedure
(GetGlyphInfo font codepoint) → _GlyphInfo
font : _Font codepoint : _int
procedure
(GetGlyphAtlasRec font codepoint) → _Rectangle
font : _Font codepoint : _int
procedure
(LoadUTF8 codepoints length) → (_pointer-to _byte)
codepoints : (_pointer-to _int) length : _int
procedure
(UnloadUTF8 text) → _void
text : (_pointer-to _byte)
procedure
(LoadCodepoints text count) → (_pointer-to _int)
text : _string count : (_pointer-to _int)
procedure
(UnloadCodepoints codepoints) → _void
codepoints : (_pointer-to _int)
procedure
(GetCodepointCount text) → _int
text : _string
procedure
(GetCodepoint text codepointSize) → _int
text : _string codepointSize : (_pointer-to _int)
procedure
(GetCodepointNext text codepointSize) → _int
text : _string codepointSize : (_pointer-to _int)
procedure
(GetCodepointPrevious text codepointSize) → _int
text : _string codepointSize : (_pointer-to _int)
procedure
(CodepointToUTF8 codepoint utf8Size) → _string
codepoint : _int utf8Size : (_pointer-to _int)
procedure
dst : (_pointer-to _byte) src : _string
procedure
(TextIsEqual text1 text2) → _stdbool
text1 : _string text2 : _string
procedure
(TextLength text) → _uint
text : _string
procedure
(TextFormat text) → _string
text : _string
procedure
(TextSubtext text position length) → _string
text : _string position : _int length : _int
procedure
(TextReplace text replace by) → (_pointer-to _byte)
text : _string replace : _string by : _string
procedure
(TextInsert text insert position) → (_pointer-to _byte)
text : _string insert : _string position : _int
procedure
textList : (_pointer-to (_pointer-to _byte)) count : _int delimiter : _string
procedure
(TextSplit text delimiter count)
→ (_pointer-to (_pointer-to _byte)) text : _string delimiter : _byte count : (_pointer-to _int)
procedure
(TextAppend text append position) → _void
text : (_pointer-to _byte) append : _string position : (_pointer-to _int)
procedure
(TextFindIndex text find) → _int
text : _string find : _string
procedure
(TextToUpper text) → _string
text : _string
procedure
(TextToLower text) → _string
text : _string
procedure
(TextToPascal text) → _string
text : _string
procedure
(TextToSnake text) → _string
text : _string
procedure
(TextToCamel text) → _string
text : _string
procedure
(TextToInteger text) → _int
text : _string
procedure
(TextToFloat text) → _float
text : _string
procedure
(DrawLine3D startPos endPos color) → _void
startPos : _Vector3 endPos : _Vector3 color : _Color
procedure
(DrawPoint3D position color) → _void
position : _Vector3 color : _Color
procedure
(DrawCircle3D center radius rotationAxis rotationAngle color) → _void center : _Vector3 radius : _float rotationAxis : _Vector3 rotationAngle : _float color : _Color
procedure
(DrawTriangle3D v1 v2 v3 color) → _void
v1 : _Vector3 v2 : _Vector3 v3 : _Vector3 color : _Color
procedure
(DrawTriangleStrip3D points pointCount color) → _void points : (_pointer-to _Vector3) pointCount : _int color : _Color
procedure
(DrawCubeWires position width height length color) → _void position : _Vector3 width : _float height : _float length : _float color : _Color
procedure
(DrawCubeWiresV position size color) → _void
position : _Vector3 size : _Vector3 color : _Color
procedure
(DrawSphere centerPos radius color) → _void
centerPos : _Vector3 radius : _float color : _Color
procedure
(DrawSphereEx centerPos radius rings slices color) → _void centerPos : _Vector3 radius : _float rings : _int slices : _int color : _Color
procedure
(DrawSphereWires centerPos radius rings slices color) → _void centerPos : _Vector3 radius : _float rings : _int slices : _int color : _Color
procedure
(DrawCylinder position radiusTop radiusBottom height slices color) → _void position : _Vector3 radiusTop : _float radiusBottom : _float height : _float slices : _int color : _Color
procedure
(DrawCylinderEx startPos endPos startRadius endRadius sides color) → _void startPos : _Vector3 endPos : _Vector3 startRadius : _float endRadius : _float sides : _int color : _Color
procedure
(DrawCylinderWires position radiusTop radiusBottom height slices color) → _void position : _Vector3 radiusTop : _float radiusBottom : _float height : _float slices : _int color : _Color
procedure
(DrawCylinderWiresEx startPos endPos startRadius endRadius sides color) → _void startPos : _Vector3 endPos : _Vector3 startRadius : _float endRadius : _float sides : _int color : _Color
procedure
(DrawCapsule startPos endPos radius slices rings color) → _void startPos : _Vector3 endPos : _Vector3 radius : _float slices : _int rings : _int color : _Color
procedure
(DrawCapsuleWires startPos endPos radius slices rings color) → _void startPos : _Vector3 endPos : _Vector3 radius : _float slices : _int rings : _int color : _Color
procedure
(LoadModelFromMesh mesh) → _Model
mesh : _Mesh
procedure
(IsModelValid model) → _stdbool
model : _Model
procedure
(UnloadModel model) → _void
model : _Model
procedure
(GetModelBoundingBox model) → _BoundingBox
model : _Model
procedure
(DrawModelEx model position rotationAxis rotationAngle scale tint) → _void model : _Model position : _Vector3 rotationAxis : _Vector3 rotationAngle : _float scale : _Vector3 tint : _Color
procedure
(DrawModelWires model position scale tint) → _void
model : _Model position : _Vector3 scale : _float tint : _Color
procedure
(DrawModelWiresEx model position rotationAxis rotationAngle scale tint) → _void model : _Model position : _Vector3 rotationAxis : _Vector3 rotationAngle : _float scale : _Vector3 tint : _Color
procedure
(DrawModelPoints model position scale tint) → _void
model : _Model position : _Vector3 scale : _float tint : _Color
procedure
(DrawModelPointsEx model position rotationAxis rotationAngle scale tint) → _void model : _Model position : _Vector3 rotationAxis : _Vector3 rotationAngle : _float scale : _Vector3 tint : _Color
procedure
(DrawBoundingBox box color) → _void
box : _BoundingBox color : _Color
procedure
(DrawBillboard camera texture position scale tint) → _void camera : _Camera texture : _Texture2D position : _Vector3 scale : _float tint : _Color
procedure
(DrawBillboardRec camera texture source position size tint) → _void camera : _Camera texture : _Texture2D source : _Rectangle position : _Vector3 size : _Vector2 tint : _Color
procedure
(DrawBillboardPro camera texture source position up size origin rotation tint) → _void camera : _Camera texture : _Texture2D source : _Rectangle position : _Vector3 up : _Vector3 size : _Vector2 origin : _Vector2 rotation : _float tint : _Color
procedure
(UploadMesh mesh dynamic) → _void
mesh : (_pointer-to _Mesh) dynamic : _stdbool
procedure
(UpdateMeshBuffer mesh index data dataSize offset) → _void mesh : _Mesh index : _int data : (_pointer-to _void) dataSize : _int offset : _int
procedure
(UnloadMesh mesh) → _void
mesh : _Mesh
procedure
(DrawMeshInstanced mesh material transforms instances) → _void mesh : _Mesh material : _Material transforms : (_pointer-to _Matrix) instances : _int
procedure
(GetMeshBoundingBox mesh) → _BoundingBox
mesh : _Mesh
procedure
(GenMeshTangents mesh) → _void
mesh : (_pointer-to _Mesh)
procedure
(ExportMesh mesh fileName) → _stdbool
mesh : _Mesh fileName : _string
procedure
(ExportMeshAsCode mesh fileName) → _stdbool
mesh : _Mesh fileName : _string
procedure
(GenMeshPoly sides radius) → _Mesh
sides : _int radius : _float
procedure
(GenMeshPlane width length resX resZ) → _Mesh
width : _float length : _float resX : _int resZ : _int
procedure
(GenMeshCube width height length) → _Mesh
width : _float height : _float length : _float
procedure
(GenMeshSphere radius rings slices) → _Mesh
radius : _float rings : _int slices : _int
procedure
(GenMeshHemiSphere radius rings slices) → _Mesh
radius : _float rings : _int slices : _int
procedure
(GenMeshCylinder radius height slices) → _Mesh
radius : _float height : _float slices : _int
procedure
(GenMeshCone radius height slices) → _Mesh
radius : _float height : _float slices : _int
procedure
(GenMeshTorus radius size radSeg sides) → _Mesh
radius : _float size : _float radSeg : _int sides : _int
procedure
(GenMeshKnot radius size radSeg sides) → _Mesh
radius : _float size : _float radSeg : _int sides : _int
procedure
(GenMeshHeightmap heightmap size) → _Mesh
heightmap : _Image size : _Vector3
procedure
(GenMeshCubicmap cubicmap cubeSize) → _Mesh
cubicmap : _Image cubeSize : _Vector3
procedure
(LoadMaterials fileName materialCount) → (_pointer-to _Material)
fileName : _string materialCount : (_pointer-to _int)
procedure
procedure
(IsMaterialValid material) → _stdbool
material : _Material
procedure
(UnloadMaterial material) → _void
material : _Material
procedure
(SetMaterialTexture material mapType texture) → _void material : (_pointer-to _Material) mapType : _int texture : _Texture2D
procedure
(SetModelMeshMaterial model meshId materialId) → _void model : (_pointer-to _Model) meshId : _int materialId : _int
procedure
(LoadModelAnimations fileName animCount)
→ (_pointer-to _ModelAnimation) fileName : _string animCount : (_pointer-to _int)
procedure
(UpdateModelAnimation model anim frame) → _void
model : _Model anim : _ModelAnimation frame : _int
procedure
(UpdateModelAnimationBones model anim frame) → _void
model : _Model anim : _ModelAnimation frame : _int
procedure
(UnloadModelAnimation anim) → _void
anim : _ModelAnimation
procedure
(UnloadModelAnimations animations animCount) → _void animations : (_pointer-to _ModelAnimation) animCount : _int
procedure
(IsModelAnimationValid model anim) → _stdbool
model : _Model anim : _ModelAnimation
procedure
(CheckCollisionSpheres center1 radius1 center2 radius2) → _stdbool center1 : _Vector3 radius1 : _float center2 : _Vector3 radius2 : _float
procedure
(CheckCollisionBoxes box1 box2) → _stdbool
box1 : _BoundingBox box2 : _BoundingBox
procedure
(CheckCollisionBoxSphere box center radius) → _stdbool
box : _BoundingBox center : _Vector3 radius : _float
procedure
(GetRayCollisionSphere ray center radius) → _RayCollision
ray : _Ray center : _Vector3 radius : _float
procedure
(GetRayCollisionBox ray box) → _RayCollision
ray : _Ray box : _BoundingBox
procedure
(GetRayCollisionMesh ray mesh transform) → _RayCollision
ray : _Ray mesh : _Mesh transform : _Matrix
procedure
(GetRayCollisionTriangle ray p1 p2 p3) → _RayCollision
ray : _Ray p1 : _Vector3 p2 : _Vector3 p3 : _Vector3
procedure
(GetRayCollisionQuad ray p1 p2 p3 p4) → _RayCollision
ray : _Ray p1 : _Vector3 p2 : _Vector3 p3 : _Vector3 p4 : _Vector3
procedure
(InitAudioDevice) → _void
procedure
procedure
procedure
(SetMasterVolume volume) → _void
volume : _float
procedure
procedure
(LoadWaveFromMemory fileType fileData dataSize) → _Wave fileType : _string fileData : (_pointer-to _ubyte) dataSize : _int
procedure
(IsWaveValid wave) → _stdbool
wave : _Wave
procedure
(LoadSoundFromWave wave) → _Sound
wave : _Wave
procedure
(LoadSoundAlias source) → _Sound
source : _Sound
procedure
(IsSoundValid sound) → _stdbool
sound : _Sound
procedure
(UpdateSound sound data sampleCount) → _void
sound : _Sound data : (_pointer-to _void) sampleCount : _int
procedure
(UnloadWave wave) → _void
wave : _Wave
procedure
(UnloadSound sound) → _void
sound : _Sound
procedure
(UnloadSoundAlias alias) → _void
alias : _Sound
procedure
(ExportWave wave fileName) → _stdbool
wave : _Wave fileName : _string
procedure
(ExportWaveAsCode wave fileName) → _stdbool
wave : _Wave fileName : _string
procedure
(PauseSound sound) → _void
sound : _Sound
procedure
(ResumeSound sound) → _void
sound : _Sound
procedure
(IsSoundPlaying sound) → _stdbool
sound : _Sound
procedure
(SetSoundVolume sound volume) → _void
sound : _Sound volume : _float
procedure
(SetSoundPitch sound pitch) → _void
sound : _Sound pitch : _float
procedure
(SetSoundPan sound pan) → _void
sound : _Sound pan : _float
procedure
wave : (_pointer-to _Wave) initFrame : _int finalFrame : _int
procedure
(WaveFormat wave sampleRate sampleSize channels) → _void wave : (_pointer-to _Wave) sampleRate : _int sampleSize : _int channels : _int
procedure
(LoadWaveSamples wave) → (_pointer-to _float)
wave : _Wave
procedure
(UnloadWaveSamples samples) → _void
samples : (_pointer-to _float)
procedure
(LoadMusicStream fileName) → _Music
fileName : _string
procedure
(LoadMusicStreamFromMemory fileType data dataSize) → _Music fileType : _string data : (_pointer-to _ubyte) dataSize : _int
procedure
(IsMusicValid music) → _stdbool
music : _Music
procedure
(UnloadMusicStream music) → _void
music : _Music
procedure
(PlayMusicStream music) → _void
music : _Music
procedure
(IsMusicStreamPlaying music) → _stdbool
music : _Music
procedure
(UpdateMusicStream music) → _void
music : _Music
procedure
(StopMusicStream music) → _void
music : _Music
procedure
(PauseMusicStream music) → _void
music : _Music
procedure
(ResumeMusicStream music) → _void
music : _Music
procedure
(SeekMusicStream music position) → _void
music : _Music position : _float
procedure
(SetMusicVolume music volume) → _void
music : _Music volume : _float
procedure
(SetMusicPitch music pitch) → _void
music : _Music pitch : _float
procedure
(SetMusicPan music pan) → _void
music : _Music pan : _float
procedure
(GetMusicTimeLength music) → _float
music : _Music
procedure
(GetMusicTimePlayed music) → _float
music : _Music
procedure
(LoadAudioStream sampleRate sampleSize channels) → _AudioStream sampleRate : _uint sampleSize : _uint channels : _uint
procedure
(IsAudioStreamValid stream) → _stdbool
stream : _AudioStream
procedure
(UnloadAudioStream stream) → _void
stream : _AudioStream
procedure
(UpdateAudioStream stream data frameCount) → _void
stream : _AudioStream data : (_pointer-to _void) frameCount : _int
procedure
(IsAudioStreamProcessed stream) → _stdbool
stream : _AudioStream
procedure
(PlayAudioStream stream) → _void
stream : _AudioStream
procedure
(PauseAudioStream stream) → _void
stream : _AudioStream
procedure
(ResumeAudioStream stream) → _void
stream : _AudioStream
procedure
(IsAudioStreamPlaying stream) → _stdbool
stream : _AudioStream
procedure
(StopAudioStream stream) → _void
stream : _AudioStream
procedure
(SetAudioStreamVolume stream volume) → _void
stream : _AudioStream volume : _float
procedure
(SetAudioStreamPitch stream pitch) → _void
stream : _AudioStream pitch : _float
procedure
(SetAudioStreamPan stream pan) → _void
stream : _AudioStream pan : _float
procedure
(SetAudioStreamBufferSizeDefault size) → _void
size : _int
procedure
(SetAudioStreamCallback stream callback) → _void
stream : _AudioStream callback : _AudioCallback
procedure
(AttachAudioStreamProcessor stream processor) → _void stream : _AudioStream processor : _AudioCallback
procedure
(DetachAudioStreamProcessor stream processor) → _void stream : _AudioStream processor : _AudioCallback
procedure
(AttachAudioMixedProcessor processor) → _void
processor : _AudioCallback
procedure
(DetachAudioMixedProcessor processor) → _void
processor : _AudioCallback
2.2 Structs
(require raylib/generated/structs) | package: raylib |
2.2.1 Struct types
value
struct
(struct Vector2 (x y) #:constructor-name make-Vector2) x : _float y : _float
value
struct
(struct Vector3 (x y z) #:constructor-name make-Vector3) x : _float y : _float z : _float
value
struct
(struct Vector4 (x y z w) #:constructor-name make-Vector4) x : _float y : _float z : _float w : _float
value
struct
(struct Matrix ( m0 m4 m8 m12 m1 m5 m9 m13 m2 m6 m10 m14 m3 m7 m11 m15) #:constructor-name make-Matrix) 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 : _float
value
struct
(struct Color (r g b a) #:constructor-name make-Color) r : _ubyte g : _ubyte b : _ubyte a : _ubyte
value
struct
(struct Rectangle (x y width height) #:constructor-name make-Rectangle) x : _float y : _float width : _float height : _float
value
struct
(struct Image (data width height mipmaps format) #:constructor-name make-Image) data : (_pointer-to _void) width : _int height : _int mipmaps : _int format : _int
value
struct
(struct Texture (id width height mipmaps format) #:constructor-name make-Texture) id : _uint width : _int height : _int mipmaps : _int format : _int
value
struct
(struct RenderTexture (id texture depth) #:constructor-name make-RenderTexture) id : _uint texture : _Texture depth : _Texture
value
struct
(struct NPatchInfo (source left top right bottom layout) #:constructor-name make-NPatchInfo) source : _Rectangle left : _int top : _int right : _int bottom : _int layout : _int
value
struct
(struct GlyphInfo (value offsetX offsetY advanceX image) #:constructor-name make-GlyphInfo) value : _int offsetX : _int offsetY : _int advanceX : _int image : _Image
value
struct
(struct Font ( baseSize glyphCount glyphPadding texture recs glyphs) #:constructor-name make-Font) baseSize : _int glyphCount : _int glyphPadding : _int texture : _Texture2D recs : (_pointer-to _Rectangle) glyphs : (_pointer-to _GlyphInfo)
value
struct
(struct Camera3D (position target up fovy projection) #:constructor-name make-Camera3D) position : _Vector3 target : _Vector3 up : _Vector3 fovy : _float projection : _int
value
struct
(struct Camera2D (offset target rotation zoom) #:constructor-name make-Camera2D) offset : _Vector2 target : _Vector2 rotation : _float zoom : _float
value
struct
(struct Mesh ( vertexCount triangleCount vertices texcoords texcoords2 normals tangents colors indices animVertices animNormals boneIds boneWeights boneMatrices boneCount vaoId vboId) #:constructor-name make-Mesh) vertexCount : _int triangleCount : _int vertices : (_pointer-to _float) texcoords : (_pointer-to _float) texcoords2 : (_pointer-to _float) normals : (_pointer-to _float) tangents : (_pointer-to _float) colors : (_pointer-to _ubyte) indices : (_pointer-to _ushort) animVertices : (_pointer-to _float) animNormals : (_pointer-to _float) boneIds : (_pointer-to _ubyte) boneWeights : (_pointer-to _float) boneMatrices : (_pointer-to _Matrix) boneCount : _int vaoId : _uint vboId : (_pointer-to _uint)
value
struct
(struct Shader (id locs) #:constructor-name make-Shader) id : _uint locs : (_pointer-to _int)
value
struct
(struct MaterialMap (texture color value) #:constructor-name make-MaterialMap) texture : _Texture2D color : _Color value : _float
value
struct
(struct Material (shader maps params) #:constructor-name make-Material) shader : _Shader maps : (_pointer-to _MaterialMap) params : (_array _float 4)
value
struct
(struct Transform (translation rotation scale) #:constructor-name make-Transform) translation : _Vector3 rotation : _Quaternion scale : _Vector3
value
struct
(struct BoneInfo (name parent) #:constructor-name make-BoneInfo) name : (_array _byte 32) parent : _int
value
struct
(struct Model ( transform meshCount materialCount meshes materials meshMaterial boneCount bones bindPose) #:constructor-name make-Model) transform : _Matrix meshCount : _int materialCount : _int meshes : (_pointer-to _Mesh) materials : (_pointer-to _Material) meshMaterial : (_pointer-to _int) boneCount : _int bones : (_pointer-to _BoneInfo) bindPose : (_pointer-to _Transform)
value
struct
(struct ModelAnimation ( boneCount frameCount bones framePoses name) #:constructor-name make-ModelAnimation) boneCount : _int frameCount : _int bones : (_pointer-to _BoneInfo) framePoses : (_pointer-to (_pointer-to _Transform)) name : (_array _byte 32)
value
struct
(struct Ray (position direction) #:constructor-name make-Ray) position : _Vector3 direction : _Vector3
value
struct
(struct RayCollision (hit distance point normal) #:constructor-name make-RayCollision) hit : _stdbool distance : _float point : _Vector3 normal : _Vector3
value
struct
(struct BoundingBox (min max) #:constructor-name make-BoundingBox) min : _Vector3 max : _Vector3
value
struct
(struct Wave (frameCount sampleRate sampleSize channels data) #:constructor-name make-Wave) frameCount : _uint sampleRate : _uint sampleSize : _uint channels : _uint data : (_pointer-to _void)
value
struct
(struct AudioStream ( buffer processor sampleRate sampleSize channels) #:constructor-name make-AudioStream) buffer : (_pointer-to rAudioBuffer) processor : (_pointer-to rAudioProcessor) sampleRate : _uint sampleSize : _uint channels : _uint
value
struct
(struct Sound (stream frameCount) #:constructor-name make-Sound) stream : _AudioStream frameCount : _uint
value
struct
(struct Music (stream frameCount looping ctxType ctxData) #:constructor-name make-Music) stream : _AudioStream frameCount : _uint looping : _stdbool ctxType : _int ctxData : (_pointer-to _void)
value
struct
(struct VrDeviceInfo ( hResolution vResolution hScreenSize vScreenSize eyeToScreenDistance lensSeparationDistance interpupillaryDistance lensDistortionValues chromaAbCorrection) #:constructor-name make-VrDeviceInfo) hResolution : _int vResolution : _int hScreenSize : _float vScreenSize : _float eyeToScreenDistance : _float lensSeparationDistance : _float interpupillaryDistance : _float lensDistortionValues : (_array _float 4) chromaAbCorrection : (_array _float 4)
value
struct
(struct VrStereoConfig ( projection viewOffset leftLensCenter rightLensCenter leftScreenCenter rightScreenCenter scale scaleIn) #:constructor-name make-VrStereoConfig) projection : (_array _Matrix 2) viewOffset : (_array _Matrix 2) leftLensCenter : (_array _float 2) rightLensCenter : (_array _float 2) leftScreenCenter : (_array _float 2) rightScreenCenter : (_array _float 2) scale : (_array _float 2) scaleIn : (_array _float 2)
value
struct
(struct FilePathList (capacity count paths) #:constructor-name make-FilePathList) capacity : _uint count : _uint paths : (_pointer-to (_pointer-to _byte))
value
struct
(struct AutomationEvent (frame type params) #:constructor-name make-AutomationEvent) frame : _uint type : _uint params : (_array _int 4)
value
struct
(struct AutomationEventList (capacity count events) #:constructor-name make-AutomationEventList) capacity : _uint count : _uint events : (_pointer-to _AutomationEvent)
2.2.2 Type aliases
value
value
_Texture2D : ctype? = _Texture
value
value
value
2.2.3 Callback function types
value
=
(_fun [logLevel : _int] [text : _string] [args : _byte] -> _void)
value
=
(_fun [fileName : _string] [dataSize : (_pointer-to _int)] -> (_pointer-to _ubyte))
value
=
(_fun [fileName : _string] [data : (_pointer-to _void)] [dataSize : _int] -> _stdbool)
value
=
(_fun [fileName : _string] -> (_pointer-to _byte))
value
=
(_fun [fileName : _string] [text : (_pointer-to _byte)] -> _stdbool)
value
=
(_fun [bufferData : (_pointer-to _void)] [frames : _uint] -> _void)
2.3 Enums
(require raylib/generated/enums) | package: raylib |
2.3.1 System/Window config flags
value
value
FLAG_VSYNC_HINT : exact-integer? = 64
value
value
value
value
FLAG_WINDOW_HIDDEN : exact-integer? = 128
value
FLAG_WINDOW_MINIMIZED : exact-integer? = 512
value
FLAG_WINDOW_MAXIMIZED : exact-integer? = 1024
value
FLAG_WINDOW_UNFOCUSED : exact-integer? = 2048
value
FLAG_WINDOW_TOPMOST : exact-integer? = 4096
value
FLAG_WINDOW_ALWAYS_RUN : exact-integer? = 256
value
value
FLAG_WINDOW_HIGHDPI : exact-integer? = 8192
value
FLAG_WINDOW_MOUSE_PASSTHROUGH : exact-integer? = 16384
value
FLAG_BORDERLESS_WINDOWED_MODE : exact-integer? = 32768
value
FLAG_MSAA_4X_HINT : exact-integer? = 32
value
FLAG_INTERLACED_HINT : exact-integer? = 65536
2.3.2 Trace log level
value
value
LOG_ALL : exact-integer? = 0
value
LOG_TRACE : exact-integer? = 1
value
LOG_DEBUG : exact-integer? = 2
value
LOG_INFO : exact-integer? = 3
value
LOG_WARNING : exact-integer? = 4
value
LOG_ERROR : exact-integer? = 5
value
LOG_FATAL : exact-integer? = 6
value
LOG_NONE : exact-integer? = 7
2.3.3 Keyboard keys (US keyboard layout)
value
value
KEY_NULL : exact-integer? = 0
value
KEY_APOSTROPHE : exact-integer? = 39
value
KEY_COMMA : exact-integer? = 44
value
KEY_MINUS : exact-integer? = 45
value
KEY_PERIOD : exact-integer? = 46
value
KEY_SLASH : exact-integer? = 47
value
KEY_ZERO : exact-integer? = 48
value
KEY_ONE : exact-integer? = 49
value
KEY_TWO : exact-integer? = 50
value
KEY_THREE : exact-integer? = 51
value
KEY_FOUR : exact-integer? = 52
value
KEY_FIVE : exact-integer? = 53
value
KEY_SIX : exact-integer? = 54
value
KEY_SEVEN : exact-integer? = 55
value
KEY_EIGHT : exact-integer? = 56
value
KEY_NINE : exact-integer? = 57
value
KEY_SEMICOLON : exact-integer? = 59
value
KEY_EQUAL : exact-integer? = 61
value
KEY_A : exact-integer? = 65
value
KEY_B : exact-integer? = 66
value
KEY_C : exact-integer? = 67
value
KEY_D : exact-integer? = 68
value
KEY_E : exact-integer? = 69
value
KEY_F : exact-integer? = 70
value
KEY_G : exact-integer? = 71
value
KEY_H : exact-integer? = 72
value
KEY_I : exact-integer? = 73
value
KEY_J : exact-integer? = 74
value
KEY_K : exact-integer? = 75
value
KEY_L : exact-integer? = 76
value
KEY_M : exact-integer? = 77
value
KEY_N : exact-integer? = 78
value
KEY_O : exact-integer? = 79
value
KEY_P : exact-integer? = 80
value
KEY_Q : exact-integer? = 81
value
KEY_R : exact-integer? = 82
value
KEY_S : exact-integer? = 83
value
KEY_T : exact-integer? = 84
value
KEY_U : exact-integer? = 85
value
KEY_V : exact-integer? = 86
value
KEY_W : exact-integer? = 87
value
KEY_X : exact-integer? = 88
value
KEY_Y : exact-integer? = 89
value
KEY_Z : exact-integer? = 90
value
KEY_LEFT_BRACKET : exact-integer? = 91
value
KEY_BACKSLASH : exact-integer? = 92
value
KEY_RIGHT_BRACKET : exact-integer? = 93
value
KEY_GRAVE : exact-integer? = 96
value
KEY_SPACE : exact-integer? = 32
value
KEY_ESCAPE : exact-integer? = 256
value
KEY_ENTER : exact-integer? = 257
value
KEY_TAB : exact-integer? = 258
value
KEY_BACKSPACE : exact-integer? = 259
value
KEY_INSERT : exact-integer? = 260
value
KEY_DELETE : exact-integer? = 261
value
KEY_RIGHT : exact-integer? = 262
value
KEY_LEFT : exact-integer? = 263
value
KEY_DOWN : exact-integer? = 264
value
KEY_UP : exact-integer? = 265
value
KEY_PAGE_UP : exact-integer? = 266
value
KEY_PAGE_DOWN : exact-integer? = 267
value
KEY_HOME : exact-integer? = 268
value
KEY_END : exact-integer? = 269
value
KEY_CAPS_LOCK : exact-integer? = 280
value
KEY_SCROLL_LOCK : exact-integer? = 281
value
KEY_NUM_LOCK : exact-integer? = 282
value
KEY_PRINT_SCREEN : exact-integer? = 283
value
KEY_PAUSE : exact-integer? = 284
value
KEY_F1 : exact-integer? = 290
value
KEY_F2 : exact-integer? = 291
value
KEY_F3 : exact-integer? = 292
value
KEY_F4 : exact-integer? = 293
value
KEY_F5 : exact-integer? = 294
value
KEY_F6 : exact-integer? = 295
value
KEY_F7 : exact-integer? = 296
value
KEY_F8 : exact-integer? = 297
value
KEY_F9 : exact-integer? = 298
value
KEY_F10 : exact-integer? = 299
value
KEY_F11 : exact-integer? = 300
value
KEY_F12 : exact-integer? = 301
value
KEY_LEFT_SHIFT : exact-integer? = 340
value
KEY_LEFT_CONTROL : exact-integer? = 341
value
KEY_LEFT_ALT : exact-integer? = 342
value
KEY_LEFT_SUPER : exact-integer? = 343
value
KEY_RIGHT_SHIFT : exact-integer? = 344
value
KEY_RIGHT_CONTROL : exact-integer? = 345
value
KEY_RIGHT_ALT : exact-integer? = 346
value
KEY_RIGHT_SUPER : exact-integer? = 347
value
KEY_KB_MENU : exact-integer? = 348
value
KEY_KP_0 : exact-integer? = 320
value
KEY_KP_1 : exact-integer? = 321
value
KEY_KP_2 : exact-integer? = 322
value
KEY_KP_3 : exact-integer? = 323
value
KEY_KP_4 : exact-integer? = 324
value
KEY_KP_5 : exact-integer? = 325
value
KEY_KP_6 : exact-integer? = 326
value
KEY_KP_7 : exact-integer? = 327
value
KEY_KP_8 : exact-integer? = 328
value
KEY_KP_9 : exact-integer? = 329
value
KEY_KP_DECIMAL : exact-integer? = 330
value
KEY_KP_DIVIDE : exact-integer? = 331
value
KEY_KP_MULTIPLY : exact-integer? = 332
value
KEY_KP_SUBTRACT : exact-integer? = 333
value
KEY_KP_ADD : exact-integer? = 334
value
KEY_KP_ENTER : exact-integer? = 335
value
KEY_KP_EQUAL : exact-integer? = 336
value
KEY_BACK : exact-integer? = 4
value
KEY_MENU : exact-integer? = 5
value
KEY_VOLUME_UP : exact-integer? = 24
value
KEY_VOLUME_DOWN : exact-integer? = 25
2.3.4 Mouse buttons
value
value
value
value
value
value
value
value
2.3.5 Mouse cursor
value
value
value
value
value
value
value
value
value
value
value
value
2.3.6 Gamepad buttons
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
2.3.7 Gamepad axis
value
value
value
value
value
value
value
2.3.8 Material map index
value
value
value
value
value
value
value
value
value
value
value
value
MATERIAL_MAP_BRDF : exact-integer? = 10
2.3.9 Shader location index
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
2.3.10 Shader uniform data type
value
value
value
value
value
value
value
value
value
value
2.3.11 Shader attribute data types
value
value
value
value
value
2.3.12 Pixel formats
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
value
2.3.13 Texture parameters: filter mode
value
value
value
value
value
value
value
2.3.14 Texture parameters: wrap mode
value
value
value
value
value
2.3.15 Cubemap layouts
value
value
value
value
value
value
2.3.16 Font type, defines generation method
value
FONT_DEFAULT : exact-integer? = 0
value
FONT_BITMAP : exact-integer? = 1
value
FONT_SDF : exact-integer? = 2
2.3.17 Color blending modes (pre-defined)
value
value
BLEND_ALPHA : exact-integer? = 0
value
BLEND_ADDITIVE : exact-integer? = 1
value
value
value
value
value
BLEND_CUSTOM : exact-integer? = 6
value
2.3.18 Gesture
value
GESTURE_NONE : exact-integer? = 0
value
GESTURE_TAP : exact-integer? = 1
value
value
GESTURE_HOLD : exact-integer? = 4
value
GESTURE_DRAG : exact-integer? = 8
value
value
GESTURE_SWIPE_LEFT : exact-integer? = 32
value
GESTURE_SWIPE_UP : exact-integer? = 64
value
GESTURE_SWIPE_DOWN : exact-integer? = 128
value
GESTURE_PINCH_IN : exact-integer? = 256
value
GESTURE_PINCH_OUT : exact-integer? = 512
2.3.19 Camera system modes
value
value
CAMERA_CUSTOM : exact-integer? = 0
value
CAMERA_FREE : exact-integer? = 1
value
CAMERA_ORBITAL : exact-integer? = 2
value
value
2.3.20 Camera projection
value
value
value
2.3.21 N-patch layout
value
value
value
value
2.4 Constants
(require raylib/generated/constants) | package: raylib |
value
RAYLIB_VERSION : string? = "5.5"
value
LIGHTGRAY : Color? = (make-Color 200 200 200 255)
value
GRAY : Color? = (make-Color 130 130 130 255)
value
DARKGRAY : Color? = (make-Color 80 80 80 255)
value
YELLOW : Color? = (make-Color 253 249 0 255)
value
GOLD : Color? = (make-Color 255 203 0 255)
value
ORANGE : Color? = (make-Color 255 161 0 255)
value
PINK : Color? = (make-Color 255 109 194 255)
value
RED : Color? = (make-Color 230 41 55 255)
value
MAROON : Color? = (make-Color 190 33 55 255)
value
GREEN : Color? = (make-Color 0 228 48 255)
value
LIME : Color? = (make-Color 0 158 47 255)
value
DARKGREEN : Color? = (make-Color 0 117 44 255)
value
SKYBLUE : Color? = (make-Color 102 191 255 255)
value
BLUE : Color? = (make-Color 0 121 241 255)
value
DARKBLUE : Color? = (make-Color 0 82 172 255)
value
PURPLE : Color? = (make-Color 200 122 255 255)
value
VIOLET : Color? = (make-Color 135 60 190 255)
value
DARKPURPLE : Color? = (make-Color 112 31 126 255)
value
BEIGE : Color? = (make-Color 211 176 131 255)
value
BROWN : Color? = (make-Color 127 106 79 255)
value
DARKBROWN : Color? = (make-Color 76 63 47 255)
value
WHITE : Color? = (make-Color 255 255 255 255)
value
BLACK : Color? = (make-Color 0 0 0 255)
value
BLANK : Color? = (make-Color 0 0 0 0)
value
MAGENTA : Color? = (make-Color 255 0 255 255)
value
RAYWHITE : Color? = (make-Color 245 245 245 255)