RaylibCoreFlat<R extends RaylibBase> class
abstract
Backend-agnostic contract for the Raylib Core module.
Concrete platform implementations mix in or extend this to provide the full API surface across different backends.
- Inheritance
-
- Object
- RaylibModule<
R> - RaylibCoreFlat
- Implementers
Constructors
- RaylibCoreFlat(R rl)
Properties
-
$
→ RaylibTemp<
RaylibBase> -
See RaylibTemp.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- RaylibCaptureIds → _RaylibCoreDartCaptureIds
-
Capture ID generator for pointer slots allocated by this module.
final
- rl → R
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
BeginBlendMode(
int mode) → void - Begin blending mode (alpha, additive, multiplied, subtract, custom)
-
BeginDrawing(
) → void - Setup canvas (framebuffer) to start drawing
-
BeginMode2D(
Camera2DD camera) → void - Begin 2D mode with custom camera (2D)
-
BeginMode3D(
Camera3DD camera) → void - Begin 3D mode with custom camera (3D)
-
BeginScissorMode(
int x, int y, int width, int height) → void - Begin scissor mode (define screen area for following drawing)
-
BeginShaderMode(
ShaderD shader) → void - Begin custom shader drawing
-
BeginTextureMode(
RenderTextureD target) → void - Begin drawing to render texture
-
BeginVrStereoMode(
VrStereoConfigD config) → void - Begin stereo rendering (requires VR simulator)
-
ChangeDirectory(
MemoryPointer< RInt8> dir) → bool - Change working directory, return true on success
-
CheckCollisionBoxes(
BoundingBoxD box1, BoundingBoxD box2) → bool - Check collision between two bounding boxes
-
CheckCollisionBoxSphere(
BoundingBoxD box, Vector3D center, double radius) → bool - Check collision between box and sphere
-
CheckCollisionCircleLine(
Vector2D center, double radius, Vector2D p1, Vector2D p2) → bool -
Check if circle collides with a line created betweeen two points
p1andp2 -
CheckCollisionCircleRec(
Vector2D center, double radius, RectangleD rec) → bool - Check collision between circle and rectangle
-
CheckCollisionCircles(
Vector2D center1, double radius1, Vector2D center2, double radius2) → bool - Check collision between two circles
-
CheckCollisionLines(
Vector2D startPos1, Vector2D endPos1, Vector2D startPos2, Vector2D endPos2, StructPointer< Vector2D> collisionPoint) → bool - Check the collision between two lines defined by two points each, returns collision point by reference
-
CheckCollisionPointCircle(
Vector2D point, Vector2D center, double radius) → bool - Check if point is inside circle
-
CheckCollisionPointLine(
Vector2D point, Vector2D p1, Vector2D p2, int threshold) → bool -
Check if point belongs to line created between two points
p1andp2with defined margin in pixelsthreshold -
CheckCollisionPointPoly(
Vector2D point, StructPointer< Vector2D> points, int pointCount) → bool - Check if point is within a polygon described by array of vertices
-
CheckCollisionPointRec(
Vector2D point, RectangleD rec) → bool - Check if point is inside rectangle
-
CheckCollisionPointTriangle(
Vector2D point, Vector2D p1, Vector2D p2, Vector2D p3) → bool - Check if point is inside a triangle
-
CheckCollisionRecs(
RectangleD rec1, RectangleD rec2) → bool - Check collision between two rectangles
-
CheckCollisionSpheres(
Vector3D center1, double radius1, Vector3D center2, double radius2) → bool - Check collision between two spheres
-
ClearBackground(
ColorD color) → void - Set background color (framebuffer clear color)
-
ClearWindowState(
int flags) → void - Clear window configuration state flags
-
CloseWindow(
) → void - Close window and unload OpenGL context
-
CodepointToUTF8(
int codepoint, MemoryPointer< RInt32> utf8Size) → MemoryPointer<RInt8> - Encode one codepoint into UTF-8 byte array (array length returned as parameter)
-
ColorAlpha(
ColorD color, double alpha) → ColorD - Get color with alpha applied, alpha goes from 0.0 to 1.0
-
ColorAlphaBlend(
ColorD dst, ColorD src, ColorD tint) → ColorD - Get src alpha-blended into dst color with tint
-
ColorBrightness(
ColorD color, double factor) → ColorD - Get color with brightness correction, brightness factor goes from -1.0 to 1.0
-
ColorContrast(
ColorD color, double contrast) → ColorD - Get color with contrast correction, contrast values between -1.0 and 1.0
-
ColorFromHSV(
double hue, double saturation, double value) → ColorD -
Get a Color from HSV values, hue
0..360, saturation/value0..1 -
ColorFromNormalized(
Vector4D normalized) → ColorD -
Get Color from normalized values
0..1 -
ColorIsEqual(
ColorD col1, ColorD col2) → bool - Check if two colors are equal
-
ColorLerp(
ColorD color1, ColorD color2, double factor) → ColorD -
Get color lerp interpolation between two colors, factor
0.0..1.0 -
ColorNormalize(
ColorD color) → Vector4D -
Get Color normalized as float
0..1 -
ColorTint(
ColorD color, ColorD tint) → ColorD - Get color multiplied with another color
-
ColorToHSV(
ColorD color) → Vector3D -
Get HSV values for a Color, hue
0..360, saturation/value0..1 -
ColorToInt(
ColorD color) → int - Get hexadecimal value for a Color (0xRRGGBBAA)
-
CompressData(
MemoryPointer< RUint8> data, int dataSize, MemoryPointer<RInt32> compDataSize) → MemoryPointer<RUint8> - Compress data (DEFLATE algorithm)
-
ComputeCRC32(
MemoryPointer< RUint8> data, int dataSize) → int - Compute CRC32 hash code
-
ComputeMD5(
MemoryPointer< RUint8> data, int dataSize) → MemoryPointer<RUint32> - Compute MD5 hash code
-
ComputeSHA1(
MemoryPointer< RUint8> data, int dataSize) → MemoryPointer<RUint32> - Compute SHA1 hash code
-
ComputeSHA256(
MemoryPointer< RUint8> data, int dataSize) → MemoryPointer<RUint32> - Compute SHA256 hash code
-
debug(
bool v) → void -
Enables or disables debug logging for this module.
inherited
-
debugError(
String message) → void -
Logs
messageat error level if debug is enabled andmessagepasses all filters.inherited -
debugFilter(
bool filter(String)) → void -
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
-
debugInfo(
String message) → void -
Logs
messageat info level if debug is enabled andmessagepasses all filters.inherited -
debugTime(
bool v) → void -
Enables or disables per-call timing output alongside debug logs.
inherited
-
debugWarn(
String message) → void -
Logs
messageat warn level if debug is enabled andmessagepasses all filters.inherited -
DecodeDataBase64(
MemoryPointer< RInt8> data, MemoryPointer<RInt32> outputSize) → MemoryPointer<RUint8> - Decode Base64 string data
-
DecompressData(
MemoryPointer< RUint8> compData, int compDataSize, MemoryPointer<RInt32> dataSize) → MemoryPointer<RUint8> - Decompress data (DEFLATE algorithm)
-
DirectoryExists(
MemoryPointer< RInt8> dirPath) → bool - Check if a directory path exists
-
DisableCursor(
) → void - Disables cursor (lock cursor)
-
DisableEventWaiting(
) → void - Disable waiting for events on EndDrawing(), automatic events polling
-
disableSync<
T> (T f()) → T -
Executes
fwith RaylibTemp syncing temporarily disabled, restoring the previous sync state afterward.inherited -
dispose(
) → void -
Calls all registered onDispose callbacks and clears them.
override
-
disposeStructWithOpFreed<
D extends RaylibStruct< (D> >D struct, void fn(StructPointer< D> ptr)) → void -
Disposes
struct, invokesfnwith its underlying pointer, and then frees the temporary allocation backing the pointer, if any.inherited -
disposeStructWithOpUnslotted<
D extends RaylibStruct< (D> >D struct, void fn(StructPointer< D> ptr)) → void -
Disposes
struct, invokesfnwith its underlying pointer, and then unslots the temporary allocation backing the pointer, if any.inherited -
DrawBillboard(
Camera3DD camera, TextureD texture, Vector3D position, double scale, ColorD tint) → void - Draw a billboard texture
-
DrawBillboardPro(
Camera3DD camera, TextureD texture, RectangleD source, Vector3D position, Vector3D up, Vector2D size, Vector2D origin, double rotation, ColorD tint) → void - Draw a billboard texture defined by source and rotation
-
DrawBillboardRec(
Camera3DD camera, TextureD texture, RectangleD source, Vector3D position, Vector2D size, ColorD tint) → void - Draw a billboard texture defined by source
-
DrawBoundingBox(
BoundingBoxD box, ColorD color) → void - Draw bounding box (wires)
-
DrawCapsule(
Vector3D startPos, Vector3D endPos, double radius, int slices, int rings, ColorD color) → void - Draw a capsule with the center of its sphere caps at startPos and endPos
-
DrawCapsuleWires(
Vector3D startPos, Vector3D endPos, double radius, int slices, int rings, ColorD color) → void - Draw capsule wireframe with the center of its sphere caps at startPos and endPos
-
DrawCircle(
int centerX, int centerY, double radius, ColorD color) → void - Draw a color-filled circle
-
DrawCircle3D(
Vector3D center, double radius, Vector3D rotationAxis, double rotationAngle, ColorD color) → void - Draw a circle in 3D world space
-
DrawCircleGradient(
Vector2D center, double radius, ColorD inner, ColorD outer) → void - Draw a gradient-filled circle
-
DrawCircleLines(
int centerX, int centerY, double radius, ColorD color) → void - Draw circle outline
-
DrawCircleLinesV(
Vector2D center, double radius, ColorD color) → void - Draw circle outline (Vector version)
-
DrawCircleSector(
Vector2D center, double radius, double startAngle, double endAngle, int segments, ColorD color) → void - Draw a piece of a circle
-
DrawCircleSectorLines(
Vector2D center, double radius, double startAngle, double endAngle, int segments, ColorD color) → void - Draw circle sector outline
-
DrawCircleV(
Vector2D center, double radius, ColorD color) → void - Draw a color-filled circle (Vector version)
-
DrawCube(
Vector3D position, double width, double height, double length, ColorD color) → void - Draw cube
-
DrawCubeV(
Vector3D position, Vector3D size, ColorD color) → void - Draw cube (Vector version)
-
DrawCubeWires(
Vector3D position, double width, double height, double length, ColorD color) → void - Draw cube wires
-
DrawCubeWiresV(
Vector3D position, Vector3D size, ColorD color) → void - Draw cube wires (Vector version)
-
DrawCylinder(
Vector3D position, double radiusTop, double radiusBottom, double height, int slices, ColorD color) → void - Draw a cylinder/cone
-
DrawCylinderEx(
Vector3D startPos, Vector3D endPos, double startRadius, double endRadius, int sides, ColorD color) → void - Draw a cylinder with base at startPos and top at endPos
-
DrawCylinderWires(
Vector3D position, double radiusTop, double radiusBottom, double height, int slices, ColorD color) → void - Draw a cylinder/cone wires
-
DrawCylinderWiresEx(
Vector3D startPos, Vector3D endPos, double startRadius, double endRadius, int sides, ColorD color) → void - Draw a cylinder wires with base at startPos and top at endPos
-
DrawEllipse(
int centerX, int centerY, double radiusH, double radiusV, ColorD color) → void - Draw ellipse
-
DrawEllipseLines(
int centerX, int centerY, double radiusH, double radiusV, ColorD color) → void - Draw ellipse outline
-
DrawEllipseLinesV(
Vector2D center, double radiusH, double radiusV, ColorD color) → void - Draw ellipse outline (Vector version)
-
DrawEllipseV(
Vector2D center, double radiusH, double radiusV, ColorD color) → void - Draw ellipse (Vector version)
-
DrawFPS(
int posX, int posY) → void - Draw current FPS
-
DrawGrid(
int slices, double spacing) → void - Draw a grid (centered at (0, 0, 0))
-
DrawLine(
int startPosX, int startPosY, int endPosX, int endPosY, ColorD color) → void - Draw a line
-
DrawLine3D(
Vector3D startPos, Vector3D endPos, ColorD color) → void - Draw a line in 3D world space
-
DrawLineBezier(
Vector2D startPos, Vector2D endPos, double thick, ColorD color) → void - Draw line segment cubic-bezier in-out interpolation
-
DrawLineDashed(
Vector2D startPos, Vector2D endPos, int dashSize, int spaceSize, ColorD color) → void - Draw a dashed line
-
DrawLineEx(
Vector2D startPos, Vector2D endPos, double thick, ColorD color) → void - Draw a line (using triangles/quads)
-
DrawLineStrip(
StructPointer< Vector2D> points, int pointCount, ColorD color) → void - Draw lines sequence (using gl lines)
-
DrawLineV(
Vector2D startPos, Vector2D endPos, ColorD color) → void - Draw a line (using gl lines)
-
DrawMesh(
MeshD mesh, MaterialD material, MatrixD transform) → void - Draw a 3d mesh with material and transform
-
DrawMeshInstanced(
MeshD mesh, MaterialD material, StructPointer< MatrixD> transforms, int instances) → void - Draw multiple mesh instances with material and different transforms
-
DrawModel(
ModelD model, Vector3D position, double scale, ColorD tint) → void - Draw a model (with texture if set)
-
DrawModelEx(
ModelD model, Vector3D position, Vector3D rotationAxis, double rotationAngle, Vector3D scale, ColorD tint) → void - Draw a model with extended parameters
-
DrawModelWires(
ModelD model, Vector3D position, double scale, ColorD tint) → void - Draw a model wires (with texture if set)
-
DrawModelWiresEx(
ModelD model, Vector3D position, Vector3D rotationAxis, double rotationAngle, Vector3D scale, ColorD tint) → void - Draw a model wires (with texture if set) with extended parameters
-
DrawPixel(
int posX, int posY, ColorD color) → void -
Draw a pixel using geometry
Can be slow, use with care -
DrawPixelV(
Vector2D position, ColorD color) → void -
Draw a pixel using geometry (Vector version)
Can be slow, use with care -
DrawPlane(
Vector3D centerPos, Vector2D size, ColorD color) → void - Draw a plane XZ
-
DrawPoint3D(
Vector3D position, ColorD color) → void - Draw a point in 3D space, actually a small line
-
DrawPoly(
Vector2D center, int sides, double radius, double rotation, ColorD color) → void - Draw a regular polygon (Vector version)
-
DrawPolyLines(
Vector2D center, int sides, double radius, double rotation, ColorD color) → void - Draw a polygon outline of n sides
-
DrawPolyLinesEx(
Vector2D center, int sides, double radius, double rotation, double lineThick, ColorD color) → void - Draw a polygon outline of n sides with extended parameters
-
DrawRay(
RayD ray, ColorD color) → void - Draw a ray line
-
DrawRectangle(
int posX, int posY, int width, int height, ColorD color) → void - Draw a color-filled rectangle
-
DrawRectangleGradientEx(
RectangleD rec, ColorD topLeft, ColorD bottomLeft, ColorD topRight, ColorD bottomRight) → void - Draw a gradient-filled rectangle with custom vertex colors
-
DrawRectangleGradientH(
int posX, int posY, int width, int height, ColorD left, ColorD right) → void - Draw a horizontal-gradient-filled rectangle
-
DrawRectangleGradientV(
int posX, int posY, int width, int height, ColorD top, ColorD bottom) → void - Draw a vertical-gradient-filled rectangle
-
DrawRectangleLines(
int posX, int posY, int width, int height, ColorD color) → void - Draw rectangle outline
-
DrawRectangleLinesEx(
RectangleD rec, double lineThick, ColorD color) → void - Draw rectangle outline with extended parameters
-
DrawRectanglePro(
RectangleD rec, Vector2D origin, double rotation, ColorD color) → void - Draw a color-filled rectangle with pro parameters
-
DrawRectangleRec(
RectangleD rec, ColorD color) → void - Draw a color-filled rectangle
-
DrawRectangleRounded(
RectangleD rec, double roundness, int segments, ColorD color) → void - Draw rectangle with rounded edges
-
DrawRectangleRoundedLines(
RectangleD rec, double roundness, int segments, ColorD color) → void - Draw rectangle lines with rounded edges
-
DrawRectangleRoundedLinesEx(
RectangleD rec, double roundness, int segments, double lineThick, ColorD color) → void - Draw rectangle with rounded edges outline
-
DrawRectangleV(
Vector2D position, Vector2D size, ColorD color) → void - Draw a color-filled rectangle (Vector version)
-
DrawRing(
Vector2D center, double innerRadius, double outerRadius, double startAngle, double endAngle, int segments, ColorD color) → void - Draw ring
-
DrawRingLines(
Vector2D center, double innerRadius, double outerRadius, double startAngle, double endAngle, int segments, ColorD color) → void - Draw ring outline
-
DrawSphere(
Vector3D centerPos, double radius, ColorD color) → void - Draw sphere
-
DrawSphereEx(
Vector3D centerPos, double radius, int rings, int slices, ColorD color) → void - Draw sphere with extended parameters
-
DrawSphereWires(
Vector3D centerPos, double radius, int rings, int slices, ColorD color) → void - Draw sphere wires
-
DrawSplineBasis(
StructPointer< Vector2D> points, int pointCount, double thick, ColorD color) → void - Draw spline: B-Spline, minimum 4 points
-
DrawSplineBezierCubic(
StructPointer< Vector2D> points, int pointCount, double thick, ColorD color) → void -
Draw spline: Cubic Bezier, minimum 4 points (2 control points):
p1, c2, c3, p4, c5, c6... -
DrawSplineBezierQuadratic(
StructPointer< Vector2D> points, int pointCount, double thick, ColorD color) → void -
Draw spline: Quadratic Bezier, minimum 3 points (1 control point):
p1, c2, p3, c4... -
DrawSplineCatmullRom(
StructPointer< Vector2D> points, int pointCount, double thick, ColorD color) → void - Draw spline: Catmull-Rom, minimum 4 points
-
DrawSplineLinear(
StructPointer< Vector2D> points, int pointCount, double thick, ColorD color) → void - Draw spline: Linear, minimum 2 points
-
DrawSplineSegmentBasis(
Vector2D p1, Vector2D p2, Vector2D p3, Vector2D p4, double thick, ColorD color) → void - Draw spline segment: B-Spline, 4 points
-
DrawSplineSegmentBezierCubic(
Vector2D p1, Vector2D c2, Vector2D c3, Vector2D p4, double thick, ColorD color) → void - Draw spline segment: Cubic Bezier, 2 points, 2 control points
-
DrawSplineSegmentBezierQuadratic(
Vector2D p1, Vector2D c2, Vector2D p3, double thick, ColorD color) → void - Draw spline segment: Quadratic Bezier, 2 points, 1 control point
-
DrawSplineSegmentCatmullRom(
Vector2D p1, Vector2D p2, Vector2D p3, Vector2D p4, double thick, ColorD color) → void - Draw spline segment: Catmull-Rom, 4 points
-
DrawSplineSegmentLinear(
Vector2D p1, Vector2D p2, double thick, ColorD color) → void - Draw spline segment: Linear, 2 points
-
DrawText(
MemoryPointer< RInt8> text, int posX, int posY, int fontSize, ColorD color) → void - Draw text (using default font)
-
DrawTextCodepoint(
FontD font, int codepoint, Vector2D position, double fontSize, ColorD tint) → void - Draw one character (codepoint)
-
DrawTextCodepoints(
FontD font, MemoryPointer< RInt32> codepoints, int codepointCount, Vector2D position, double fontSize, double spacing, ColorD tint) → void - Draw multiple character (codepoint)
-
DrawTextEx(
FontD font, MemoryPointer< RInt8> text, Vector2D position, double fontSize, double spacing, ColorD tint) → void - Draw text using font and additional parameters
-
DrawTextPro(
FontD font, MemoryPointer< RInt8> text, Vector2D position, Vector2D origin, double rotation, double fontSize, double spacing, ColorD tint) → void - Draw text using Font and pro parameters (rotation)
-
DrawTexture(
TextureD texture, int posX, int posY, ColorD tint) → void - Draw a Texture2D
-
DrawTextureEx(
TextureD texture, Vector2D position, double rotation, double scale, ColorD tint) → void - Draw a Texture2D with extended parameters
-
DrawTextureNPatch(
TextureD texture, NPatchInfoD nPatchInfo, RectangleD dest, Vector2D origin, double rotation, ColorD tint) → void - Draws a texture (or part of it) that stretches or shrinks nicely
-
DrawTexturePro(
TextureD texture, RectangleD source, RectangleD dest, Vector2D origin, double rotation, ColorD tint) → void - Draw a part of a texture defined by a rectangle with 'pro' parameters
-
DrawTextureRec(
TextureD texture, RectangleD source, Vector2D position, ColorD tint) → void - Draw a part of a texture defined by a rectangle
-
DrawTextureV(
TextureD texture, Vector2D position, ColorD tint) → void - Draw a Texture2D with position defined as Vector2
-
DrawTriangle(
Vector2D v1, Vector2D v2, Vector2D v3, ColorD color) → void - Draw a color-filled triangle (vertex in counter-clockwise order!)
-
DrawTriangle3D(
Vector3D v1, Vector3D v2, Vector3D v3, ColorD color) → void - Draw a color-filled triangle (vertex in counter-clockwise order!)
-
DrawTriangleFan(
StructPointer< Vector2D> points, int pointCount, ColorD color) → void - Draw a triangle fan defined by points (first vertex is the center)
-
DrawTriangleLines(
Vector2D v1, Vector2D v2, Vector2D v3, ColorD color) → void - Draw triangle outline (vertex in counter-clockwise order!)
-
DrawTriangleStrip(
StructPointer< Vector2D> points, int pointCount, ColorD color) → void - Draw a triangle strip defined by points
-
DrawTriangleStrip3D(
StructPointer< Vector3D> points, int pointCount, ColorD color) → void - Draw a triangle strip defined by points
-
EnableCursor(
) → void - Enables cursor (unlock cursor)
-
EnableEventWaiting(
) → void - Enable waiting for events on EndDrawing(), no automatic event polling
-
EncodeDataBase64(
MemoryPointer< RUint8> data, int dataSize, MemoryPointer<RInt32> outputSize) → MemoryPointer<RInt8> - Encode data to Base64 string
-
EndBlendMode(
) → void - End blending mode (reset to default: alpha blending)
-
EndDrawing(
) → void - End canvas drawing and swap buffers (double buffering)
-
EndMode2D(
) → void - Ends 2D mode with custom camera
-
EndMode3D(
) → void - Ends 3D mode and returns to default 2D orthographic mode
-
EndScissorMode(
) → void - End scissor mode
-
EndShaderMode(
) → void - End custom shader drawing (use default shader)
-
EndTextureMode(
) → void - Ends drawing to render texture
-
EndVrStereoMode(
) → void - End stereo rendering (requires VR simulator)
-
ExportAutomationEventList(
AutomationEventListD list, MemoryPointer< RInt8> fileName) → bool - Export automation events list as text file
-
ExportDataAsCode(
MemoryPointer< RUint8> data, int dataSize, MemoryPointer<RInt8> fileName) → bool - Export data to code (.h), returns true on success
-
ExportFontAsCode(
FontD font, MemoryPointer< RInt8> fileName) → bool - Export font as code file, returns true on success
-
ExportImage(
ImageD image, MemoryPointer< RInt8> fileName) → bool - Export image data to file, returns true on success
-
ExportImageAsCode(
ImageD image, MemoryPointer< RInt8> fileName) → bool - Export image as code file defining an array of bytes, returns true on success
-
ExportImageToMemory(
ImageD image, MemoryPointer< RInt8> fileType, MemoryPointer<RInt32> fileSize) → MemoryPointer<RUint8> - Export image to memory buffer
-
ExportMesh(
MeshD mesh, MemoryPointer< RInt8> fileName) → bool - Export mesh data to file, returns true on success
-
ExportMeshAsCode(
MeshD mesh, MemoryPointer< RInt8> fileName) → bool - Export mesh as code file (.h) defining multiple arrays of vertex attributes
-
Fade(
ColorD color, double alpha) → ColorD - Get color with alpha applied, alpha goes from 0.0 to 1.0
-
FileCopy(
MemoryPointer< RInt8> srcPath, MemoryPointer<RInt8> dstPath) → int - Copy file from one path to another, dstPath created if it doesn't exist
-
FileExists(
MemoryPointer< RInt8> fileName) → bool - Check if file exists
-
FileMove(
MemoryPointer< RInt8> srcPath, MemoryPointer<RInt8> dstPath) → int - Move file from one directory to another, dstPath created if it doesn't exist
-
FileRemove(
MemoryPointer< RInt8> fileName) → int - Remove file (if exists)
-
FileRename(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt8> fileRename) → int - Rename file (if exists)
-
FileTextFindIndex(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt8> search) → int - Find text in existing file
-
FileTextReplace(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt8> search, MemoryPointer<RInt8> replacement) → int - Replace text in an existing file
-
GenImageCellular(
int width, int height, int tileSize) → ImageD - Generate image: cellular algorithm, bigger tileSize means bigger cells
-
GenImageChecked(
int width, int height, int checksX, int checksY, ColorD col1, ColorD col2) → ImageD - Generate image: checked
-
GenImageColor(
int width, int height, ColorD color) → ImageD - Generate image: plain color
-
GenImageFontAtlas(
StructPointer< GlyphInfoD> glyphs, MemoryPointer<RPointer< glyphRecs, int glyphCount, int fontSize, int padding, int packMethod) → ImageDRStruct> > - Generate image font atlas using chars info
-
GenImageGradientLinear(
int width, int height, int direction, ColorD start, ColorD end) → ImageD -
Generate image: linear gradient, direction in degrees
0..360, 0=Vertical gradient -
GenImageGradientRadial(
int width, int height, double density, ColorD inner, ColorD outer) → ImageD - Generate image: radial gradient
-
GenImageGradientSquare(
int width, int height, double density, ColorD inner, ColorD outer) → ImageD - Generate image: square gradient
-
GenImagePerlinNoise(
int width, int height, int offsetX, int offsetY, double scale) → ImageD - Generate image: perlin noise
-
GenImageText(
int width, int height, MemoryPointer< RInt8> text) → ImageD - Generate image: grayscale image from text data
-
GenImageWhiteNoise(
int width, int height, double factor) → ImageD - Generate image: white noise
-
GenMeshCone(
double radius, double height, int slices) → MeshD - Generate cone/pyramid mesh
-
GenMeshCube(
double width, double height, double length) → MeshD - Generate cuboid mesh
-
GenMeshCubicmap(
ImageD cubicmap, Vector3D cubeSize) → MeshD - Generate cubes-based map mesh from image data
-
GenMeshCylinder(
double radius, double height, int slices) → MeshD - Generate cylinder mesh
-
GenMeshHeightmap(
ImageD heightmap, Vector3D size) → MeshD - Generate heightmap mesh from image data
-
GenMeshHemiSphere(
double radius, int rings, int slices) → MeshD - Generate half-sphere mesh (no bottom cap)
-
GenMeshKnot(
double radius, double size, int radSeg, int sides) → MeshD - Generate trefoil knot mesh
-
GenMeshPlane(
double width, double length, int resX, int resZ) → MeshD - Generate plane mesh (with subdivisions)
-
GenMeshPoly(
int sides, double radius) → MeshD - Generate polygonal mesh
-
GenMeshSphere(
double radius, int rings, int slices) → MeshD - Generate sphere mesh (standard sphere)
-
GenMeshTangents(
StructPointer< MeshD> mesh) → void - Compute mesh tangents
-
GenMeshTorus(
double radius, double size, int radSeg, int sides) → MeshD - Generate torus mesh
-
GenTextureMipmaps(
StructPointer< TextureD> texture) → void - Generate GPU mipmaps for a texture
-
GetApplicationDirectory(
) → MemoryPointer< RInt8> - Get the directory of the running application
-
GetCameraMatrix(
Camera3DD camera) → MatrixD - Get camera transform matrix (view matrix)
-
GetCameraMatrix2D(
Camera2DD camera) → MatrixD - Get camera 2d transform matrix
-
GetCharPressed(
) → int - Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
-
GetClipboardImage(
) → ImageD - Get clipboard image content
-
GetClipboardText(
) → MemoryPointer< RInt8> - Get clipboard text content
-
GetCodepoint(
MemoryPointer< RInt8> text, MemoryPointer<RInt32> codepointSize) → int - Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
-
GetCodepointCount(
MemoryPointer< RInt8> text) → int - Get total number of codepoints in a UTF-8 encoded string
-
GetCodepointNext(
MemoryPointer< RInt8> text, MemoryPointer<RInt32> codepointSize) → int - Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
-
GetCodepointPrevious(
MemoryPointer< RInt8> text, MemoryPointer<RInt32> codepointSize) → int - Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
-
GetCollisionRec(
RectangleD rec1, RectangleD rec2) → RectangleD - Get collision rectangle for two rectangles collision
-
GetColor(
int hexValue) → ColorD - Get Color structure from hexadecimal value
-
GetCurrentMonitor(
) → int - Get current monitor where window is placed
-
GetDirectoryFileCount(
MemoryPointer< RInt8> dirPath) → int - Get the file count in a directory
-
GetDirectoryFileCountEx(
MemoryPointer< RInt8> basePath, MemoryPointer<RInt8> filter, bool scanSubdirs) → int - Get the file count in a directory with extension filtering and recursive directory scan.
-
GetDirectoryPath(
MemoryPointer< RInt8> filePath) → MemoryPointer<RInt8> - Get full path for a given fileName with path
-
GetFileExtension(
MemoryPointer< RInt8> fileName) → MemoryPointer<RInt8> - Get extension for a filename (includes dot: '.png')
-
GetFileLength(
MemoryPointer< RInt8> fileName) → int - Get file length in bytes
-
GetFileModTime(
MemoryPointer< RInt8> fileName) → int - Get file modification time (last write time)
-
GetFileName(
MemoryPointer< RInt8> filePath) → MemoryPointer<RInt8> - Get filename for a path string
-
GetFileNameWithoutExt(
MemoryPointer< RInt8> filePath) → MemoryPointer<RInt8> - Get filename without extension
-
GetFontDefault(
) → FontD - Get the default Font
-
GetFPS(
) → int - Get current FPS
-
GetFrameTime(
) → double - Get time in seconds for last frame drawn (delta time)
-
GetGamepadAxisCount(
int gamepad) → int - Get gamepad axis count for a gamepad
-
GetGamepadAxisMovement(
int gamepad, int axis) → double - Get axis movement value for a gamepad axis
-
GetGamepadButtonPressed(
) → int - Get the last gamepad button pressed
-
GetGamepadName(
int gamepad) → MemoryPointer< RInt8> - Get gamepad internal name id
-
GetGestureDetected(
) → int - Get latest detected gesture
-
GetGestureDragAngle(
) → double - Get gesture drag angle
-
GetGestureDragVector(
) → Vector2D - Get gesture drag vector
-
GetGestureHoldDuration(
) → double - Get gesture hold time in seconds
-
GetGesturePinchAngle(
) → double - Get gesture pinch angle
-
GetGesturePinchVector(
) → Vector2D - Get gesture pinch delta
-
GetGlyphAtlasRec(
FontD font, int codepoint) → RectangleD - Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found
-
GetGlyphIndex(
FontD font, int codepoint) → int - Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found
-
GetGlyphInfo(
FontD font, int codepoint) → GlyphInfoD - Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found
-
GetImageAlphaBorder(
ImageD image, double threshold) → RectangleD - Get image alpha border rectangle
-
GetImageColor(
ImageD image, int x, int y) → ColorD - Get image pixel color at (x, y) position
-
GetKeyName(
int key) → MemoryPointer< RInt8> - Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)
-
GetKeyPressed(
) → int - Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
-
GetMeshBoundingBox(
MeshD mesh) → BoundingBoxD - Compute mesh bounding box limits
-
GetModelBoundingBox(
ModelD model) → BoundingBoxD - Compute model bounding box limits (considers all meshes)
-
GetMonitorCount(
) → int - Get number of connected monitors
-
GetMonitorHeight(
int monitor) → int - Get specified monitor height (current video mode used by monitor)
-
GetMonitorName(
int monitor) → MemoryPointer< RInt8> - Get the human-readable, UTF-8 encoded name of the specified monitor
-
GetMonitorPhysicalHeight(
int monitor) → int - Get specified monitor physical height in millimetres
-
GetMonitorPhysicalWidth(
int monitor) → int - Get specified monitor physical width in millimetres
-
GetMonitorPosition(
int monitor) → Vector2D - Get specified monitor position
-
GetMonitorRefreshRate(
int monitor) → int - Get specified monitor refresh rate
-
GetMonitorWidth(
int monitor) → int - Get specified monitor width (current video mode used by monitor)
-
GetMouseDelta(
) → Vector2D - Get mouse delta between frames
-
GetMousePosition(
) → Vector2D - Get mouse position XY
-
GetMouseWheelMove(
) → double - Get mouse wheel movement for X or Y, whichever is larger
-
GetMouseWheelMoveV(
) → Vector2D - Get mouse wheel movement for both X and Y
-
GetMouseX(
) → int - Get mouse position X
-
GetMouseY(
) → int - Get mouse position Y
-
GetPixelColor(
MemoryPointer< RVoid> srcPtr, int format) → ColorD - Get Color from a source pixel pointer of certain format
-
GetPixelDataSize(
int width, int height, int format) → int - Get pixel data size in bytes for certain format
-
GetPrevDirectoryPath(
MemoryPointer< RInt8> dirPath) → MemoryPointer<RInt8> - Get previous directory path for a given path
-
GetRandomValue(
int min, int max) → int - Get a random value between min and max (both included)
-
GetRayCollisionBox(
RayD ray, BoundingBoxD box) → RayCollisionD - Get collision info between ray and box
-
GetRayCollisionMesh(
RayD ray, MeshD mesh, MatrixD transform) → RayCollisionD - Get collision info between ray and mesh
-
GetRayCollisionQuad(
RayD ray, Vector3D p1, Vector3D p2, Vector3D p3, Vector3D p4) → RayCollisionD - Get collision info between ray and quad
-
GetRayCollisionSphere(
RayD ray, Vector3D center, double radius) → RayCollisionD - Get collision info between ray and sphere
-
GetRayCollisionTriangle(
RayD ray, Vector3D p1, Vector3D p2, Vector3D p3) → RayCollisionD - Get collision info between ray and triangle
-
GetRenderHeight(
) → int - Get current render height (it considers HiDPI)
-
GetRenderWidth(
) → int - Get current render width (it considers HiDPI)
-
GetScreenHeight(
) → int - Get current screen height
-
GetScreenToWorld2D(
Vector2D position, Camera2DD camera) → Vector2D - Get the world space position for a 2d camera screen space position
-
GetScreenToWorldRay(
Vector2D position, Camera3DD camera) → RayD - Get a ray trace from screen position (i.e mouse)
-
GetScreenToWorldRayEx(
Vector2D position, Camera3DD camera, int width, int height) → RayD - Get a ray trace from screen position (i.e mouse) in a viewport
-
GetScreenWidth(
) → int - Get current screen width
-
GetShaderLocation(
ShaderD shader, MemoryPointer< RInt8> uniformName) → int - Get shader uniform location
-
GetShaderLocationAttrib(
ShaderD shader, MemoryPointer< RInt8> attribName) → int - Get shader attribute location
-
GetShapesTexture(
) → TextureD - Get texture that is used for shapes drawing
-
GetShapesTextureRectangle(
) → RectangleD - Get texture source rectangle that is used for shapes drawing
-
GetSplinePointBasis(
Vector2D p1, Vector2D p2, Vector2D p3, Vector2D p4, double t) → Vector2D - Get (evaluate) spline point: B-Spline
-
GetSplinePointBezierCubic(
Vector2D p1, Vector2D c2, Vector2D c3, Vector2D p4, double t) → Vector2D - Get (evaluate) spline point: Cubic Bezier
-
GetSplinePointBezierQuad(
Vector2D p1, Vector2D c2, Vector2D p3, double t) → Vector2D - Get (evaluate) spline point: Quadratic Bezier
-
GetSplinePointCatmullRom(
Vector2D p1, Vector2D p2, Vector2D p3, Vector2D p4, double t) → Vector2D - Get (evaluate) spline point: Catmull-Rom
-
GetSplinePointLinear(
Vector2D startPos, Vector2D endPos, double t) → Vector2D - Get (evaluate) spline point: Linear
-
GetTextBetween(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> begin, MemoryPointer<RInt8> end) → MemoryPointer<RInt8> - Get text between two strings
-
GetTime(
) → double - Get elapsed time in seconds since InitWindow()
-
GetTouchPointCount(
) → int - Get number of touch points
-
GetTouchPointId(
int index) → int - Get touch point identifier for given index
-
GetTouchPosition(
int index) → Vector2D - Get touch position XY for a touch point index (relative to screen size)
-
GetTouchX(
) → int - Get touch position X for touch point 0 (relative to screen size)
-
GetTouchY(
) → int - Get touch position Y for touch point 0 (relative to screen size)
-
GetWindowHandle(
) → MemoryPointer< RVoid> - Get native window handle
-
GetWindowPosition(
) → Vector2D - Get window position XY on monitor
-
GetWindowScaleDPI(
) → Vector2D - Get window scale DPI factor
-
GetWorkingDirectory(
) → MemoryPointer< RInt8> - Get current working directory
-
GetWorldToScreen(
Vector3D position, Camera3DD camera) → Vector2D - Get the screen space position for a 3d world space position
-
GetWorldToScreen2D(
Vector2D position, Camera2DD camera) → Vector2D - Get the screen space position for a 2d camera world space position
-
GetWorldToScreenEx(
Vector3D position, Camera3DD camera, int width, int height) → Vector2D - Get size position for a 3d world space position
-
HideCursor(
) → void - Hides cursor
-
ImageAlphaClear(
StructPointer< ImageD> image, ColorD color, double threshold) → void - Clear alpha channel to desired color
-
ImageAlphaCrop(
StructPointer< ImageD> image, double threshold) → void - Crop image depending on alpha value
-
ImageAlphaMask(
StructPointer< ImageD> image, ImageD alphaMask) → void - Apply alpha mask to image
-
ImageAlphaPremultiply(
StructPointer< ImageD> image) → void - Premultiply alpha channel
-
ImageBlurGaussian(
StructPointer< ImageD> image, int blurSize) → void - Apply Gaussian blur using a box blur approximation
-
ImageClearBackground(
StructPointer< ImageD> dst, ColorD color) → void - Clear image background with given color
-
ImageColorBrightness(
StructPointer< ImageD> image, int brightness) → void - Modify image color: brightness (-255 to 255)
-
ImageColorContrast(
StructPointer< ImageD> image, double contrast) → void - Modify image color: contrast (-100 to 100)
-
ImageColorGrayscale(
StructPointer< ImageD> image) → void - Modify image color: grayscale
-
ImageColorInvert(
StructPointer< ImageD> image) → void - Modify image color: invert
-
ImageColorReplace(
StructPointer< ImageD> image, ColorD color, ColorD replace) → void - Modify image color: replace color
-
ImageColorTint(
StructPointer< ImageD> image, ColorD color) → void - Modify image color: tint
-
ImageCopy(
ImageD image) → ImageD - Create an image duplicate (useful for transformations)
-
ImageCrop(
StructPointer< ImageD> image, RectangleD crop) → void - Crop an image to a defined rectangle
-
ImageDither(
StructPointer< ImageD> image, int rBpp, int gBpp, int bBpp, int aBpp) → void - Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
-
ImageDraw(
StructPointer< ImageD> dst, ImageD src, RectangleD srcRec, RectangleD dstRec, ColorD tint) → void - Draw a source image within a destination image (tint applied to source)
-
ImageDrawCircle(
StructPointer< ImageD> dst, int centerX, int centerY, int radius, ColorD color) → void - Draw a filled circle within an image
-
ImageDrawCircleLines(
StructPointer< ImageD> dst, int centerX, int centerY, int radius, ColorD color) → void - Draw circle outline within an image
-
ImageDrawCircleLinesV(
StructPointer< ImageD> dst, Vector2D center, int radius, ColorD color) → void - Draw circle outline within an image (Vector version)
-
ImageDrawCircleV(
StructPointer< ImageD> dst, Vector2D center, int radius, ColorD color) → void - Draw a filled circle within an image (Vector version)
-
ImageDrawLine(
StructPointer< ImageD> dst, int startPosX, int startPosY, int endPosX, int endPosY, ColorD color) → void - Draw line within an image
-
ImageDrawLineEx(
StructPointer< ImageD> dst, Vector2D start, Vector2D end, int thick, ColorD color) → void - Draw a line defining thickness within an image
-
ImageDrawLineV(
StructPointer< ImageD> dst, Vector2D start, Vector2D end, ColorD color) → void - Draw line within an image (Vector version)
-
ImageDrawPixel(
StructPointer< ImageD> dst, int posX, int posY, ColorD color) → void - Draw pixel within an image
-
ImageDrawPixelV(
StructPointer< ImageD> dst, Vector2D position, ColorD color) → void - Draw pixel within an image (Vector version)
-
ImageDrawRectangle(
StructPointer< ImageD> dst, int posX, int posY, int width, int height, ColorD color) → void - Draw rectangle within an image
-
ImageDrawRectangleLines(
StructPointer< ImageD> dst, RectangleD rec, int thick, ColorD color) → void - Draw rectangle lines within an image
-
ImageDrawRectangleRec(
StructPointer< ImageD> dst, RectangleD rec, ColorD color) → void - Draw rectangle within an image
-
ImageDrawRectangleV(
StructPointer< ImageD> dst, Vector2D position, Vector2D size, ColorD color) → void - Draw rectangle within an image (Vector version)
-
ImageDrawText(
StructPointer< ImageD> dst, MemoryPointer<RInt8> text, int posX, int posY, int fontSize, ColorD color) → void - Draw text (using default font) within an image (destination)
-
ImageDrawTextEx(
StructPointer< ImageD> dst, FontD font, MemoryPointer<RInt8> text, Vector2D position, double fontSize, double spacing, ColorD tint) → void - Draw text (custom sprite font) within an image (destination)
-
ImageDrawTriangle(
StructPointer< ImageD> dst, Vector2D v1, Vector2D v2, Vector2D v3, ColorD color) → void - Draw triangle within an image
-
ImageDrawTriangleEx(
StructPointer< ImageD> dst, Vector2D v1, Vector2D v2, Vector2D v3, ColorD c1, ColorD c2, ColorD c3) → void - Draw triangle with interpolated colors within an image
-
ImageDrawTriangleFan(
StructPointer< ImageD> dst, StructPointer<Vector2D> points, int pointCount, ColorD color) → void - Draw a triangle fan defined by points within an image (first vertex is the center)
-
ImageDrawTriangleLines(
StructPointer< ImageD> dst, Vector2D v1, Vector2D v2, Vector2D v3, ColorD color) → void - Draw triangle outline within an image
-
ImageDrawTriangleStrip(
StructPointer< ImageD> dst, StructPointer<Vector2D> points, int pointCount, ColorD color) → void - Draw a triangle strip defined by points within an image
-
ImageFlipHorizontal(
StructPointer< ImageD> image) → void - Flip image horizontally
-
ImageFlipVertical(
StructPointer< ImageD> image) → void - Flip image vertically
-
ImageFormat(
StructPointer< ImageD> image, int newFormat) → void - Convert image data to desired format
-
ImageFromChannel(
ImageD image, int selectedChannel) → ImageD - Create an image from a selected channel of another image (GRAYSCALE)
-
ImageFromImage(
ImageD image, RectangleD rec) → ImageD - Create an image from another image piece
-
ImageKernelConvolution(
StructPointer< ImageD> image, MemoryPointer<RFloat32> kernel, int kernelSize) → void - Apply custom square convolution kernel to image
-
ImageMipmaps(
StructPointer< ImageD> image) → void - Compute all mipmap levels for a provided image
-
ImageResize(
StructPointer< ImageD> image, int newWidth, int newHeight) → void - Resize image (Bicubic scaling algorithm)
-
ImageResizeCanvas(
StructPointer< ImageD> image, int newWidth, int newHeight, int offsetX, int offsetY, ColorD fill) → void - Resize canvas and fill with color
-
ImageResizeNN(
StructPointer< ImageD> image, int newWidth, int newHeight) → void - Resize image (Nearest-Neighbor scaling algorithm)
-
ImageRotate(
StructPointer< ImageD> image, int degrees) → void - Rotate image by input angle in degrees (-359 to 359)
-
ImageRotateCCW(
StructPointer< ImageD> image) → void - Rotate image counter-clockwise 90deg
-
ImageRotateCW(
StructPointer< ImageD> image) → void - Rotate image clockwise 90deg
-
ImageText(
MemoryPointer< RInt8> text, int fontSize, ColorD color) → ImageD - Create an image from text (default font)
-
ImageTextEx(
FontD font, MemoryPointer< RInt8> text, double fontSize, double spacing, ColorD tint) → ImageD - Create an image from text (custom sprite font)
-
ImageToPOT(
StructPointer< ImageD> image, ColorD fill) → void - Convert image to POT (power-of-two)
-
InitWindow(
int width, int height, MemoryPointer< RInt8> title) → void - Initialize window and OpenGL context
-
IsCursorHidden(
) → bool - Check if cursor is not visible
-
IsCursorOnScreen(
) → bool - Check if cursor is on the screen
-
IsFileDropped(
) → bool - Check if a file has been dropped into window
-
IsFileExtension(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt8> ext) → bool - Check file extension (including point: .png, .wav)
-
IsFileNameValid(
MemoryPointer< RInt8> fileName) → bool - Check if fileName is valid for the platform/OS
-
IsFontValid(
FontD font) → bool - Check if a font is valid (font data loaded, WARNING: GPU texture not checked)
-
IsGamepadAvailable(
int gamepad) → bool - Check if a gamepad is available
-
IsGamepadButtonDown(
int gamepad, int button) → bool - Check if a gamepad button is being pressed
-
IsGamepadButtonPressed(
int gamepad, int button) → bool - Check if a gamepad button has been pressed once
-
IsGamepadButtonReleased(
int gamepad, int button) → bool - Check if a gamepad button has been released once
-
IsGamepadButtonUp(
int gamepad, int button) → bool - Check if a gamepad button is NOT being pressed
-
IsGestureDetected(
int gesture) → bool - Check if a gesture have been detected
-
IsImageValid(
ImageD image) → bool - Check if an image is valid (data and parameters)
-
IsKeyDown(
int key) → bool - Check if a key is being pressed
-
IsKeyPressed(
int key) → bool - Check if a key has been pressed once
-
IsKeyPressedRepeat(
int key) → bool - Check if a key has been pressed again
-
IsKeyReleased(
int key) → bool - Check if a key has been released once
-
IsKeyUp(
int key) → bool - Check if a key is NOT being pressed
-
IsMaterialValid(
MaterialD material) → bool - Check if a material is valid (shader assigned, map textures loaded in GPU)
-
IsModelAnimationValid(
ModelD model, ModelAnimationD anim) → bool - Check model animation skeleton match
-
IsModelValid(
ModelD model) → bool - Check if a model is valid (loaded in GPU, VAO/VBOs)
-
IsMouseButtonDown(
int button) → bool - Check if a mouse button is being pressed
-
IsMouseButtonPressed(
int button) → bool - Check if a mouse button has been pressed once
-
IsMouseButtonReleased(
int button) → bool - Check if a mouse button has been released once
-
IsMouseButtonUp(
int button) → bool - Check if a mouse button is NOT being pressed
-
IsPathFile(
MemoryPointer< RInt8> path) → bool - Check if a given path is a file or a directory
-
IsRenderTextureValid(
RenderTextureD target) → bool - Check if a render texture is valid (loaded in GPU)
-
IsShaderValid(
ShaderD shader) → bool - Check if a shader is valid (loaded on GPU)
-
IsTextureValid(
TextureD texture) → bool - Check if a texture is valid (loaded in GPU)
-
IsWindowFocused(
) → bool - Check if window is currently focused
-
IsWindowFullscreen(
) → bool - Check if window is currently fullscreen
-
IsWindowHidden(
) → bool - Check if window is currently hidden
-
IsWindowMaximized(
) → bool - Check if window is currently maximized
-
IsWindowMinimized(
) → bool - Check if window is currently minimized
-
IsWindowReady(
) → bool - Check if window has been initialized successfully
-
IsWindowResized(
) → bool - Check if window has been resized last frame
-
IsWindowState(
int flag) → bool - Check if one specific window flag is enabled
-
load(
) → void -
Override to perform one-time module initialization.
inherited
-
LoadAutomationEventList(
MemoryPointer< RInt8> fileName) → AutomationEventListD - Load automation events list from file, NULL for empty list
-
LoadCodepoints(
MemoryPointer< RInt8> text, MemoryPointer<RInt32> count) → MemoryPointer<RInt32> - Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
-
LoadDirectoryFiles(
MemoryPointer< RInt8> dirPath) → FilePathListD - Load directory filepaths
-
LoadDirectoryFilesEx(
MemoryPointer< RInt8> basePath, MemoryPointer<RInt8> filter, bool scanSubdirs) → FilePathListD - Load directory filepaths with extension filtering and recursive directory scan.
-
LoadDroppedFiles(
) → FilePathListD - Load dropped filepaths
-
LoadFileData(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt32> dataSize) → MemoryPointer<RUint8> - Load file data as byte array (read)
-
LoadFileText(
MemoryPointer< RInt8> fileName) → MemoryPointer<RInt8> - Load text data from file (read)
-
LoadFont(
MemoryPointer< RInt8> fileName) → FontD - Load font from file into GPU memory (VRAM)
-
LoadFontData(
MemoryPointer< RUint8> fileData, int dataSize, int fontSize, MemoryPointer<RInt32> codepoints, int codepointCount, int type, MemoryPointer<RInt32> glyphCount) → StructPointer<GlyphInfoD> - Load font data for further use
-
LoadFontEx(
MemoryPointer< RInt8> fileName, int fontSize, MemoryPointer<RInt32> codepoints, int codepointCount) → FontD - Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height
-
LoadFontFromImage(
ImageD image, ColorD key, int firstChar) → FontD - Load font from Image (XNA style)
-
LoadFontFromMemory(
MemoryPointer< RInt8> fileType, MemoryPointer<RUint8> fileData, int dataSize, int fontSize, MemoryPointer<RInt32> codepoints, int codepointCount) → FontD - Load font from memory buffer, fileType refers to extension: i.e. '.ttf'
-
LoadImage(
MemoryPointer< RInt8> fileName) → ImageD - Load image from file into CPU memory (RAM)
-
LoadImageAnim(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt32> frames) → ImageD - Load image sequence from file (frames appended to image.data)
-
LoadImageAnimFromMemory(
MemoryPointer< RInt8> fileType, MemoryPointer<RUint8> fileData, int dataSize, MemoryPointer<RInt32> frames) → ImageD - Load image sequence from memory buffer
-
LoadImageColors(
ImageD image) → StructPointer< ColorD> - Load color data from image as a Color array (RGBA - 32bit)
-
LoadImageFromMemory(
MemoryPointer< RInt8> fileType, MemoryPointer<RUint8> fileData, int dataSize) → ImageD - Load image from memory buffer, fileType refers to extension: i.e. '.png'
-
LoadImageFromScreen(
) → ImageD - Load image from screen buffer and (screenshot)
-
LoadImageFromTexture(
TextureD texture) → ImageD - Load image from GPU texture data
-
LoadImagePalette(
ImageD image, int maxPaletteSize, MemoryPointer< RInt32> colorCount) → StructPointer<ColorD> - Load colors palette from image as a Color array (RGBA - 32bit)
-
LoadImageRaw(
MemoryPointer< RInt8> fileName, int width, int height, int format, int headerSize) → ImageD - Load image from RAW file data
-
LoadMaterialDefault(
) → MaterialD - Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
-
LoadMaterials(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt32> materialCount) → StructPointer<MaterialD> - Load materials from model file
-
LoadModel(
MemoryPointer< RInt8> fileName) → ModelD - Load model from files (meshes and materials)
-
LoadModelAnimations(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt32> animCount) → StructPointer<ModelAnimationD> - Load model animations from file
-
LoadModelFromMesh(
MeshD mesh) → ModelD - Load model from generated mesh (default material)
-
LoadRandomSequence(
int count, int min, int max) → MemoryPointer< RInt32> - Load random values sequence, no values repeated, min and max included
-
LoadRenderTexture(
int width, int height) → RenderTextureD - Load texture for rendering (framebuffer)
-
LoadShader(
MemoryPointer< RInt8> vsFileName, MemoryPointer<RInt8> fsFileName) → ShaderD - Load shader from files and bind default locations
-
LoadShaderFromMemory(
MemoryPointer< RInt8> vsCode, MemoryPointer<RInt8> fsCode) → ShaderD - Load shader from code strings and bind default locations
-
LoadTextLines(
MemoryPointer< RInt8> text, MemoryPointer<RInt32> count) → MemoryPointer<RPointer< RChar> > - Load text as separate lines ('\n')
-
LoadTexture(
MemoryPointer< RInt8> fileName) → TextureD - Load texture from file into GPU memory (VRAM)
-
LoadTextureCubemap(
ImageD image, int layout) → TextureD - Load cubemap from image, multiple image cubemap layouts supported
-
LoadTextureFromImage(
ImageD image) → TextureD - Load texture from image data
-
LoadUTF8(
MemoryPointer< RInt32> codepoints, int length) → MemoryPointer<RInt8> - Load UTF-8 text encoded from codepoints array
-
LoadVrStereoConfig(
VrDeviceInfoD device) → VrStereoConfigD - Load VR stereo config for VR simulator device parameters
-
logError(
Object? message) → void -
inherited
-
logInfo(
Object? message) → void -
inherited
-
logWarn(
Object? message) → void -
inherited
-
MakeDirectory(
MemoryPointer< RInt8> dirPath) → int - Create directories (including full path requested), returns 0 on success
-
MaximizeWindow(
) → void - Set window state: maximized, if ConfigFlags.FLAG_WINDOW_RESIZABLE
-
MeasureText(
MemoryPointer< RInt8> text, int fontSize) → int - Measure string width for default font
-
MeasureTextCodepoints(
FontD font, MemoryPointer< RInt32> codepoints, int length, double fontSize, double spacing) → Vector2D - Measure string size for an existing array of codepoints for Font
-
MeasureTextEx(
FontD font, MemoryPointer< RInt8> text, double fontSize, double spacing) → Vector2D - Measure string size for Font
-
MinimizeWindow(
) → void - Set window state: minimized, if ConfigFlags.FLAG_WINDOW_RESIZABLE
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
void fn()) → void -
Registers
fnto be called when this module is disposed.inherited -
OpenURL(
MemoryPointer< RInt8> url) → void - Open URL with default system browser (if available)
-
PlayAutomationEvent(
AutomationEventD event) → void - Play a recorded automation event
-
PollInputEvents(
) → void - Register all input events
-
ProcessGestureEvent(
GestureEventD event) → void - Process gesture event and translate it into gestures
-
RestoreWindow(
) → void - Set window state: not minimized/maximized
-
run<
T> (String name(), T f()) → T -
Executes
f, logging its label (and optionally timing it) when debug is enabled and the label passes all filters.inherited -
SaveFileData(
MemoryPointer< RInt8> fileName, MemoryPointer<RVoid> data, int dataSize) → bool - Save data to file from byte array (write), returns true on success
-
SaveFileText(
MemoryPointer< RInt8> fileName, MemoryPointer<RInt8> text) → bool - Save text data to file (write), returns true on success
-
SetAutomationEventBaseFrame(
int frame) → void - Set automation event internal base frame to start recording
-
SetAutomationEventList(
StructPointer< AutomationEventListD> list) → void - Set automation event list to record to
-
SetClipboardText(
MemoryPointer< RInt8> text) → void - Set clipboard text content
-
SetConfigFlags(
int flags) → void - Setup init configuration flags (view ConfigFlags)
-
SetExitKey(
int key) → void - Set a custom key to exit program (default is ESC)
-
SetGamepadMappings(
MemoryPointer< RInt8> mappings) → int - Set internal gamepad mappings (SDL_GameControllerDB)
-
SetGamepadVibration(
int gamepad, double leftMotor, double rightMotor, double duration) → void - Set gamepad vibration for both motors (duration in seconds)
-
SetGesturesEnabled(
int flags) → void - Enable a set of gestures using flags Gesture
-
SetLoadFileDataCallback(
MemoryPointer< RFunction< callback) → voidLoadFileDataCallbackBase> > - Set custom file binary data loader
-
SetLoadFileTextCallback(
MemoryPointer< RFunction< callback) → voidLoadFileTextCallbackBase> > - Set custom file text data loader
-
SetMaterialTexture(
StructPointer< MaterialD> material, int mapType, TextureD texture) → void - Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
-
SetModelMeshMaterial(
StructPointer< ModelD> model, int meshId, int materialId) → void - Set material for a mesh
-
SetMouseCursor(
int cursor) → void - Set mouse cursor
-
SetMouseOffset(
int offsetX, int offsetY) → void - Set mouse offset
-
SetMousePosition(
int x, int y) → void - Set mouse position XY
-
SetMouseScale(
double scaleX, double scaleY) → void - Set mouse scaling
-
SetPixelColor(
MemoryPointer< RVoid> dstPtr, ColorD color, int format) → void - Set color formatted into destination pixel pointer
-
SetRandomSeed(
int seed) → void - Set the seed for the random number generator
-
SetSaveFileDataCallback(
MemoryPointer< RFunction< callback) → voidSaveFileDataCallbackBase> > - Set custom file binary data saver
-
SetSaveFileTextCallback(
MemoryPointer< RFunction< callback) → voidSaveFileTextCallbackBase> > - Set custom file text data saver
-
SetShaderValue(
ShaderD shader, int locIndex, MemoryPointer< RVoid> value, int uniformType) → void - Set shader uniform value
-
SetShaderValueMatrix(
ShaderD shader, int locIndex, MatrixD mat) → void - Set shader uniform value (matrix 4x4)
-
SetShaderValueTexture(
ShaderD shader, int locIndex, TextureD texture) → void - Set shader uniform value for texture (sampler2d)
-
SetShaderValueV(
ShaderD shader, int locIndex, MemoryPointer< RVoid> value, int uniformType, int count) → void - Set shader uniform value vector
-
SetShapesTexture(
TextureD texture, RectangleD source) → void - Set texture and rectangle to be used on shapes drawing
-
SetTargetFPS(
int fps) → void - Set target FPS (maximum)
-
SetTextLineSpacing(
int spacing) → void - Set vertical line spacing when drawing with line-breaks
-
SetTextureFilter(
TextureD texture, int filter) → void - Set texture scaling filter mode
-
SetTextureWrap(
TextureD texture, int wrap) → void - Set texture wrapping mode
-
SetTraceLogCallback(
MemoryPointer< RFunction< callback) → voidTraceLogCallbackBase> > - Set custom trace log
-
SetTraceLogLevel(
int logLevel) → void - Set the current threshold (minimum) log level
-
SetWindowFocused(
) → void - Set window focused
-
SetWindowIcon(
ImageD image) → void - Set icon for window (single image, RGBA 32bit)
-
SetWindowIcons(
StructPointer< ImageD> images, int count) → void - Set icon for window (multiple images, RGBA 32bit)
-
SetWindowMaxSize(
int width, int height) → void - Set window maximum dimensions (for ConfigFlags.FLAG_WINDOW_RESIZABLE)
-
SetWindowMinSize(
int width, int height) → void - Set window minimum dimensions (for ConfigFlags.FLAG_WINDOW_RESIZABLE)
-
SetWindowMonitor(
int monitor) → void - Set monitor for the current window
-
SetWindowOpacity(
double opacity) → void -
Set window opacity
0.0..1.0 -
SetWindowPosition(
int x, int y) → void - Set window position on screen
-
SetWindowSize(
int width, int height) → void - Set window dimensions
-
SetWindowState(
int flags) → void - Set window configuration state using flags
-
SetWindowTitle(
MemoryPointer< RInt8> title) → void - Set title for window
-
ShowCursor(
) → void - Shows cursor
-
StartAutomationEventRecording(
) → void - Start recording automation events (AutomationEventList must be set)
-
StopAutomationEventRecording(
) → void - Stop recording automation events
-
SwapScreenBuffer(
) → void - Swap back buffer with front buffer (screen drawing)
-
TakeScreenshot(
MemoryPointer< RInt8> fileName) → void - Takes a screenshot of current screen (filename extension defines format)
-
TextAppend(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> append, MemoryPointer<RInt32> position) → void - Append text at specific position and move cursor
-
TextCopy(
MemoryPointer< RInt8> dst, MemoryPointer<RInt8> src) → int - Copy one string to another, returns bytes copied
-
TextFindIndex(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> find) → int - Find first text occurrence within a string, -1 if not found
-
TextFormat(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Text formatting with variables (sprintf() style)
-
TextInsert(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> insert, int position) → MemoryPointer<RInt8> - Insert text in a defined byte position
-
TextInsertAlloc(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> insert, int position) → MemoryPointer<RInt8> - Insert text in a defined byte position, memory must be freed
-
TextIsEqual(
MemoryPointer< RInt8> text1, MemoryPointer<RInt8> text2) → bool - Check if two text string are equal
-
TextJoin(
MemoryPointer< RPointer< textList, int count, MemoryPointer<RChar> >RInt8> delimiter) → MemoryPointer<RInt8> -
Join text strings with delimiter (
delimiteris expected to be length of 1) -
TextLength(
MemoryPointer< RInt8> text) → int - Get text length
-
TextRemoveSpaces(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Remove text spaces, concat words
-
TextReplace(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> replace, MemoryPointer<RInt8> by) → MemoryPointer<RInt8> - Replace text string with new string
-
TextReplaceAlloc(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> replace, MemoryPointer<RInt8> by) → MemoryPointer<RInt8> - Replace text string with new string, memory must be freed
-
TextReplaceBetween(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> begin, MemoryPointer<RInt8> end, MemoryPointer<RInt8> replacement) → MemoryPointer<RInt8> - Replace text between two specific strings
-
TextReplaceBetweenAlloc(
MemoryPointer< RInt8> text, MemoryPointer<RInt8> begin, MemoryPointer<RInt8> end, MemoryPointer<RInt8> replacement) → MemoryPointer<RInt8> - Replace text between two specific strings, memory must be freed
-
TextSplit(
MemoryPointer< RInt8> text, int delimiter, MemoryPointer<RInt32> count) → MemoryPointer<RPointer< RChar> > - Split text into multiple strings
-
TextSubtext(
MemoryPointer< RInt8> text, int position, int length) → MemoryPointer<RInt8> - Get a piece of a text string
-
TextToCamel(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Get Camel case notation version of provided string
-
TextToFloat(
MemoryPointer< RInt8> text) → double - Get float value from text
-
TextToInteger(
MemoryPointer< RInt8> text) → int - Get integer value from text
-
TextToLower(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Get lower case version of provided string
-
TextToPascal(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Get Pascal case notation version of provided string
-
TextToSnake(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Get Snake case notation version of provided string
-
TextToUpper(
MemoryPointer< RInt8> text) → MemoryPointer<RInt8> - Get upper case version of provided string
-
ToggleBorderlessWindowed(
) → void - Toggle window state: borderless windowed, resizes window to match monitor resolution
-
ToggleFullscreen(
) → void - Toggle window state: fullscreen/windowed, resizes monitor to match window resolution
-
toString(
) → String -
A string representation of this object.
inherited
-
TraceLog(
int logLevel, MemoryPointer< RInt8> text) → void - Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
-
UnloadAutomationEventList(
AutomationEventListD list) → void - Unload automation events list from file
-
UnloadCodepoints(
MemoryPointer< RInt32> codepoints) → void - Unload codepoints data from memory
-
UnloadDirectoryFiles(
FilePathListD files) → void - Unload filepaths
-
UnloadDroppedFiles(
FilePathListD files) → void - Unload dropped filepaths
-
UnloadFileData(
MemoryPointer< RUint8> data) → void - Unload file data allocated by LoadFileData()
-
UnloadFileText(
MemoryPointer< RInt8> text) → void - Unload file text data allocated by LoadFileText()
-
UnloadFont(
FontD font) → void - Unload font from GPU memory (VRAM)
-
UnloadFontData(
StructPointer< GlyphInfoD> glyphs, int glyphCount) → void - Unload font chars info data (RAM)
-
UnloadImage(
ImageD image) → void - Unload image from CPU memory (RAM)
-
UnloadImageColors(
StructPointer< ColorD> colors) → void - Unload color data loaded with LoadImageColors()
-
UnloadImagePalette(
StructPointer< ColorD> colors) → void - Unload colors palette loaded with LoadImagePalette()
-
UnloadMaterial(
MaterialD material) → void - Unload material from GPU memory (VRAM)
-
UnloadMesh(
MeshD mesh) → void - Unload mesh data from CPU and GPU
-
UnloadModel(
ModelD model) → void - Unload model (including meshes) from memory (RAM and/or VRAM)
-
UnloadModelAnimations(
StructPointer< ModelAnimationD> animations, int animCount) → void - Unload animation array data
-
UnloadRandomSequence(
MemoryPointer< RInt32> sequence) → void - Unload random values sequence
-
UnloadRenderTexture(
RenderTextureD target) → void - Unload render texture from GPU memory (VRAM)
-
UnloadShader(
ShaderD shader) → void - Unload shader from GPU memory (VRAM)
-
UnloadTextLines(
MemoryPointer< RPointer< text, int lineCount) → voidRChar> > - Unload text lines
-
UnloadTexture(
TextureD texture) → void - Unload texture from GPU memory (VRAM)
-
UnloadUTF8(
MemoryPointer< RInt8> text) → void - Unload UTF-8 text encoded from codepoints array
-
UnloadVrStereoConfig(
VrStereoConfigD config) → void - Unload VR stereo config
-
UpdateCamera(
StructPointer< Camera3DD> camera, int mode) → void - Update camera position for selected mode
-
UpdateCameraPro(
StructPointer< Camera3DD> camera, Vector3D movement, Vector3D rotation, double zoom) → void - Update camera movement/rotation
-
UpdateGestures(
) → void - Update gestures detected (must be called every frame)
-
UpdateMeshBuffer(
MeshD mesh, int index, MemoryPointer< RVoid> data, int dataSize, int offset) → void - Update mesh vertex data in GPU for a specific buffer index
-
UpdateModelAnimation(
ModelD model, ModelAnimationD anim, double frame) → void - Update model animation pose (CPU)
-
UpdateModelAnimationEx(
ModelD model, ModelAnimationD animA, double frameA, ModelAnimationD animB, double frameB, double blend) → void - Update model animation data (vertex buffers / bone matrices) for a specific pose, defined by two different animations at specific frames blended together
-
UpdateTexture(
TextureD texture, MemoryPointer< RVoid> pixels) → void - Update GPU texture with new data
-
UpdateTextureRec(
TextureD texture, RectangleD rec, MemoryPointer< RVoid> pixels) → void - Update GPU texture rectangle with new data
-
UploadMesh(
StructPointer< MeshD> mesh, bool dynamic) → void - Upload mesh vertex data in GPU and provide VAO/VBO ids
-
WaitTime(
double seconds) → void - Wait for some time (halt program execution)
-
WindowShouldClose(
) → bool - Check if application should close (KeyboardKey.KEY_ESCAPE pressed or windows close icon clicked)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited