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