2023-05-14 20:19:47 +00:00
interface Vector2 {
/** Vector x component */
x : number ,
/** Vector y component */
y : number ,
}
declare var Vector2 : {
prototype : Vector2 ;
new ( x : number , y : number ) : Vector2 ;
}
interface Vector3 {
/** Vector x component */
x : number ,
/** Vector y component */
y : number ,
/** Vector z component */
z : number ,
}
declare var Vector3 : {
prototype : Vector3 ;
new ( x : number , y : number , z : number ) : Vector3 ;
}
interface Vector4 {
/** Vector x component */
x : number ,
/** Vector y component */
y : number ,
/** Vector z component */
z : number ,
/** Vector w component */
w : number ,
}
declare var Vector4 : {
prototype : Vector4 ;
new ( x : number , y : number , z : number , w : number ) : Vector4 ;
}
2023-06-02 16:58:53 +00:00
interface Matrix {
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Matrix : {
prototype : Matrix ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Color {
/** Color red value */
r : number ,
/** Color green value */
g : number ,
/** Color blue value */
b : number ,
/** Color alpha value */
a : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Color : {
prototype : Color ;
new ( r : number , g : number , b : number , a : number ) : Color ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Rectangle {
/** Rectangle top-left corner position x */
x : number ,
/** Rectangle top-left corner position y */
y : number ,
/** Rectangle width */
width : number ,
/** Rectangle height */
height : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Rectangle : {
prototype : Rectangle ;
new ( x : number , y : number , width : number , height : number ) : Rectangle ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Image {
2023-06-20 21:09:11 +00:00
/** Image raw data */
data : any ,
2023-06-02 16:58:53 +00:00
/** Image base width */
width : number ,
/** Image base height */
height : number ,
/** Mipmap levels, 1 by default */
mipmaps : number ,
/** Data format (PixelFormat type) */
format : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Image : {
prototype : Image ;
2023-06-20 21:09:11 +00:00
new ( ) : Image ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Texture {
/** Texture base width */
width : number ,
/** Texture base height */
height : number ,
/** Mipmap levels, 1 by default */
mipmaps : number ,
/** Data format (PixelFormat type) */
format : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Texture : {
prototype : Texture ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface RenderTexture {
/** OpenGL framebuffer object id */
id : number ,
2023-06-28 21:22:00 +00:00
/** Color buffer attachment texture */
texture : Texture ,
/** Depth buffer attachment texture */
depth : Texture ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var RenderTexture : {
prototype : RenderTexture ;
2023-05-14 20:19:47 +00:00
}
2023-05-20 19:34:27 +00:00
interface NPatchInfo {
/** Texture source rectangle */
source : Rectangle ,
/** Left border offset */
left : number ,
/** Top border offset */
top : number ,
/** Right border offset */
right : number ,
/** Bottom border offset */
bottom : number ,
/** Layout of the n-patch: 3x3, 1x3 or 3x1 */
layout : number ,
}
declare var NPatchInfo : {
prototype : NPatchInfo ;
new ( source : Rectangle , left : number , top : number , right : number , bottom : number , layout : number ) : NPatchInfo ;
}
2023-06-02 16:58:53 +00:00
interface GlyphInfo {
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var GlyphInfo : {
prototype : GlyphInfo ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Font {
/** Base size (default chars height) */
baseSize : number ,
/** Number of glyph characters */
glyphCount : number ,
/** Padding around the glyph characters */
glyphPadding : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Font : {
prototype : Font ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Camera3D {
/** Camera position */
position : Vector3 ,
/** Camera target it looks-at */
target : Vector3 ,
/** Camera up vector (rotation over its axis) */
up : Vector3 ,
/** Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic */
fovy : number ,
/** Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC */
projection : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Camera3D : {
prototype : Camera3D ;
new ( position : Vector3 , target : Vector3 , up : Vector3 , fovy : number , projection : number ) : Camera3D ;
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
interface Camera2D {
/** Camera offset (displacement from target) */
offset : Vector2 ,
/** Camera target (rotation and zoom origin) */
target : Vector2 ,
/** Camera rotation in degrees */
rotation : number ,
/** Camera zoom (scaling), should be 1.0f by default */
zoom : number ,
2023-05-14 20:19:47 +00:00
}
2023-06-02 16:58:53 +00:00
declare var Camera2D : {
prototype : Camera2D ;
new ( offset : Vector2 , target : Vector2 , rotation : number , zoom : number ) : Camera2D ;
2023-05-14 20:19:47 +00:00
}
interface Mesh {
2023-05-20 19:34:27 +00:00
/** Number of vertices stored in arrays */
vertexCount : number ,
/** Number of triangles stored (indexed or not) */
triangleCount : number ,
/** Vertex position (XYZ - 3 components per vertex) (shader-location = 0) */
vertices : ArrayBuffer ,
/** Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1) */
texcoords : ArrayBuffer ,
/** Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5) */
texcoords2 : ArrayBuffer ,
/** Vertex normals (XYZ - 3 components per vertex) (shader-location = 2) */
normals : ArrayBuffer ,
/** Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4) */
tangents : ArrayBuffer ,
/** Vertex colors (RGBA - 4 components per vertex) (shader-location = 3) */
colors : ArrayBuffer ,
/** Vertex indices (in case vertex data comes indexed) */
indices : ArrayBuffer ,
/** Animated vertex positions (after bones transformations) */
animVertices : ArrayBuffer ,
/** Animated normals (after bones transformations) */
animNormals : ArrayBuffer ,
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning) (shader-location = 6) */
2023-05-20 19:34:27 +00:00
boneIds : ArrayBuffer ,
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7) */
2023-05-20 19:34:27 +00:00
boneWeights : ArrayBuffer ,
2023-05-14 20:19:47 +00:00
}
declare var Mesh : {
prototype : Mesh ;
2023-05-20 19:34:27 +00:00
new ( ) : Mesh ;
2023-05-14 20:19:47 +00:00
}
interface Shader {
2023-05-24 20:47:17 +00:00
/** Shader program id */
id : number ,
2023-05-14 20:19:47 +00:00
}
declare var Shader : {
prototype : Shader ;
}
2023-05-20 19:34:27 +00:00
interface MaterialMap {
/** Material map texture */
texture : Texture ,
/** Material map color */
color : Color ,
/** Material map value */
value : number ,
}
declare var MaterialMap : {
prototype : MaterialMap ;
}
interface Material {
/** Material shader */
shader : Shader ,
}
declare var Material : {
prototype : Material ;
}
2023-06-02 16:58:53 +00:00
interface Transform {
}
declare var Transform : {
prototype : Transform ;
}
interface BoneInfo {
}
declare var BoneInfo : {
prototype : BoneInfo ;
}
interface Model {
/** Local transform matrix */
transform : Matrix ,
/** Number of meshes */
meshCount : number ,
/** Number of materials */
materialCount : number ,
/** Number of bones */
boneCount : number ,
}
declare var Model : {
prototype : Model ;
}
interface ModelAnimation {
}
declare var ModelAnimation : {
prototype : ModelAnimation ;
}
interface Ray {
/** Ray position (origin) */
position : Vector3 ,
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Ray direction (normalized) */
2023-06-02 16:58:53 +00:00
direction : Vector3 ,
}
declare var Ray : {
prototype : Ray ;
new ( position : Vector3 , direction : Vector3 ) : Ray ;
}
interface RayCollision {
/** Did the ray hit something? */
hit : boolean ,
/** Distance to the nearest hit */
distance : number ,
/** Point of the nearest hit */
point : Vector3 ,
/** Surface normal of hit */
normal : Vector3 ,
}
declare var RayCollision : {
prototype : RayCollision ;
}
interface BoundingBox {
/** Minimum vertex box-corner */
min : Vector3 ,
/** Maximum vertex box-corner */
max : Vector3 ,
}
declare var BoundingBox : {
prototype : BoundingBox ;
new ( min : Vector3 , max : Vector3 ) : BoundingBox ;
}
interface Wave {
/** Total number of frames (considering channels) */
frameCount : number ,
/** Frequency (samples per second) */
sampleRate : number ,
/** Bit depth (bits per sample): 8, 16, 32 (24 not supported) */
sampleSize : number ,
/** Number of channels (1-mono, 2-stereo, ...) */
channels : number ,
}
declare var Wave : {
prototype : Wave ;
}
interface AudioStream {
}
declare var AudioStream : {
prototype : AudioStream ;
}
interface Sound {
/** Total number of frames (considering channels) */
frameCount : number ,
}
declare var Sound : {
prototype : Sound ;
}
interface Music {
/** Total number of frames (considering channels) */
frameCount : number ,
/** Music looping enable */
looping : boolean ,
/** Type of music context (audio filetype) */
ctxType : number ,
}
declare var Music : {
prototype : Music ;
}
interface VrDeviceInfo {
2023-06-12 15:38:31 +00:00
/** Horizontal resolution in pixels */
hResolution : number ,
/** Vertical resolution in pixels */
vResolution : number ,
/** Horizontal size in meters */
hScreenSize : number ,
/** Vertical size in meters */
vScreenSize : number ,
/** Distance between eye and display in meters */
eyeToScreenDistance : number ,
/** Lens separation distance in meters */
lensSeparationDistance : number ,
/** IPD (distance between pupils) in meters */
interpupillaryDistance : number ,
2023-06-02 16:58:53 +00:00
}
declare var VrDeviceInfo : {
prototype : VrDeviceInfo ;
2023-06-12 15:38:31 +00:00
new ( ) : VrDeviceInfo ;
2023-06-02 16:58:53 +00:00
}
interface VrStereoConfig {
}
declare var VrStereoConfig : {
prototype : VrStereoConfig ;
}
interface FilePathList {
}
declare var FilePathList : {
prototype : FilePathList ;
}
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
interface AutomationEvent {
}
declare var AutomationEvent : {
prototype : AutomationEvent ;
}
interface AutomationEventList {
}
declare var AutomationEventList : {
prototype : AutomationEventList ;
}
2023-06-11 10:49:26 +00:00
interface Light {
type : number ,
enabled : boolean ,
position : Vector3 ,
target : Vector3 ,
color : Color ,
attenuation : number ,
}
declare var Light : {
prototype : Light ;
}
2023-06-19 21:24:30 +00:00
interface Lightmapper {
w : number ,
h : number ,
progress : number ,
}
declare var Lightmapper : {
prototype : Lightmapper ;
}
interface LightmapperConfig {
hemisphereSize : number ,
zNear : number ,
zFar : number ,
backgroundColor : Color ,
interpolationPasses : number ,
interpolationThreshold : number ,
cameraToSurfaceDistanceModifier : number ,
}
declare var LightmapperConfig : {
prototype : LightmapperConfig ;
}
2023-05-14 20:19:47 +00:00
/** Initialize window and OpenGL context */
2023-06-06 14:50:38 +00:00
declare function initWindow ( width : number , height : number , title : string | undefined | null ) : void ;
2023-05-14 20:19:47 +00:00
/** Close window and unload OpenGL context */
declare function closeWindow ( ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if application should close (KEY_ESCAPE pressed or windows close icon clicked) */
declare function windowShouldClose ( ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if window has been initialized successfully */
declare function isWindowReady ( ) : boolean ;
/** Check if window is currently fullscreen */
declare function isWindowFullscreen ( ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if window is currently hidden */
2023-05-14 20:19:47 +00:00
declare function isWindowHidden ( ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if window is currently minimized */
2023-05-14 20:19:47 +00:00
declare function isWindowMinimized ( ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if window is currently maximized */
2023-05-14 20:19:47 +00:00
declare function isWindowMaximized ( ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if window is currently focused */
2023-05-14 20:19:47 +00:00
declare function isWindowFocused ( ) : boolean ;
/** Check if window has been resized last frame */
declare function isWindowResized ( ) : boolean ;
/** Check if one specific window flag is enabled */
declare function isWindowState ( flag : number ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window configuration state using flags */
2023-05-14 20:19:47 +00:00
declare function setWindowState ( flags : number ) : void ;
/** Clear window configuration state flags */
declare function clearWindowState ( flags : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Toggle window state: fullscreen/windowed, resizes monitor to match window resolution */
2023-05-14 20:19:47 +00:00
declare function toggleFullscreen ( ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Toggle window state: borderless windowed, resizes window to match monitor resolution */
declare function toggleBorderlessWindowed ( ) : void ;
/** Set window state: maximized, if resizable */
2023-05-14 20:19:47 +00:00
declare function maximizeWindow ( ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window state: minimized, if resizable */
2023-05-14 20:19:47 +00:00
declare function minimizeWindow ( ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window state: not minimized/maximized */
2023-05-14 20:19:47 +00:00
declare function restoreWindow ( ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set icon for window (single image, RGBA 32bit) */
2023-05-15 21:02:41 +00:00
declare function setWindowIcon ( image : Image ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set title for window */
2023-06-06 14:50:38 +00:00
declare function setWindowTitle ( title : string | undefined | null ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window position on screen */
2023-05-14 20:19:47 +00:00
declare function setWindowPosition ( x : number , y : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set monitor for the current window */
2023-05-14 20:19:47 +00:00
declare function setWindowMonitor ( monitor : number ) : void ;
/** Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE) */
declare function setWindowMinSize ( width : number , height : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE) */
declare function setWindowMaxSize ( width : number , height : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Set window dimensions */
declare function setWindowSize ( width : number , height : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window opacity [0.0f..1.0f] */
2023-05-14 20:19:47 +00:00
declare function setWindowOpacity ( opacity : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set window focused */
declare function setWindowFocused ( ) : void ;
2023-05-14 20:19:47 +00:00
/** Get current screen width */
declare function getScreenWidth ( ) : number ;
/** Get current screen height */
declare function getScreenHeight ( ) : number ;
/** Get current render width (it considers HiDPI) */
declare function getRenderWidth ( ) : number ;
/** Get current render height (it considers HiDPI) */
declare function getRenderHeight ( ) : number ;
/** Get number of connected monitors */
declare function getMonitorCount ( ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get current monitor where window is placed */
2023-05-14 20:19:47 +00:00
declare function getCurrentMonitor ( ) : number ;
/** Get specified monitor position */
declare function getMonitorPosition ( monitor : number ) : Vector2 ;
/** Get specified monitor width (current video mode used by monitor) */
declare function getMonitorWidth ( monitor : number ) : number ;
/** Get specified monitor height (current video mode used by monitor) */
declare function getMonitorHeight ( monitor : number ) : number ;
/** Get specified monitor physical width in millimetres */
declare function getMonitorPhysicalWidth ( monitor : number ) : number ;
/** Get specified monitor physical height in millimetres */
declare function getMonitorPhysicalHeight ( monitor : number ) : number ;
/** Get specified monitor refresh rate */
declare function getMonitorRefreshRate ( monitor : number ) : number ;
/** Get window position XY on monitor */
declare function getWindowPosition ( ) : Vector2 ;
/** Get window scale DPI factor */
declare function getWindowScaleDPI ( ) : Vector2 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get the human-readable, UTF-8 encoded name of the specified monitor */
2023-06-06 14:50:38 +00:00
declare function getMonitorName ( monitor : number ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Set clipboard text content */
2023-06-06 14:50:38 +00:00
declare function setClipboardText ( text : string | undefined | null ) : void ;
2023-05-14 20:19:47 +00:00
/** Get clipboard text content */
2023-06-06 14:50:38 +00:00
declare function getClipboardText ( ) : string | undefined | null ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get clipboard image content */
declare function getClipboardImage ( ) : Image ;
2023-05-14 20:19:47 +00:00
/** Enable waiting for events on EndDrawing(), no automatic event polling */
declare function enableEventWaiting ( ) : void ;
/** Disable waiting for events on EndDrawing(), automatic events polling */
declare function disableEventWaiting ( ) : void ;
/** Shows cursor */
declare function showCursor ( ) : void ;
/** Hides cursor */
declare function hideCursor ( ) : void ;
/** Check if cursor is not visible */
declare function isCursorHidden ( ) : boolean ;
/** Enables cursor (unlock cursor) */
declare function enableCursor ( ) : void ;
/** Disables cursor (lock cursor) */
declare function disableCursor ( ) : void ;
/** Check if cursor is on the screen */
declare function isCursorOnScreen ( ) : boolean ;
/** Set background color (framebuffer clear color) */
declare function clearBackground ( color : Color ) : void ;
/** Setup canvas (framebuffer) to start drawing */
declare function beginDrawing ( ) : void ;
/** End canvas drawing and swap buffers (double buffering) */
declare function endDrawing ( ) : void ;
/** Begin 2D mode with custom camera (2D) */
declare function beginMode2D ( camera : Camera2D ) : void ;
/** Ends 2D mode with custom camera */
declare function endMode2D ( ) : void ;
/** Begin 3D mode with custom camera (3D) */
declare function beginMode3D ( camera : Camera3D ) : void ;
/** Ends 3D mode and returns to default 2D orthographic mode */
declare function endMode3D ( ) : void ;
2023-05-20 19:34:27 +00:00
/** Begin drawing to render texture */
declare function beginTextureMode ( target : RenderTexture ) : void ;
/** Ends drawing to render texture */
declare function endTextureMode ( ) : void ;
2023-05-15 21:02:41 +00:00
/** Begin custom shader drawing */
declare function beginShaderMode ( shader : Shader ) : void ;
/** End custom shader drawing (use default shader) */
declare function endShaderMode ( ) : void ;
2023-05-14 20:19:47 +00:00
/** Begin blending mode (alpha, additive, multiplied, subtract, custom) */
declare function beginBlendMode ( mode : number ) : void ;
/** End blending mode (reset to default: alpha blending) */
declare function endBlendMode ( ) : void ;
/** Begin scissor mode (define screen area for following drawing) */
declare function beginScissorMode ( x : number , y : number , width : number , height : number ) : void ;
/** End scissor mode */
declare function endScissorMode ( ) : void ;
2023-06-12 15:38:31 +00:00
/** Begin stereo rendering (requires VR simulator) */
declare function beginVrStereoMode ( config : VrStereoConfig ) : void ;
/** End stereo rendering (requires VR simulator) */
declare function endVrStereoMode ( ) : void ;
/** Load VR stereo config for VR simulator device parameters */
declare function loadVrStereoConfig ( device : VrDeviceInfo ) : VrStereoConfig ;
/** Unload VR stereo config */
declare function unloadVrStereoConfig ( config : VrStereoConfig ) : void ;
2023-05-15 21:02:41 +00:00
/** Load shader from files and bind default locations */
2023-06-06 14:50:38 +00:00
declare function loadShader ( vsFileName : string | undefined | null , fsFileName : string | undefined | null ) : Shader ;
2023-05-24 20:47:17 +00:00
/** Load shader from code strings and bind default locations */
2023-06-06 14:50:38 +00:00
declare function loadShaderFromMemory ( vsCode : string | undefined | null , fsCode : string | undefined | null ) : Shader ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a shader is valid (loaded on GPU) */
declare function isShaderValid ( shader : Shader ) : boolean ;
2023-05-15 21:02:41 +00:00
/** Get shader uniform location */
2023-06-06 14:50:38 +00:00
declare function getShaderLocation ( shader : Shader , uniformName : string | undefined | null ) : number ;
2023-05-15 21:02:41 +00:00
/** Get shader attribute location */
2023-06-06 14:50:38 +00:00
declare function getShaderLocationAttrib ( shader : Shader , attribName : string | undefined | null ) : number ;
2023-05-16 06:28:30 +00:00
/** Set shader uniform value */
declare function setShaderValue ( shader : Shader , locIndex : number , value : any , uniformType : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Set shader uniform value (matrix 4x4) */
declare function setShaderValueMatrix ( shader : Shader , locIndex : number , mat : Matrix ) : void ;
/** Set shader uniform value for texture (sampler2d) */
2023-05-16 06:28:30 +00:00
declare function setShaderValueTexture ( shader : Shader , locIndex : number , texture : Texture ) : void ;
2023-05-20 19:34:27 +00:00
/** Unload shader from GPU memory (VRAM) */
declare function unloadShader ( shader : Shader ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get a ray trace from screen position (i.e mouse) */
declare function getScreenToWorldRay ( position : Vector2 , camera : Camera3D ) : Ray ;
/** Get a ray trace from screen position (i.e mouse) in a viewport */
declare function getScreenToWorldRayEx ( position : Vector2 , camera : Camera3D , width : number , height : number ) : Ray ;
2023-05-15 21:02:41 +00:00
/** Get the screen space position for a 3d world space position */
2023-05-16 06:28:30 +00:00
declare function getWorldToScreen ( position : Vector3 , camera : Camera3D ) : Vector2 ;
2023-05-15 21:02:41 +00:00
/** Get size position for a 3d world space position */
2023-05-16 06:28:30 +00:00
declare function getWorldToScreenEx ( position : Vector3 , camera : Camera3D , width : number , height : number ) : Vector2 ;
2023-05-14 20:19:47 +00:00
/** Get the screen space position for a 2d camera world space position */
declare function getWorldToScreen2D ( position : Vector2 , camera : Camera2D ) : Vector2 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get the world space position for a 2d camera screen space position */
declare function getScreenToWorld2D ( position : Vector2 , camera : Camera2D ) : Vector2 ;
/** Get camera transform matrix (view matrix) */
declare function getCameraMatrix ( camera : Camera3D ) : Matrix ;
/** Get camera 2d transform matrix */
declare function getCameraMatrix2D ( camera : Camera2D ) : Matrix ;
2023-05-14 20:19:47 +00:00
/** Set target FPS (maximum) */
declare function setTargetFPS ( fps : number ) : void ;
/** Get time in seconds for last frame drawn (delta time) */
declare function getFrameTime ( ) : number ;
/** Get elapsed time in seconds since InitWindow() */
declare function getTime ( ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get current FPS */
declare function getFPS ( ) : number ;
2023-05-14 20:19:47 +00:00
/** Set the seed for the random number generator */
declare function setRandomSeed ( seed : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get a random value between min and max (both included) */
declare function getRandomValue ( min : number , max : number ) : number ;
/** Unload random values sequence */
declare function unloadRandomSequence ( sequence : int ) : void ;
2023-05-14 20:19:47 +00:00
/** Takes a screenshot of current screen (filename extension defines format) */
2023-06-06 14:50:38 +00:00
declare function takeScreenshot ( fileName : string | undefined | null ) : void ;
2023-05-14 20:19:47 +00:00
/** Setup init configuration flags (view FLAGS) */
declare function setConfigFlags ( flags : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Open URL with default system browser (if available) */
declare function openURL ( url : string | undefined | null ) : void ;
2023-05-14 20:19:47 +00:00
/** Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...) */
2023-06-06 14:50:38 +00:00
declare function traceLog ( logLevel : number , text : string | undefined | null ) : void ;
2023-05-14 20:19:47 +00:00
/** Set the current threshold (minimum) log level */
declare function setTraceLogLevel ( logLevel : number ) : void ;
2023-05-24 20:47:17 +00:00
/** Load file data as byte array (read) */
2023-06-06 14:50:38 +00:00
declare function loadFileData ( fileName : string | undefined | null ) : ArrayBuffer ;
2023-05-24 20:47:17 +00:00
/** Save data to file from byte array (write), returns true on success */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function saveFileData ( fileName : string | undefined | null , data : any , dataSize : number ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Load text data from file (read), returns a '\0' terminated string */
2023-06-06 14:50:38 +00:00
declare function loadFileText ( fileName : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Save text data to file (write), string must be '\0' terminated, returns true on success */
2023-06-06 14:50:38 +00:00
declare function saveFileText ( fileName : string | undefined | null , text : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if file exists */
2023-06-06 14:50:38 +00:00
declare function fileExists ( fileName : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if a directory path exists */
2023-06-06 14:50:38 +00:00
declare function directoryExists ( dirPath : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check file extension (including point: .png, .wav) */
2023-06-06 14:50:38 +00:00
declare function isFileExtension ( fileName : string | undefined | null , ext : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h) */
2023-06-06 14:50:38 +00:00
declare function getFileLength ( fileName : string | undefined | null ) : number ;
2023-05-14 20:19:47 +00:00
/** Get pointer to extension for a filename string (includes dot: '.png') */
2023-06-06 14:50:38 +00:00
declare function getFileExtension ( fileName : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Get pointer to filename for a path string */
2023-06-06 14:50:38 +00:00
declare function getFileName ( filePath : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Get filename string without extension (uses static string) */
2023-06-06 14:50:38 +00:00
declare function getFileNameWithoutExt ( filePath : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Get full path for a given fileName with path (uses static string) */
2023-06-06 14:50:38 +00:00
declare function getDirectoryPath ( filePath : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Get previous directory path for a given path (uses static string) */
2023-06-06 14:50:38 +00:00
declare function getPrevDirectoryPath ( dirPath : string | undefined | null ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Get current working directory (uses static string) */
2023-06-06 14:50:38 +00:00
declare function getWorkingDirectory ( ) : string | undefined | null ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get the directory of the running application (uses static string) */
2023-06-06 14:50:38 +00:00
declare function getApplicationDirectory ( ) : string | undefined | null ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Create directories (including full path requested), returns 0 on success */
declare function makeDirectory ( dirPath : string | undefined | null ) : number ;
2023-05-14 20:19:47 +00:00
/** Change working directory, return true on success */
2023-06-06 14:50:38 +00:00
declare function changeDirectory ( dir : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if a given path is a file or a directory */
2023-06-06 14:50:38 +00:00
declare function isPathFile ( path : string | undefined | null ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if fileName is valid for the platform/OS */
declare function isFileNameValid ( fileName : string | undefined | null ) : boolean ;
2023-06-02 16:58:53 +00:00
/** Load directory filepaths */
2023-06-06 14:50:38 +00:00
declare function loadDirectoryFiles ( dirPath : string | undefined | null ) : string [ ] ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result */
2023-06-06 14:50:38 +00:00
declare function loadDirectoryFilesEx ( basePath : string | undefined | null , filter : string | undefined | null , scanSubdirs : boolean ) : string [ ] ;
2023-05-14 20:19:47 +00:00
/** Check if a file has been dropped into window */
declare function isFileDropped ( ) : boolean ;
2023-06-02 06:03:36 +00:00
/** Load dropped filepaths */
declare function loadDroppedFiles ( ) : string [ ] ;
2023-05-14 20:19:47 +00:00
/** Get file modification time (last write time) */
2023-06-06 14:50:38 +00:00
declare function getFileModTime ( fileName : string | undefined | null ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Compute CRC32 hash code */
declare function computeCRC32 ( data : ArrayBuffer , dataSize : number ) : number ;
/** Compute MD5 hash code, returns static int[4] (16 bytes) */
declare function computeMD5 ( data : ArrayBuffer , dataSize : number ) : unsigned int ;
/** Compute SHA1 hash code, returns static int[5] (20 bytes) */
declare function computeSHA1 ( data : ArrayBuffer , dataSize : number ) : unsigned int ;
/** Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS */
declare function loadAutomationEventList ( fileName : string | undefined | null ) : AutomationEventList ;
/** Unload automation events list from file */
declare function unloadAutomationEventList ( list : AutomationEventList ) : void ;
/** Export automation events list as text file */
declare function exportAutomationEventList ( list : AutomationEventList , fileName : string | undefined | null ) : boolean ;
/** Set automation event list to record to */
declare function setAutomationEventList ( list : AutomationEventList ) : void ;
/** Set automation event internal base frame to start recording */
declare function setAutomationEventBaseFrame ( frame : number ) : void ;
/** Start recording automation events (AutomationEventList must be set) */
declare function startAutomationEventRecording ( ) : void ;
/** Stop recording automation events */
declare function stopAutomationEventRecording ( ) : void ;
/** Play a recorded automation event */
declare function playAutomationEvent ( event : AutomationEvent ) : void ;
2023-05-14 20:19:47 +00:00
/** Check if a key has been pressed once */
declare function isKeyPressed ( key : number ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a key has been pressed again */
declare function isKeyPressedRepeat ( key : number ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if a key is being pressed */
declare function isKeyDown ( key : number ) : boolean ;
/** Check if a key has been released once */
declare function isKeyReleased ( key : number ) : boolean ;
/** Check if a key is NOT being pressed */
declare function isKeyUp ( key : number ) : boolean ;
/** Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty */
declare function getKeyPressed ( ) : number ;
/** Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty */
declare function getCharPressed ( ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set a custom key to exit program (default is ESC) */
declare function setExitKey ( key : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Check if a gamepad is available */
declare function isGamepadAvailable ( gamepad : number ) : boolean ;
/** Get gamepad internal name id */
2023-06-06 14:50:38 +00:00
declare function getGamepadName ( gamepad : number ) : string | undefined | null ;
2023-05-14 20:19:47 +00:00
/** Check if a gamepad button has been pressed once */
declare function isGamepadButtonPressed ( gamepad : number , button : number ) : boolean ;
/** Check if a gamepad button is being pressed */
declare function isGamepadButtonDown ( gamepad : number , button : number ) : boolean ;
/** Check if a gamepad button has been released once */
declare function isGamepadButtonReleased ( gamepad : number , button : number ) : boolean ;
/** Check if a gamepad button is NOT being pressed */
declare function isGamepadButtonUp ( gamepad : number , button : number ) : boolean ;
/** Get the last gamepad button pressed */
declare function getGamepadButtonPressed ( ) : number ;
/** Get gamepad axis count for a gamepad */
declare function getGamepadAxisCount ( gamepad : number ) : number ;
/** Get axis movement value for a gamepad axis */
declare function getGamepadAxisMovement ( gamepad : number , axis : number ) : number ;
/** Set internal gamepad mappings (SDL_GameControllerDB) */
2023-06-06 14:50:38 +00:00
declare function setGamepadMappings ( mappings : string | undefined | null ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set gamepad vibration for both motors (duration in seconds) */
declare function setGamepadVibration ( gamepad : number , leftMotor : number , rightMotor : number , duration : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Check if a mouse button has been pressed once */
declare function isMouseButtonPressed ( button : number ) : boolean ;
/** Check if a mouse button is being pressed */
declare function isMouseButtonDown ( button : number ) : boolean ;
/** Check if a mouse button has been released once */
declare function isMouseButtonReleased ( button : number ) : boolean ;
/** Check if a mouse button is NOT being pressed */
declare function isMouseButtonUp ( button : number ) : boolean ;
/** Get mouse position X */
declare function getMouseX ( ) : number ;
/** Get mouse position Y */
declare function getMouseY ( ) : number ;
/** Get mouse position XY */
declare function getMousePosition ( ) : Vector2 ;
/** Get mouse delta between frames */
declare function getMouseDelta ( ) : Vector2 ;
/** Set mouse position XY */
declare function setMousePosition ( x : number , y : number ) : void ;
/** Set mouse offset */
declare function setMouseOffset ( offsetX : number , offsetY : number ) : void ;
/** Set mouse scaling */
declare function setMouseScale ( scaleX : number , scaleY : number ) : void ;
/** Get mouse wheel movement for X or Y, whichever is larger */
declare function getMouseWheelMove ( ) : number ;
/** Get mouse wheel movement for both X and Y */
declare function getMouseWheelMoveV ( ) : Vector2 ;
/** Set mouse cursor */
declare function setMouseCursor ( cursor : number ) : void ;
/** Get touch position X for touch point 0 (relative to screen size) */
declare function getTouchX ( ) : number ;
/** Get touch position Y for touch point 0 (relative to screen size) */
declare function getTouchY ( ) : number ;
/** Get touch position XY for a touch point index (relative to screen size) */
declare function getTouchPosition ( index : number ) : Vector2 ;
/** Get touch point identifier for given index */
declare function getTouchPointId ( index : number ) : number ;
/** Get number of touch points */
declare function getTouchPointCount ( ) : number ;
/** Enable a set of gestures using flags */
declare function setGesturesEnabled ( flags : number ) : void ;
/** Check if a gesture have been detected */
declare function isGestureDetected ( gesture : number ) : boolean ;
/** Get latest detected gesture */
declare function getGestureDetected ( ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get gesture hold time in seconds */
2023-05-14 20:19:47 +00:00
declare function getGestureHoldDuration ( ) : number ;
/** Get gesture drag vector */
declare function getGestureDragVector ( ) : Vector2 ;
/** Get gesture drag angle */
declare function getGestureDragAngle ( ) : number ;
/** Get gesture pinch delta */
declare function getGesturePinchVector ( ) : Vector2 ;
/** Get gesture pinch angle */
declare function getGesturePinchAngle ( ) : number ;
2023-05-15 21:02:41 +00:00
/** Update camera position for selected mode */
2023-05-20 19:34:27 +00:00
declare function updateCamera ( camera : Camera3D , mode : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Update camera movement/rotation */
2023-05-20 19:34:27 +00:00
declare function updateCameraPro ( camera : Camera3D , movement : Vector3 , rotation : Vector3 , zoom : number ) : void ;
2023-05-24 20:47:17 +00:00
/** Set texture and rectangle to be used on shapes drawing */
declare function setShapesTexture ( texture : Texture , source : Rectangle ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get texture that is used for shapes drawing */
declare function getShapesTexture ( ) : Texture ;
/** Get texture source rectangle that is used for shapes drawing */
declare function getShapesTextureRectangle ( ) : Rectangle ;
/** Draw a pixel using geometry [Can be slow, use with care] */
2023-05-14 20:19:47 +00:00
declare function drawPixel ( posX : number , posY : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw a pixel using geometry (Vector version) [Can be slow, use with care] */
2023-05-14 20:19:47 +00:00
declare function drawPixelV ( position : Vector2 , color : Color ) : void ;
/** Draw a line */
declare function drawLine ( startPosX : number , startPosY : number , endPosX : number , endPosY : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw a line (using gl lines) */
2023-05-14 20:19:47 +00:00
declare function drawLineV ( startPos : Vector2 , endPos : Vector2 , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw a line (using triangles/quads) */
2023-05-14 20:19:47 +00:00
declare function drawLineEx ( startPos : Vector2 , endPos : Vector2 , thick : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw line segment cubic-bezier in-out interpolation */
2023-05-14 20:19:47 +00:00
declare function drawLineBezier ( startPos : Vector2 , endPos : Vector2 , thick : number , color : Color ) : void ;
/** Draw a color-filled circle */
declare function drawCircle ( centerX : number , centerY : number , radius : number , color : Color ) : void ;
/** Draw a piece of a circle */
declare function drawCircleSector ( center : Vector2 , radius : number , startAngle : number , endAngle : number , segments : number , color : Color ) : void ;
/** Draw circle sector outline */
declare function drawCircleSectorLines ( center : Vector2 , radius : number , startAngle : number , endAngle : number , segments : number , color : Color ) : void ;
/** Draw a gradient-filled circle */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawCircleGradient ( centerX : number , centerY : number , radius : number , inner : Color , outer : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a color-filled circle (Vector version) */
declare function drawCircleV ( center : Vector2 , radius : number , color : Color ) : void ;
/** Draw circle outline */
declare function drawCircleLines ( centerX : number , centerY : number , radius : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw circle outline (Vector version) */
declare function drawCircleLinesV ( center : Vector2 , radius : number , color : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw ellipse */
declare function drawEllipse ( centerX : number , centerY : number , radiusH : number , radiusV : number , color : Color ) : void ;
/** Draw ellipse outline */
declare function drawEllipseLines ( centerX : number , centerY : number , radiusH : number , radiusV : number , color : Color ) : void ;
/** Draw ring */
declare function drawRing ( center : Vector2 , innerRadius : number , outerRadius : number , startAngle : number , endAngle : number , segments : number , color : Color ) : void ;
/** Draw ring outline */
declare function drawRingLines ( center : Vector2 , innerRadius : number , outerRadius : number , startAngle : number , endAngle : number , segments : number , color : Color ) : void ;
/** Draw a color-filled rectangle */
declare function drawRectangle ( posX : number , posY : number , width : number , height : number , color : Color ) : void ;
/** Draw a color-filled rectangle (Vector version) */
declare function drawRectangleV ( position : Vector2 , size : Vector2 , color : Color ) : void ;
/** Draw a color-filled rectangle */
declare function drawRectangleRec ( rec : Rectangle , color : Color ) : void ;
/** Draw a color-filled rectangle with pro parameters */
declare function drawRectanglePro ( rec : Rectangle , origin : Vector2 , rotation : number , color : Color ) : void ;
/** Draw a vertical-gradient-filled rectangle */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawRectangleGradientV ( posX : number , posY : number , width : number , height : number , top : Color , bottom : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a horizontal-gradient-filled rectangle */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawRectangleGradientH ( posX : number , posY : number , width : number , height : number , left : Color , right : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a gradient-filled rectangle with custom vertex colors */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawRectangleGradientEx ( rec : Rectangle , topLeft : Color , bottomLeft : Color , topRight : Color , bottomRight : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw rectangle outline */
declare function drawRectangleLines ( posX : number , posY : number , width : number , height : number , color : Color ) : void ;
/** Draw rectangle outline with extended parameters */
declare function drawRectangleLinesEx ( rec : Rectangle , lineThick : number , color : Color ) : void ;
/** Draw rectangle with rounded edges */
declare function drawRectangleRounded ( rec : Rectangle , roundness : number , segments : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw rectangle lines with rounded edges */
declare function drawRectangleRoundedLines ( rec : Rectangle , roundness : number , segments : number , color : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw rectangle with rounded edges outline */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawRectangleRoundedLinesEx ( rec : Rectangle , roundness : number , segments : number , lineThick : number , color : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a color-filled triangle (vertex in counter-clockwise order!) */
declare function drawTriangle ( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color ) : void ;
/** Draw triangle outline (vertex in counter-clockwise order!) */
declare function drawTriangleLines ( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color ) : void ;
/** Draw a regular polygon (Vector version) */
declare function drawPoly ( center : Vector2 , sides : number , radius : number , rotation : number , color : Color ) : void ;
/** Draw a polygon outline of n sides */
declare function drawPolyLines ( center : Vector2 , sides : number , radius : number , rotation : number , color : Color ) : void ;
/** Draw a polygon outline of n sides with extended parameters */
declare function drawPolyLinesEx ( center : Vector2 , sides : number , radius : number , rotation : number , lineThick : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw spline: Linear, minimum 2 points */
declare function drawSplineLinear ( points : Vector2 , pointCount : number , thick : number , color : Color ) : void ;
/** Draw spline: B-Spline, minimum 4 points */
declare function drawSplineBasis ( points : Vector2 , pointCount : number , thick : number , color : Color ) : void ;
/** Draw spline: Catmull-Rom, minimum 4 points */
declare function drawSplineCatmullRom ( points : Vector2 , pointCount : number , thick : number , color : Color ) : void ;
/** Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...] */
declare function drawSplineBezierQuadratic ( points : Vector2 , pointCount : number , thick : number , color : Color ) : void ;
/** Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...] */
declare function drawSplineBezierCubic ( points : Vector2 , pointCount : number , thick : number , color : Color ) : void ;
/** Draw spline segment: Linear, 2 points */
declare function drawSplineSegmentLinear ( p1 : Vector2 , p2 : Vector2 , thick : number , color : Color ) : void ;
/** Draw spline segment: B-Spline, 4 points */
declare function drawSplineSegmentBasis ( p1 : Vector2 , p2 : Vector2 , p3 : Vector2 , p4 : Vector2 , thick : number , color : Color ) : void ;
/** Draw spline segment: Catmull-Rom, 4 points */
declare function drawSplineSegmentCatmullRom ( p1 : Vector2 , p2 : Vector2 , p3 : Vector2 , p4 : Vector2 , thick : number , color : Color ) : void ;
/** Draw spline segment: Quadratic Bezier, 2 points, 1 control point */
declare function drawSplineSegmentBezierQuadratic ( p1 : Vector2 , c2 : Vector2 , p3 : Vector2 , thick : number , color : Color ) : void ;
/** Draw spline segment: Cubic Bezier, 2 points, 2 control points */
declare function drawSplineSegmentBezierCubic ( p1 : Vector2 , c2 : Vector2 , c3 : Vector2 , p4 : Vector2 , thick : number , color : Color ) : void ;
/** Get (evaluate) spline point: Linear */
declare function getSplinePointLinear ( startPos : Vector2 , endPos : Vector2 , t : number ) : Vector2 ;
/** Get (evaluate) spline point: B-Spline */
declare function getSplinePointBasis ( p1 : Vector2 , p2 : Vector2 , p3 : Vector2 , p4 : Vector2 , t : number ) : Vector2 ;
/** Get (evaluate) spline point: Catmull-Rom */
declare function getSplinePointCatmullRom ( p1 : Vector2 , p2 : Vector2 , p3 : Vector2 , p4 : Vector2 , t : number ) : Vector2 ;
/** Get (evaluate) spline point: Quadratic Bezier */
declare function getSplinePointBezierQuad ( p1 : Vector2 , c2 : Vector2 , p3 : Vector2 , t : number ) : Vector2 ;
/** Get (evaluate) spline point: Cubic Bezier */
declare function getSplinePointBezierCubic ( p1 : Vector2 , c2 : Vector2 , c3 : Vector2 , p4 : Vector2 , t : number ) : Vector2 ;
2023-05-14 20:19:47 +00:00
/** Check collision between two rectangles */
declare function checkCollisionRecs ( rec1 : Rectangle , rec2 : Rectangle ) : boolean ;
/** Check collision between two circles */
declare function checkCollisionCircles ( center1 : Vector2 , radius1 : number , center2 : Vector2 , radius2 : number ) : boolean ;
/** Check collision between circle and rectangle */
declare function checkCollisionCircleRec ( center : Vector2 , radius : number , rec : Rectangle ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if circle collides with a line created betweeen two points [p1] and [p2] */
declare function checkCollisionCircleLine ( center : Vector2 , radius : number , p1 : Vector2 , p2 : Vector2 ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Check if point is inside rectangle */
declare function checkCollisionPointRec ( point : Vector2 , rec : Rectangle ) : boolean ;
/** Check if point is inside circle */
declare function checkCollisionPointCircle ( point : Vector2 , center : Vector2 , radius : number ) : boolean ;
/** Check if point is inside a triangle */
declare function checkCollisionPointTriangle ( point : Vector2 , p1 : Vector2 , p2 : Vector2 , p3 : Vector2 ) : boolean ;
/** Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold] */
declare function checkCollisionPointLine ( point : Vector2 , p1 : Vector2 , p2 : Vector2 , threshold : number ) : boolean ;
/** Get collision rectangle for two rectangles collision */
declare function getCollisionRec ( rec1 : Rectangle , rec2 : Rectangle ) : Rectangle ;
/** Load image from file into CPU memory (RAM) */
2023-06-06 14:50:38 +00:00
declare function loadImage ( fileName : string | undefined | null ) : Image ;
2023-05-14 20:19:47 +00:00
/** Load image from RAW file data */
2023-06-06 14:50:38 +00:00
declare function loadImageRaw ( fileName : string | undefined | null , width : number , height : number , format : number , headerSize : number ) : Image ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Load image sequence from memory buffer */
declare function loadImageAnimFromMemory ( fileType : string | undefined | null , fileData : ArrayBuffer , dataSize : number , frames : int ) : Image ;
2023-05-24 20:47:17 +00:00
/** Load image from memory buffer, fileType refers to extension: i.e. '.png' */
2023-06-06 14:50:38 +00:00
declare function loadImageFromMemory ( fileType : string | undefined | null , fileData : ArrayBuffer , dataSize : number ) : Image ;
2023-05-14 20:19:47 +00:00
/** Load image from GPU texture data */
2023-05-16 06:28:30 +00:00
declare function loadImageFromTexture ( texture : Texture ) : Image ;
2023-05-14 20:19:47 +00:00
/** Load image from screen buffer and (screenshot) */
declare function loadImageFromScreen ( ) : Image ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if an image is valid (data and parameters) */
declare function isImageValid ( image : Image ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload image from CPU memory (RAM) */
declare function unloadImage ( image : Image ) : void ;
2023-05-14 20:19:47 +00:00
/** Export image data to file, returns true on success */
2023-06-06 14:50:38 +00:00
declare function exportImage ( image : Image , fileName : string | undefined | null ) : boolean ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Export image to memory buffer */
declare function exportImageToMemory ( image : Image , fileType : string | undefined | null , fileSize : int ) : ArrayBuffer ;
2023-05-14 20:19:47 +00:00
/** Generate image: plain color */
declare function genImageColor ( width : number , height : number , color : Color ) : Image ;
2023-06-20 21:09:11 +00:00
/** Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient */
declare function genImageGradientLinear ( width : number , height : number , direction : number , start : Color , end : Color ) : Image ;
2023-05-14 20:19:47 +00:00
/** Generate image: radial gradient */
declare function genImageGradientRadial ( width : number , height : number , density : number , inner : Color , outer : Color ) : Image ;
2023-06-20 21:09:11 +00:00
/** Generate image: square gradient */
declare function genImageGradientSquare ( width : number , height : number , density : number , inner : Color , outer : Color ) : Image ;
2023-05-14 20:19:47 +00:00
/** Generate image: checked */
declare function genImageChecked ( width : number , height : number , checksX : number , checksY : number , col1 : Color , col2 : Color ) : Image ;
/** Generate image: white noise */
declare function genImageWhiteNoise ( width : number , height : number , factor : number ) : Image ;
/** Generate image: perlin noise */
declare function genImagePerlinNoise ( width : number , height : number , offsetX : number , offsetY : number , scale : number ) : Image ;
/** Generate image: cellular algorithm, bigger tileSize means bigger cells */
declare function genImageCellular ( width : number , height : number , tileSize : number ) : Image ;
/** Generate image: grayscale image from text data */
2023-06-06 14:50:38 +00:00
declare function genImageText ( width : number , height : number , text : string | undefined | null ) : Image ;
2023-05-14 20:19:47 +00:00
/** Create an image duplicate (useful for transformations) */
declare function imageCopy ( image : Image ) : Image ;
/** Create an image from another image piece */
declare function imageFromImage ( image : Image , rec : Rectangle ) : Image ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Create an image from a selected channel of another image (GRAYSCALE) */
declare function imageFromChannel ( image : Image , selectedChannel : number ) : Image ;
2023-05-14 20:19:47 +00:00
/** Create an image from text (default font) */
2023-06-06 14:50:38 +00:00
declare function imageText ( text : string | undefined | null , fontSize : number , color : Color ) : Image ;
2023-05-15 21:02:41 +00:00
/** Create an image from text (custom sprite font) */
2023-06-06 14:50:38 +00:00
declare function imageTextEx ( font : Font , text : string | undefined | null , fontSize : number , spacing : number , tint : Color ) : Image ;
2023-05-15 21:02:41 +00:00
/** Convert image data to desired format */
2023-05-16 06:28:30 +00:00
declare function imageFormat ( image : Image , newFormat : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Convert image to POT (power-of-two) */
2023-05-16 06:28:30 +00:00
declare function imageToPOT ( image : Image , fill : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Crop an image to a defined rectangle */
2023-05-16 06:28:30 +00:00
declare function imageCrop ( image : Image , crop : Rectangle ) : void ;
2023-05-15 21:02:41 +00:00
/** Crop image depending on alpha value */
2023-05-16 06:28:30 +00:00
declare function imageAlphaCrop ( image : Image , threshold : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Clear alpha channel to desired color */
2023-05-16 06:28:30 +00:00
declare function imageAlphaClear ( image : Image , color : Color , threshold : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Apply alpha mask to image */
2023-05-16 06:28:30 +00:00
declare function imageAlphaMask ( image : Image , alphaMask : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Premultiply alpha channel */
2023-05-16 06:28:30 +00:00
declare function imageAlphaPremultiply ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Apply Gaussian blur using a box blur approximation */
2023-05-16 06:28:30 +00:00
declare function imageBlurGaussian ( image : Image , blurSize : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Apply custom square convolution kernel to image */
declare function imageKernelConvolution ( image : Image , kernel : float , kernelSize : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Resize image (Bicubic scaling algorithm) */
2023-05-16 06:28:30 +00:00
declare function imageResize ( image : Image , newWidth : number , newHeight : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Resize image (Nearest-Neighbor scaling algorithm) */
2023-05-16 06:28:30 +00:00
declare function imageResizeNN ( image : Image , newWidth : number , newHeight : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Resize canvas and fill with color */
2023-05-16 06:28:30 +00:00
declare function imageResizeCanvas ( image : Image , newWidth : number , newHeight : number , offsetX : number , offsetY : number , fill : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Compute all mipmap levels for a provided image */
2023-05-16 06:28:30 +00:00
declare function imageMipmaps ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Dither image data to 16bpp or lower (Floyd-Steinberg dithering) */
2023-05-16 06:28:30 +00:00
declare function imageDither ( image : Image , rBpp : number , gBpp : number , bBpp : number , aBpp : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Flip image vertically */
2023-05-16 06:28:30 +00:00
declare function imageFlipVertical ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Flip image horizontally */
2023-05-16 06:28:30 +00:00
declare function imageFlipHorizontal ( image : Image ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Rotate image by input angle in degrees (-359 to 359) */
2023-06-20 21:09:11 +00:00
declare function imageRotate ( image : Image , degrees : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Rotate image clockwise 90deg */
2023-05-16 06:28:30 +00:00
declare function imageRotateCW ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Rotate image counter-clockwise 90deg */
2023-05-16 06:28:30 +00:00
declare function imageRotateCCW ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: tint */
2023-05-16 06:28:30 +00:00
declare function imageColorTint ( image : Image , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: invert */
2023-05-16 06:28:30 +00:00
declare function imageColorInvert ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: grayscale */
2023-05-16 06:28:30 +00:00
declare function imageColorGrayscale ( image : Image ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: contrast (-100 to 100) */
2023-05-16 06:28:30 +00:00
declare function imageColorContrast ( image : Image , contrast : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: brightness (-255 to 255) */
2023-05-16 06:28:30 +00:00
declare function imageColorBrightness ( image : Image , brightness : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Modify image color: replace color */
2023-05-16 06:28:30 +00:00
declare function imageColorReplace ( image : Image , color : Color , replace : Color ) : void ;
2023-05-20 19:34:27 +00:00
/** Load color data from image as a Color array (RGBA - 32bit) */
declare function loadImageColors ( image : Image ) : ArrayBuffer ;
2023-05-14 20:19:47 +00:00
/** Get image alpha border rectangle */
declare function getImageAlphaBorder ( image : Image , threshold : number ) : Rectangle ;
/** Get image pixel color at (x, y) position */
declare function getImageColor ( image : Image , x : number , y : number ) : Color ;
2023-05-15 21:02:41 +00:00
/** Clear image background with given color */
2023-05-16 06:28:30 +00:00
declare function imageClearBackground ( dst : Image , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw pixel within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawPixel ( dst : Image , posX : number , posY : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw pixel within an image (Vector version) */
2023-05-16 06:28:30 +00:00
declare function imageDrawPixelV ( dst : Image , position : Vector2 , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw line within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawLine ( dst : Image , startPosX : number , startPosY : number , endPosX : number , endPosY : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw line within an image (Vector version) */
2023-05-16 06:28:30 +00:00
declare function imageDrawLineV ( dst : Image , start : Vector2 , end : Vector2 , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw a line defining thickness within an image */
declare function imageDrawLineEx ( dst : Image , start : Vector2 , end : Vector2 , thick : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw a filled circle within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawCircle ( dst : Image , centerX : number , centerY : number , radius : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw a filled circle within an image (Vector version) */
2023-05-16 06:28:30 +00:00
declare function imageDrawCircleV ( dst : Image , center : Vector2 , radius : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw circle outline within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawCircleLines ( dst : Image , centerX : number , centerY : number , radius : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw circle outline within an image (Vector version) */
2023-05-16 06:28:30 +00:00
declare function imageDrawCircleLinesV ( dst : Image , center : Vector2 , radius : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw rectangle within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawRectangle ( dst : Image , posX : number , posY : number , width : number , height : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw rectangle within an image (Vector version) */
2023-05-16 06:28:30 +00:00
declare function imageDrawRectangleV ( dst : Image , position : Vector2 , size : Vector2 , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw rectangle within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawRectangleRec ( dst : Image , rec : Rectangle , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw rectangle lines within an image */
2023-05-16 06:28:30 +00:00
declare function imageDrawRectangleLines ( dst : Image , rec : Rectangle , thick : number , color : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw triangle within an image */
declare function imageDrawTriangle ( dst : Image , v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color ) : void ;
/** Draw triangle with interpolated colors within an image */
declare function imageDrawTriangleEx ( dst : Image , v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , c1 : Color , c2 : Color , c3 : Color ) : void ;
/** Draw triangle outline within an image */
declare function imageDrawTriangleLines ( dst : Image , v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color ) : void ;
/** Draw a triangle fan defined by points within an image (first vertex is the center) */
declare function imageDrawTriangleFan ( dst : Image , points : Vector2 , pointCount : number , color : Color ) : void ;
/** Draw a triangle strip defined by points within an image */
declare function imageDrawTriangleStrip ( dst : Image , points : Vector2 , pointCount : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw a source image within a destination image (tint applied to source) */
2023-05-16 06:28:30 +00:00
declare function imageDraw ( dst : Image , src : Image , srcRec : Rectangle , dstRec : Rectangle , tint : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw text (using default font) within an image (destination) */
2023-06-06 14:50:38 +00:00
declare function imageDrawText ( dst : Image , text : string | undefined | null , posX : number , posY : number , fontSize : number , color : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Draw text (custom sprite font) within an image (destination) */
2023-06-06 14:50:38 +00:00
declare function imageDrawTextEx ( dst : Image , font : Font , text : string | undefined | null , position : Vector2 , fontSize : number , spacing : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Load texture from file into GPU memory (VRAM) */
2023-06-06 14:50:38 +00:00
declare function loadTexture ( fileName : string | undefined | null ) : Texture ;
2023-05-14 20:19:47 +00:00
/** Load texture from image data */
2023-05-16 06:28:30 +00:00
declare function loadTextureFromImage ( image : Image ) : Texture ;
2023-05-14 20:19:47 +00:00
/** Load cubemap from image, multiple image cubemap layouts supported */
2023-05-16 06:28:30 +00:00
declare function loadTextureCubemap ( image : Image , layout : number ) : Texture ;
2023-05-20 19:34:27 +00:00
/** Load texture for rendering (framebuffer) */
declare function loadRenderTexture ( width : number , height : number ) : RenderTexture ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a texture is valid (loaded in GPU) */
declare function isTextureValid ( texture : Texture ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload texture from GPU memory (VRAM) */
declare function unloadTexture ( texture : Texture ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a render texture is valid (loaded in GPU) */
declare function isRenderTextureValid ( target : RenderTexture ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload render texture from GPU memory (VRAM) */
declare function unloadRenderTexture ( target : RenderTexture ) : void ;
2023-05-24 20:47:17 +00:00
/** Update GPU texture with new data */
declare function updateTexture ( texture : Texture , pixels : any ) : void ;
/** Update GPU texture rectangle with new data */
declare function updateTextureRec ( texture : Texture , rec : Rectangle , pixels : any ) : void ;
2023-05-15 21:02:41 +00:00
/** Generate GPU mipmaps for a texture */
2023-05-20 19:34:27 +00:00
declare function genTextureMipmaps ( texture : Texture ) : void ;
2023-05-14 20:19:47 +00:00
/** Set texture scaling filter mode */
2023-05-16 06:28:30 +00:00
declare function setTextureFilter ( texture : Texture , filter : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Set texture wrapping mode */
2023-05-16 06:28:30 +00:00
declare function setTextureWrap ( texture : Texture , wrap : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a Texture2D */
2023-05-16 06:28:30 +00:00
declare function drawTexture ( texture : Texture , posX : number , posY : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a Texture2D with position defined as Vector2 */
2023-05-16 06:28:30 +00:00
declare function drawTextureV ( texture : Texture , position : Vector2 , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a Texture2D with extended parameters */
2023-05-16 06:28:30 +00:00
declare function drawTextureEx ( texture : Texture , position : Vector2 , rotation : number , scale : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a part of a texture defined by a rectangle */
2023-05-16 06:28:30 +00:00
declare function drawTextureRec ( texture : Texture , source : Rectangle , position : Vector2 , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a part of a texture defined by a rectangle with 'pro' parameters */
2023-05-16 06:28:30 +00:00
declare function drawTexturePro ( texture : Texture , source : Rectangle , dest : Rectangle , origin : Vector2 , rotation : number , tint : Color ) : void ;
2023-05-20 19:34:27 +00:00
/** Draws a texture (or part of it) that stretches or shrinks nicely */
declare function drawTextureNPatch ( texture : Texture , nPatchInfo : NPatchInfo , dest : Rectangle , origin : Vector2 , rotation : number , tint : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if two colors are equal */
declare function colorIsEqual ( col1 : Color , col2 : Color ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Get color with alpha applied, alpha goes from 0.0f to 1.0f */
declare function fade ( color : Color , alpha : number ) : Color ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get hexadecimal value for a Color (0xRRGGBBAA) */
2023-05-14 20:19:47 +00:00
declare function colorToInt ( color : Color ) : number ;
/** Get Color normalized as float [0..1] */
declare function colorNormalize ( color : Color ) : Vector4 ;
/** Get Color from normalized values [0..1] */
declare function colorFromNormalized ( normalized : Vector4 ) : Color ;
/** Get HSV values for a Color, hue [0..360], saturation/value [0..1] */
declare function colorToHSV ( color : Color ) : Vector3 ;
/** Get a Color from HSV values, hue [0..360], saturation/value [0..1] */
declare function colorFromHSV ( hue : number , saturation : number , value : number ) : Color ;
/** Get color multiplied with another color */
declare function colorTint ( color : Color , tint : Color ) : Color ;
/** Get color with brightness correction, brightness factor goes from -1.0f to 1.0f */
declare function colorBrightness ( color : Color , factor : number ) : Color ;
/** Get color with contrast correction, contrast values between -1.0f and 1.0f */
declare function colorContrast ( color : Color , contrast : number ) : Color ;
/** Get color with alpha applied, alpha goes from 0.0f to 1.0f */
declare function colorAlpha ( color : Color , alpha : number ) : Color ;
/** Get src alpha-blended into dst color with tint */
declare function colorAlphaBlend ( dst : Color , src : Color , tint : Color ) : Color ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get color lerp interpolation between two colors, factor [0.0f..1.0f] */
declare function colorLerp ( color1 : Color , color2 : Color , factor : number ) : Color ;
2023-05-14 20:19:47 +00:00
/** Get Color structure from hexadecimal value */
declare function getColor ( hexValue : number ) : Color ;
/** Get pixel data size in bytes for certain format */
declare function getPixelDataSize ( width : number , height : number , format : number ) : number ;
/** Get the default Font */
declare function getFontDefault ( ) : Font ;
/** Load font from file into GPU memory (VRAM) */
2023-06-06 14:50:38 +00:00
declare function loadFont ( fileName : string | undefined | null ) : Font ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** 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 */
2023-06-06 14:50:38 +00:00
declare function loadFontEx ( fileName : string | undefined | null , fontSize : number ) : Font ;
2023-05-14 20:19:47 +00:00
/** Load font from Image (XNA style) */
declare function loadFontFromImage ( image : Image , key : Color , firstChar : number ) : Font ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a font is valid (font data loaded, WARNING: GPU texture not checked) */
declare function isFontValid ( font : Font ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload font from GPU memory (VRAM) */
declare function unloadFont ( font : Font ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw current FPS */
declare function drawFPS ( posX : number , posY : number ) : void ;
/** Draw text (using default font) */
2023-06-06 14:50:38 +00:00
declare function drawText ( text : string | undefined | null , posX : number , posY : number , fontSize : number , color : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw text using font and additional parameters */
2023-06-06 14:50:38 +00:00
declare function drawTextEx ( font : Font , text : string | undefined | null , position : Vector2 , fontSize : number , spacing : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw text using Font and pro parameters (rotation) */
2023-06-06 14:50:38 +00:00
declare function drawTextPro ( font : Font , text : string | undefined | null , position : Vector2 , origin : Vector2 , rotation : number , fontSize : number , spacing : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw one character (codepoint) */
declare function drawTextCodepoint ( font : Font , codepoint : number , position : Vector2 , fontSize : number , tint : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set vertical line spacing when drawing with line-breaks */
declare function setTextLineSpacing ( spacing : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Measure string width for default font */
2023-06-06 14:50:38 +00:00
declare function measureText ( text : string | undefined | null , fontSize : number ) : number ;
2023-05-14 20:19:47 +00:00
/** Measure string size for Font */
2023-06-06 14:50:38 +00:00
declare function measureTextEx ( font : Font , text : string | undefined | null , fontSize : number , spacing : number ) : Vector2 ;
2023-05-14 20:19:47 +00:00
/** Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found */
declare function getGlyphIndex ( font : Font , codepoint : number ) : number ;
/** Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found */
declare function getGlyphAtlasRec ( font : Font , codepoint : number ) : Rectangle ;
/** Draw a line in 3D world space */
declare function drawLine3D ( startPos : Vector3 , endPos : Vector3 , color : Color ) : void ;
/** Draw a point in 3D space, actually a small line */
declare function drawPoint3D ( position : Vector3 , color : Color ) : void ;
/** Draw a circle in 3D world space */
declare function drawCircle3D ( center : Vector3 , radius : number , rotationAxis : Vector3 , rotationAngle : number , color : Color ) : void ;
/** Draw a color-filled triangle (vertex in counter-clockwise order!) */
declare function drawTriangle3D ( v1 : Vector3 , v2 : Vector3 , v3 : Vector3 , color : Color ) : void ;
/** Draw cube */
declare function drawCube ( position : Vector3 , width : number , height : number , length : number , color : Color ) : void ;
/** Draw cube (Vector version) */
declare function drawCubeV ( position : Vector3 , size : Vector3 , color : Color ) : void ;
/** Draw cube wires */
declare function drawCubeWires ( position : Vector3 , width : number , height : number , length : number , color : Color ) : void ;
/** Draw cube wires (Vector version) */
declare function drawCubeWiresV ( position : Vector3 , size : Vector3 , color : Color ) : void ;
/** Draw sphere */
declare function drawSphere ( centerPos : Vector3 , radius : number , color : Color ) : void ;
/** Draw sphere with extended parameters */
declare function drawSphereEx ( centerPos : Vector3 , radius : number , rings : number , slices : number , color : Color ) : void ;
/** Draw sphere wires */
declare function drawSphereWires ( centerPos : Vector3 , radius : number , rings : number , slices : number , color : Color ) : void ;
/** Draw a cylinder/cone */
declare function drawCylinder ( position : Vector3 , radiusTop : number , radiusBottom : number , height : number , slices : number , color : Color ) : void ;
/** Draw a cylinder with base at startPos and top at endPos */
declare function drawCylinderEx ( startPos : Vector3 , endPos : Vector3 , startRadius : number , endRadius : number , sides : number , color : Color ) : void ;
/** Draw a cylinder/cone wires */
declare function drawCylinderWires ( position : Vector3 , radiusTop : number , radiusBottom : number , height : number , slices : number , color : Color ) : void ;
/** Draw a cylinder wires with base at startPos and top at endPos */
declare function drawCylinderWiresEx ( startPos : Vector3 , endPos : Vector3 , startRadius : number , endRadius : number , sides : number , color : Color ) : void ;
/** Draw a capsule with the center of its sphere caps at startPos and endPos */
declare function drawCapsule ( startPos : Vector3 , endPos : Vector3 , radius : number , slices : number , rings : number , color : Color ) : void ;
/** Draw capsule wireframe with the center of its sphere caps at startPos and endPos */
declare function drawCapsuleWires ( startPos : Vector3 , endPos : Vector3 , radius : number , slices : number , rings : number , color : Color ) : void ;
/** Draw a plane XZ */
declare function drawPlane ( centerPos : Vector3 , size : Vector2 , color : Color ) : void ;
/** Draw a ray line */
declare function drawRay ( ray : Ray , color : Color ) : void ;
/** Draw a grid (centered at (0, 0, 0)) */
declare function drawGrid ( slices : number , spacing : number ) : void ;
/** Load model from files (meshes and materials) */
2023-06-06 14:50:38 +00:00
declare function loadModel ( fileName : string | undefined | null ) : Model ;
2023-05-14 20:19:47 +00:00
/** Load model from generated mesh (default material) */
declare function loadModelFromMesh ( mesh : Mesh ) : Model ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a model is valid (loaded in GPU, VAO/VBOs) */
declare function isModelValid ( model : Model ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload model (including meshes) from memory (RAM and/or VRAM) */
declare function unloadModel ( model : Model ) : void ;
2023-05-14 20:19:47 +00:00
/** Compute model bounding box limits (considers all meshes) */
declare function getModelBoundingBox ( model : Model ) : BoundingBox ;
/** Draw a model (with texture if set) */
declare function drawModel ( model : Model , position : Vector3 , scale : number , tint : Color ) : void ;
/** Draw a model with extended parameters */
declare function drawModelEx ( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : number , scale : Vector3 , tint : Color ) : void ;
/** Draw a model wires (with texture if set) */
declare function drawModelWires ( model : Model , position : Vector3 , scale : number , tint : Color ) : void ;
/** Draw a model wires (with texture if set) with extended parameters */
declare function drawModelWiresEx ( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : number , scale : Vector3 , tint : Color ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Draw a model as points */
declare function drawModelPoints ( model : Model , position : Vector3 , scale : number , tint : Color ) : void ;
/** Draw a model as points with extended parameters */
declare function drawModelPointsEx ( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : number , scale : Vector3 , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw bounding box (wires) */
declare function drawBoundingBox ( box : BoundingBox , color : Color ) : void ;
/** Draw a billboard texture */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function drawBillboard ( camera : Camera3D , texture : Texture , position : Vector3 , scale : number , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a billboard texture defined by source */
2023-05-16 06:28:30 +00:00
declare function drawBillboardRec ( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , size : Vector2 , tint : Color ) : void ;
2023-05-14 20:19:47 +00:00
/** Draw a billboard texture defined by source and rotation */
2023-05-16 06:28:30 +00:00
declare function drawBillboardPro ( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , up : Vector3 , size : Vector2 , origin : Vector2 , rotation : number , tint : Color ) : void ;
2023-05-15 21:02:41 +00:00
/** Upload mesh vertex data in GPU and provide VAO/VBO ids */
2023-05-16 06:28:30 +00:00
declare function uploadMesh ( mesh : Mesh , dynamic : boolean ) : void ;
2023-05-20 19:34:27 +00:00
/** Update mesh vertex data in GPU for a specific buffer index */
declare function updateMeshBuffer ( mesh : Mesh , index : number , data : any , dataSize : number , offset : number ) : void ;
/** Unload mesh data from CPU and GPU */
declare function unloadMesh ( mesh : Mesh ) : void ;
/** Draw a 3d mesh with material and transform */
declare function drawMesh ( mesh : Mesh , material : Material , transform : Matrix ) : void ;
/** Draw multiple mesh instances with material and different transforms */
declare function drawMeshInstanced ( mesh : Mesh , material : Material , transforms : Matrix , instances : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Compute mesh bounding box limits */
declare function getMeshBoundingBox ( mesh : Mesh ) : BoundingBox ;
2023-05-15 21:02:41 +00:00
/** Compute mesh tangents */
2023-05-16 06:28:30 +00:00
declare function genMeshTangents ( mesh : Mesh ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Export mesh data to file, returns true on success */
declare function exportMesh ( mesh : Mesh , fileName : string | undefined | null ) : boolean ;
/** Export mesh as code file (.h) defining multiple arrays of vertex attributes */
declare function exportMeshAsCode ( mesh : Mesh , fileName : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Generate polygonal mesh */
declare function genMeshPoly ( sides : number , radius : number ) : Mesh ;
/** Generate plane mesh (with subdivisions) */
declare function genMeshPlane ( width : number , length : number , resX : number , resZ : number ) : Mesh ;
/** Generate cuboid mesh */
declare function genMeshCube ( width : number , height : number , length : number ) : Mesh ;
/** Generate sphere mesh (standard sphere) */
declare function genMeshSphere ( radius : number , rings : number , slices : number ) : Mesh ;
/** Generate half-sphere mesh (no bottom cap) */
declare function genMeshHemiSphere ( radius : number , rings : number , slices : number ) : Mesh ;
/** Generate cylinder mesh */
declare function genMeshCylinder ( radius : number , height : number , slices : number ) : Mesh ;
/** Generate cone/pyramid mesh */
declare function genMeshCone ( radius : number , height : number , slices : number ) : Mesh ;
/** Generate torus mesh */
declare function genMeshTorus ( radius : number , size : number , radSeg : number , sides : number ) : Mesh ;
/** Generate trefoil knot mesh */
declare function genMeshKnot ( radius : number , size : number , radSeg : number , sides : number ) : Mesh ;
/** Generate heightmap mesh from image data */
declare function genMeshHeightmap ( heightmap : Image , size : Vector3 ) : Mesh ;
/** Generate cubes-based map mesh from image data */
declare function genMeshCubicmap ( cubicmap : Image , cubeSize : Vector3 ) : Mesh ;
2023-05-20 19:34:27 +00:00
/** Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) */
declare function loadMaterialDefault ( ) : Material ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Check if a material is valid (shader assigned, map textures loaded in GPU) */
declare function isMaterialValid ( material : Material ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload material from GPU memory (VRAM) */
declare function unloadMaterial ( material : Material ) : void ;
/** Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...) */
declare function setMaterialTexture ( material : Material , mapType : number , texture : Texture ) : void ;
/** Set material for a mesh */
declare function setModelMeshMaterial ( model : Model , meshId : number , materialId : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Update model animation mesh bone matrices (GPU skinning) */
declare function updateModelAnimationBones ( model : Model , anim : ModelAnimation , frame : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Check collision between two spheres */
declare function checkCollisionSpheres ( center1 : Vector3 , radius1 : number , center2 : Vector3 , radius2 : number ) : boolean ;
/** Check collision between two bounding boxes */
declare function checkCollisionBoxes ( box1 : BoundingBox , box2 : BoundingBox ) : boolean ;
/** Check collision between box and sphere */
declare function checkCollisionBoxSphere ( box : BoundingBox , center : Vector3 , radius : number ) : boolean ;
/** Get collision info between ray and sphere */
declare function getRayCollisionSphere ( ray : Ray , center : Vector3 , radius : number ) : RayCollision ;
/** Get collision info between ray and box */
declare function getRayCollisionBox ( ray : Ray , box : BoundingBox ) : RayCollision ;
/** Get collision info between ray and mesh */
declare function getRayCollisionMesh ( ray : Ray , mesh : Mesh , transform : Matrix ) : RayCollision ;
/** Get collision info between ray and triangle */
declare function getRayCollisionTriangle ( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 ) : RayCollision ;
/** Get collision info between ray and quad */
declare function getRayCollisionQuad ( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 , p4 : Vector3 ) : RayCollision ;
/** Initialize audio device and context */
declare function initAudioDevice ( ) : void ;
/** Close the audio device and context */
declare function closeAudioDevice ( ) : void ;
/** Check if audio device has been initialized successfully */
declare function isAudioDeviceReady ( ) : boolean ;
/** Set master volume (listener) */
declare function setMasterVolume ( volume : number ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get master volume (listener) */
declare function getMasterVolume ( ) : number ;
2023-05-14 20:19:47 +00:00
/** Load wave data from file */
2023-06-06 14:50:38 +00:00
declare function loadWave ( fileName : string | undefined | null ) : Wave ;
2023-05-24 20:47:17 +00:00
/** Load wave from memory buffer, fileType refers to extension: i.e. '.wav' */
2023-06-06 14:50:38 +00:00
declare function loadWaveFromMemory ( fileType : string | undefined | null , fileData : ArrayBuffer , dataSize : number ) : Wave ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Checks if wave data is valid (data loaded and parameters) */
declare function isWaveValid ( wave : Wave ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Load sound from file */
2023-06-06 14:50:38 +00:00
declare function loadSound ( fileName : string | undefined | null ) : Sound ;
2023-05-14 20:19:47 +00:00
/** Load sound from wave data */
declare function loadSoundFromWave ( wave : Wave ) : Sound ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Create a new sound that shares the same sample data as the source sound, does not own the sound data */
declare function loadSoundAlias ( source : Sound ) : Sound ;
/** Checks if a sound is valid (data loaded and buffers initialized) */
declare function isSoundValid ( sound : Sound ) : boolean ;
2023-05-24 20:47:17 +00:00
/** Update sound buffer with new data */
declare function updateSound ( sound : Sound , data : any , sampleCount : number ) : void ;
2023-05-20 19:34:27 +00:00
/** Unload wave data */
declare function unloadWave ( wave : Wave ) : void ;
/** Unload sound */
declare function unloadSound ( sound : Sound ) : void ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Unload a sound alias (does not deallocate sample data) */
declare function unloadSoundAlias ( alias : Sound ) : void ;
2023-05-14 20:19:47 +00:00
/** Export wave data to file, returns true on success */
2023-06-06 14:50:38 +00:00
declare function exportWave ( wave : Wave , fileName : string | undefined | null ) : boolean ;
2023-05-14 20:19:47 +00:00
/** Play a sound */
declare function playSound ( sound : Sound ) : void ;
/** Stop playing a sound */
declare function stopSound ( sound : Sound ) : void ;
/** Pause a sound */
declare function pauseSound ( sound : Sound ) : void ;
/** Resume a paused sound */
declare function resumeSound ( sound : Sound ) : void ;
/** Check if a sound is currently playing */
declare function isSoundPlaying ( sound : Sound ) : boolean ;
/** Set volume for a sound (1.0 is max level) */
declare function setSoundVolume ( sound : Sound , volume : number ) : void ;
/** Set pitch for a sound (1.0 is base level) */
declare function setSoundPitch ( sound : Sound , pitch : number ) : void ;
/** Set pan for a sound (0.5 is center) */
declare function setSoundPan ( sound : Sound , pan : number ) : void ;
/** Copy a wave to a new wave */
declare function waveCopy ( wave : Wave ) : Wave ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Crop a wave to defined frames range */
declare function waveCrop ( wave : Wave , initFrame : number , finalFrame : number ) : void ;
2023-05-15 21:02:41 +00:00
/** Convert wave data to desired format */
2023-05-16 06:28:30 +00:00
declare function waveFormat ( wave : Wave , sampleRate : number , sampleSize : number , channels : number ) : void ;
2023-05-14 20:19:47 +00:00
/** Load music stream from file */
2023-06-06 14:50:38 +00:00
declare function loadMusicStream ( fileName : string | undefined | null ) : Music ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Checks if a music stream is valid (context and buffers initialized) */
declare function isMusicValid ( music : Music ) : boolean ;
2023-05-20 19:34:27 +00:00
/** Unload music stream */
declare function unloadMusicStream ( music : Music ) : void ;
2023-05-14 20:19:47 +00:00
/** Start music playing */
declare function playMusicStream ( music : Music ) : void ;
/** Check if music is playing */
declare function isMusicStreamPlaying ( music : Music ) : boolean ;
/** Updates buffers for music streaming */
declare function updateMusicStream ( music : Music ) : void ;
/** Stop music playing */
declare function stopMusicStream ( music : Music ) : void ;
/** Pause music playing */
declare function pauseMusicStream ( music : Music ) : void ;
/** Resume playing paused music */
declare function resumeMusicStream ( music : Music ) : void ;
/** Seek music to a position (in seconds) */
declare function seekMusicStream ( music : Music , position : number ) : void ;
/** Set volume for music (1.0 is max level) */
declare function setMusicVolume ( music : Music , volume : number ) : void ;
/** Set pitch for a music (1.0 is base level) */
declare function setMusicPitch ( music : Music , pitch : number ) : void ;
/** Set pan for a music (0.5 is center) */
declare function setMusicPan ( music : Music , pan : number ) : void ;
/** Get music time length (in seconds) */
declare function getMusicTimeLength ( music : Music ) : number ;
/** Get current music time played (in seconds) */
declare function getMusicTimePlayed ( music : Music ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Checks if an audio stream is valid (buffers initialized) */
declare function isAudioStreamValid ( stream : AudioStream ) : boolean ;
2023-05-25 05:57:23 +00:00
/** Clamp float value */
2023-05-15 15:44:28 +00:00
declare function clamp ( value : number , min : number , max : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate linear interpolation between two floats */
2023-05-15 15:44:28 +00:00
declare function lerp ( start : number , end : number , amount : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Normalize input value within input range */
2023-05-15 15:44:28 +00:00
declare function normalize ( value : number , start : number , end : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Remap input value within input range to output range */
2023-05-15 15:44:28 +00:00
declare function remap ( value : number , inputStart : number , inputEnd : number , outputStart : number , outputEnd : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Wrap input value from min to max */
2023-05-15 15:44:28 +00:00
declare function wrap ( value : number , min : number , max : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Check whether two given floats are almost equal */
2023-05-15 15:44:28 +00:00
declare function floatEquals ( x : number , y : number ) : number ;
2023-05-25 05:57:23 +00:00
/** Vector with components value 0.0f */
2023-05-15 15:44:28 +00:00
declare function vector2Zero ( ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Vector with components value 1.0f */
2023-05-15 15:44:28 +00:00
declare function vector2One ( ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Add two vectors (v1 + v2) */
2023-05-15 15:44:28 +00:00
declare function vector2Add ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Add vector and float value */
2023-05-15 15:44:28 +00:00
declare function vector2AddValue ( v : Vector2 , add : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Subtract two vectors (v1 - v2) */
2023-05-15 15:44:28 +00:00
declare function vector2Subtract ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Subtract vector by float value */
2023-05-15 15:44:28 +00:00
declare function vector2SubtractValue ( v : Vector2 , sub : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Calculate vector length */
2023-05-15 15:44:28 +00:00
declare function vector2Length ( v : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate vector square length */
2023-05-15 15:44:28 +00:00
declare function vector2LengthSqr ( v : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate two vectors dot product */
2023-05-15 15:44:28 +00:00
declare function vector2DotProduct ( v1 : Vector2 , v2 : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate distance between two vectors */
2023-05-15 15:44:28 +00:00
declare function vector2Distance ( v1 : Vector2 , v2 : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate square distance between two vectors */
2023-05-15 15:44:28 +00:00
declare function vector2DistanceSqr ( v1 : Vector2 , v2 : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/ * * C a l c u l a t e a n g l e b e t w e e n t w o v e c t o r s
NOTE : Angle is calculated from origin point ( 0 , 0 ) * /
2023-05-15 15:44:28 +00:00
declare function vector2Angle ( v1 : Vector2 , v2 : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/ * * C a l c u l a t e a n g l e d e f i n e d b y a t w o v e c t o r s l i n e
NOTE : Parameters need to be normalized
Current implementation should be aligned with glm : : angle * /
2023-05-15 15:44:28 +00:00
declare function vector2LineAngle ( start : Vector2 , end : Vector2 ) : number ;
2023-05-25 05:57:23 +00:00
/** Scale vector (multiply by value) */
2023-05-15 15:44:28 +00:00
declare function vector2Scale ( v : Vector2 , scale : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Multiply vector by vector */
2023-05-15 15:44:28 +00:00
declare function vector2Multiply ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Negate vector */
2023-05-15 15:44:28 +00:00
declare function vector2Negate ( v : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Divide vector by vector */
2023-05-15 15:44:28 +00:00
declare function vector2Divide ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Normalize provided vector */
2023-05-15 15:44:28 +00:00
declare function vector2Normalize ( v : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Transforms a Vector2 by a given Matrix */
2023-05-15 15:44:28 +00:00
declare function vector2Transform ( v : Vector2 , mat : Matrix ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Calculate linear interpolation between two vectors */
2023-05-15 15:44:28 +00:00
declare function vector2Lerp ( v1 : Vector2 , v2 : Vector2 , amount : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Calculate reflected vector to normal */
2023-05-15 15:44:28 +00:00
declare function vector2Reflect ( v : Vector2 , normal : Vector2 ) : Vector2 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get min value for each pair of components */
declare function vector2Min ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
/** Get max value for each pair of components */
declare function vector2Max ( v1 : Vector2 , v2 : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Rotate vector by angle */
2023-05-15 15:44:28 +00:00
declare function vector2Rotate ( v : Vector2 , angle : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Move Vector towards target */
2023-05-15 15:44:28 +00:00
declare function vector2MoveTowards ( v : Vector2 , target : Vector2 , maxDistance : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Invert the given vector */
2023-05-15 15:44:28 +00:00
declare function vector2Invert ( v : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/ * * C l a m p t h e c o m p o n e n t s o f t h e v e c t o r b e t w e e n
min and max values specified by the given vectors * /
2023-05-15 15:44:28 +00:00
declare function vector2Clamp ( v : Vector2 , min : Vector2 , max : Vector2 ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Clamp the magnitude of the vector between two min and max values */
2023-05-15 15:44:28 +00:00
declare function vector2ClampValue ( v : Vector2 , min : number , max : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Check whether two given vectors are almost equal */
2023-05-15 15:44:28 +00:00
declare function vector2Equals ( p : Vector2 , q : Vector2 ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/ * * C o m p u t e t h e d i r e c t i o n o f a r e f r a c t e d r a y
v : normalized direction of the incoming ray
n : normalized normal vector of the interface of two optical media
r : ratio of the refractive index of the medium from where the ray comes
to the refractive index of the medium on the other side of the surface * /
declare function vector2Refract ( v : Vector2 , n : Vector2 , r : number ) : Vector2 ;
2023-05-25 05:57:23 +00:00
/** Vector with components value 0.0f */
2023-05-15 15:44:28 +00:00
declare function vector3Zero ( ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Vector with components value 1.0f */
2023-05-15 15:44:28 +00:00
declare function vector3One ( ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Add two vectors */
2023-05-15 15:44:28 +00:00
declare function vector3Add ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Add vector and float value */
2023-05-15 15:44:28 +00:00
declare function vector3AddValue ( v : Vector3 , add : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Subtract two vectors */
2023-05-15 21:02:41 +00:00
declare function vector3Subtract ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Subtract vector by float value */
2023-05-15 21:02:41 +00:00
declare function vector3SubtractValue ( v : Vector3 , sub : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Multiply vector by scalar */
2023-05-15 21:02:41 +00:00
declare function vector3Scale ( v : Vector3 , scalar : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Multiply vector by vector */
2023-05-15 21:02:41 +00:00
declare function vector3Multiply ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Calculate two vectors cross product */
2023-05-15 21:02:41 +00:00
declare function vector3CrossProduct ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Calculate one vector perpendicular vector */
2023-05-15 21:02:41 +00:00
declare function vector3Perpendicular ( v : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Calculate vector length */
2023-05-20 19:34:27 +00:00
declare function vector3Length ( v : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate vector square length */
2023-05-20 19:34:27 +00:00
declare function vector3LengthSqr ( v : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate two vectors dot product */
2023-05-15 21:02:41 +00:00
declare function vector3DotProduct ( v1 : Vector3 , v2 : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate distance between two vectors */
2023-05-15 21:02:41 +00:00
declare function vector3Distance ( v1 : Vector3 , v2 : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate square distance between two vectors */
2023-05-15 21:02:41 +00:00
declare function vector3DistanceSqr ( v1 : Vector3 , v2 : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Calculate angle between two vectors */
2023-05-15 21:02:41 +00:00
declare function vector3Angle ( v1 : Vector3 , v2 : Vector3 ) : number ;
2023-05-25 05:57:23 +00:00
/** Negate provided vector (invert direction) */
2023-05-15 21:02:41 +00:00
declare function vector3Negate ( v : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Divide vector by vector */
2023-05-15 21:02:41 +00:00
declare function vector3Divide ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Normalize provided vector */
2023-05-15 21:02:41 +00:00
declare function vector3Normalize ( v : Vector3 ) : Vector3 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** //Calculate the projection of the vector v1 on to v2 */
declare function vector3Project ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
/** //Calculate the rejection of the vector v1 on to v2 */
declare function vector3Reject ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
/ * * O r t h o n o r m a l i z e p r o v i d e d v e c t o r s
Makes vectors normalized and orthogonal to each other
Gram - Schmidt function implementation * /
declare function vector3OrthoNormalize ( v1 : Vector3 , v2 : Vector3 ) : void ;
2023-05-25 05:57:23 +00:00
/** Transforms a Vector3 by a given Matrix */
2023-05-15 21:02:41 +00:00
declare function vector3Transform ( v : Vector3 , mat : Matrix ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Transform a vector by quaternion rotation */
2023-05-16 06:28:30 +00:00
declare function vector3RotateByQuaternion ( v : Vector3 , q : Vector4 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Rotates a vector around an axis */
2023-05-15 21:02:41 +00:00
declare function vector3RotateByAxisAngle ( v : Vector3 , axis : Vector3 , angle : number ) : Vector3 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Move Vector towards target */
declare function vector3MoveTowards ( v : Vector3 , target : Vector3 , maxDistance : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Calculate linear interpolation between two vectors */
2023-05-15 21:02:41 +00:00
declare function vector3Lerp ( v1 : Vector3 , v2 : Vector3 , amount : number ) : Vector3 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/ * * C a l c u l a t e c u b i c h e r m i t e i n t e r p o l a t i o n b e t w e e n t w o v e c t o r s a n d t h e i r t a n g e n t s
as described in the GLTF 2.0 specification : https : //registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic */
declare function vector3CubicHermite ( v1 : Vector3 , tangent1 : Vector3 , v2 : Vector3 , tangent2 : Vector3 , amount : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Calculate reflected vector to normal */
2023-05-15 21:02:41 +00:00
declare function vector3Reflect ( v : Vector3 , normal : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Get min value for each pair of components */
2023-05-15 21:02:41 +00:00
declare function vector3Min ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Get max value for each pair of components */
2023-05-15 21:02:41 +00:00
declare function vector3Max ( v1 : Vector3 , v2 : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/ * * C o m p u t e b a r y c e n t e r c o o r d i n a t e s ( u , v , w ) f o r p o i n t p w i t h r e s p e c t t o t r i a n g l e ( a , b , c )
NOTE : Assumes P is on the plane of the triangle * /
2023-05-15 21:02:41 +00:00
declare function vector3Barycenter ( p : Vector3 , a : Vector3 , b : Vector3 , c : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/ * * P r o j e c t s a V e c t o r 3 f r o m s c r e e n s p a c e i n t o o b j e c t s p a c e
NOTE : We are avoiding calling other raymath functions despite available * /
2023-05-15 21:02:41 +00:00
declare function vector3Unproject ( source : Vector3 , projection : Matrix , view : Matrix ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Invert the given vector */
2023-05-15 21:02:41 +00:00
declare function vector3Invert ( v : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/ * * C l a m p t h e c o m p o n e n t s o f t h e v e c t o r b e t w e e n
min and max values specified by the given vectors * /
2023-05-15 21:02:41 +00:00
declare function vector3Clamp ( v : Vector3 , min : Vector3 , max : Vector3 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Clamp the magnitude of the vector between two values */
2023-05-15 21:02:41 +00:00
declare function vector3ClampValue ( v : Vector3 , min : number , max : number ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Check whether two given vectors are almost equal */
2023-05-15 21:02:41 +00:00
declare function vector3Equals ( p : Vector3 , q : Vector3 ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/ * * C o m p u t e t h e d i r e c t i o n o f a r e f r a c t e d r a y
v : normalized direction of the incoming ray
n : normalized normal vector of the interface of two optical media
r : ratio of the refractive index of the medium from where the ray comes
to the refractive index of the medium on the other side of the surface * /
2023-05-15 21:02:41 +00:00
declare function vector3Refract ( v : Vector3 , n : Vector3 , r : number ) : Vector3 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Calculate distance between two vectors */
declare function vector4Distance ( v1 : Vector4 , v2 : Vector4 ) : number ;
/** Calculate square distance between two vectors */
declare function vector4DistanceSqr ( v1 : Vector4 , v2 : Vector4 ) : number ;
/** Multiply vector by vector */
declare function vector4Multiply ( v1 : Vector4 , v2 : Vector4 ) : Vector4 ;
/** Negate vector */
declare function vector4Negate ( v : Vector4 ) : Vector4 ;
/** Divide vector by vector */
declare function vector4Divide ( v1 : Vector4 , v2 : Vector4 ) : Vector4 ;
/** Normalize provided vector */
declare function vector4Normalize ( v : Vector4 ) : Vector4 ;
/** Get min value for each pair of components */
declare function vector4Min ( v1 : Vector4 , v2 : Vector4 ) : Vector4 ;
/** Get max value for each pair of components */
declare function vector4Max ( v1 : Vector4 , v2 : Vector4 ) : Vector4 ;
/** Calculate linear interpolation between two vectors */
declare function vector4Lerp ( v1 : Vector4 , v2 : Vector4 , amount : number ) : Vector4 ;
/** Move Vector towards target */
declare function vector4MoveTowards ( v : Vector4 , target : Vector4 , maxDistance : number ) : Vector4 ;
/** Invert the given vector */
declare function vector4Invert ( v : Vector4 ) : Vector4 ;
/** Check whether two given vectors are almost equal */
declare function vector4Equals ( p : Vector4 , q : Vector4 ) : number ;
2023-05-25 05:57:23 +00:00
/** Compute matrix determinant */
2023-05-15 21:02:41 +00:00
declare function matrixDeterminant ( mat : Matrix ) : number ;
2023-05-25 05:57:23 +00:00
/** Get the trace of the matrix (sum of the values along the diagonal) */
2023-05-15 21:02:41 +00:00
declare function matrixTrace ( mat : Matrix ) : number ;
2023-05-25 05:57:23 +00:00
/** Transposes provided matrix */
2023-05-15 21:02:41 +00:00
declare function matrixTranspose ( mat : Matrix ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Invert provided matrix */
2023-05-15 21:02:41 +00:00
declare function matrixInvert ( mat : Matrix ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get identity matrix */
2023-05-15 21:02:41 +00:00
declare function matrixIdentity ( ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Add two matrices */
2023-05-15 21:02:41 +00:00
declare function matrixAdd ( left : Matrix , right : Matrix ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Subtract two matrices (left - right) */
2023-05-15 21:02:41 +00:00
declare function matrixSubtract ( left : Matrix , right : Matrix ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t t w o m a t r i x m u l t i p l i c a t i o n
NOTE : When multiplying matrices . . . the order matters ! * /
2023-05-15 21:02:41 +00:00
declare function matrixMultiply ( left : Matrix , right : Matrix ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get translation matrix */
2023-05-15 21:02:41 +00:00
declare function matrixTranslate ( x : number , y : number , z : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * C r e a t e r o t a t i o n m a t r i x f r o m a x i s a n d a n g l e
NOTE : Angle should be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotate ( axis : Vector3 , angle : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t x - r o t a t i o n m a t r i x
NOTE : Angle must be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotateX ( angle : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t y - r o t a t i o n m a t r i x
NOTE : Angle must be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotateY ( angle : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t z - r o t a t i o n m a t r i x
NOTE : Angle must be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotateZ ( angle : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t x y z - r o t a t i o n m a t r i x
NOTE : Angle must be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotateXYZ ( angle : Vector3 ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t z y x - r o t a t i o n m a t r i x
NOTE : Angle must be provided in radians * /
2023-05-15 21:02:41 +00:00
declare function matrixRotateZYX ( angle : Vector3 ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get scaling matrix */
2023-05-15 21:02:41 +00:00
declare function matrixScale ( x : number , y : number , z : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get perspective projection matrix */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function matrixFrustum ( left : number , right : number , bottom : number , top : number , nearPlane : number , farPlane : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t p e r s p e c t i v e p r o j e c t i o n m a t r i x
NOTE : Fovy angle must be provided in radians * /
2023-07-18 20:48:10 +00:00
declare function matrixPerspective ( fovY : number , aspect : number , nearPlane : number , farPlane : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get orthographic projection matrix */
2023-07-18 20:48:10 +00:00
declare function matrixOrtho ( left : number , right : number , bottom : number , top : number , nearPlane : number , farPlane : number ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Get camera look-at matrix (view matrix) */
2023-05-15 21:02:41 +00:00
declare function matrixLookAt ( eye : Vector3 , target : Vector3 , up : Vector3 ) : Matrix ;
2023-05-25 05:57:23 +00:00
/** Add two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionAdd ( q1 : Vector4 , q2 : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Add quaternion and float value */
2023-05-16 06:28:30 +00:00
declare function quaternionAddValue ( q : Vector4 , add : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Subtract two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionSubtract ( q1 : Vector4 , q2 : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Subtract quaternion and float value */
2023-05-16 06:28:30 +00:00
declare function quaternionSubtractValue ( q : Vector4 , sub : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Get identity quaternion */
2023-05-16 06:28:30 +00:00
declare function quaternionIdentity ( ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Computes the length of a quaternion */
2023-05-16 06:28:30 +00:00
declare function quaternionLength ( q : Vector4 ) : number ;
2023-05-25 05:57:23 +00:00
/** Normalize provided quaternion */
2023-05-16 06:28:30 +00:00
declare function quaternionNormalize ( q : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Invert provided quaternion */
2023-05-16 06:28:30 +00:00
declare function quaternionInvert ( q : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Calculate two quaternion multiplication */
2023-05-16 06:28:30 +00:00
declare function quaternionMultiply ( q1 : Vector4 , q2 : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Scale quaternion by float value */
2023-05-16 06:28:30 +00:00
declare function quaternionScale ( q : Vector4 , mul : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Divide two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionDivide ( q1 : Vector4 , q2 : Vector4 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Calculate linear interpolation between two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionLerp ( q1 : Vector4 , q2 : Vector4 , amount : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Calculate slerp-optimized interpolation between two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionNlerp ( q1 : Vector4 , q2 : Vector4 , amount : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Calculates spherical linear interpolation between two quaternions */
2023-05-16 06:28:30 +00:00
declare function quaternionSlerp ( q1 : Vector4 , q2 : Vector4 , amount : number ) : Vector4 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/ * * C a l c u l a t e q u a t e r n i o n c u b i c s p l i n e i n t e r p o l a t i o n u s i n g C u b i c H e r m i t e S p l i n e a l g o r i t h m
as described in the GLTF 2.0 specification : https : //registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic */
declare function quaternionCubicHermiteSpline ( q1 : Vector4 , outTangent1 : Vector4 , q2 : Vector4 , inTangent2 : Vector4 , t : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Calculate quaternion based on the rotation from one vector to another */
2023-05-16 06:28:30 +00:00
declare function quaternionFromVector3ToVector3 ( from : Vector3 , to : Vector3 ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Get a quaternion for a given rotation matrix */
2023-05-16 06:28:30 +00:00
declare function quaternionFromMatrix ( mat : Matrix ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Get a matrix for a given quaternion */
2023-05-16 06:28:30 +00:00
declare function quaternionToMatrix ( q : Vector4 ) : Matrix ;
2023-05-25 05:57:23 +00:00
/ * * G e t r o t a t i o n q u a t e r n i o n f o r a n a n g l e a n d a x i s
NOTE : Angle must be provided in radians * /
2023-05-16 06:28:30 +00:00
declare function quaternionFromAxisAngle ( axis : Vector3 , angle : number ) : Vector4 ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Get the rotation angle and axis for a given quaternion */
declare function quaternionToAxisAngle ( q : Vector4 , outAxis : Vector3 , outAngle : ArrayBuffer ) : void ;
2023-05-25 05:57:23 +00:00
/ * * G e t t h e q u a t e r n i o n e q u i v a l e n t t o E u l e r a n g l e s
NOTE : Rotation order is ZYX * /
2023-05-16 06:28:30 +00:00
declare function quaternionFromEuler ( pitch : number , yaw : number , roll : number ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/ * * G e t t h e E u l e r a n g l e s e q u i v a l e n t t o q u a t e r n i o n ( r o l l , p i t c h , y a w )
NOTE : Angles are returned in a Vector3 struct in radians * /
2023-05-16 06:28:30 +00:00
declare function quaternionToEuler ( q : Vector4 ) : Vector3 ;
2023-05-25 05:57:23 +00:00
/** Transform a quaternion given a transformation matrix */
2023-05-16 06:28:30 +00:00
declare function quaternionTransform ( q : Vector4 , mat : Matrix ) : Vector4 ;
2023-05-25 05:57:23 +00:00
/** Check whether two given quaternions are almost equal */
2023-05-16 06:28:30 +00:00
declare function quaternionEquals ( p : Vector4 , q : Vector4 ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Decompose a transformation matrix into its rotational, translational and scaling components */
declare function matrixDecompose ( mat : Matrix , translation : Vector3 , rotation : Quaternion , scale : Vector3 ) : void ;
2023-05-26 06:10:27 +00:00
/** */
declare function getCameraForward ( camera : Camera3D ) : Vector3 ;
/** */
declare function getCameraUp ( camera : Camera3D ) : Vector3 ;
/** */
declare function getCameraRight ( camera : Camera3D ) : Vector3 ;
2023-05-26 22:47:44 +00:00
/** */
2023-05-26 06:10:27 +00:00
declare function cameraMoveForward ( camera : Camera3D , distance : number , moveInWorldPlane : boolean ) : void ;
/** */
declare function cameraMoveUp ( camera : Camera3D , distance : number ) : void ;
/** */
declare function cameraMoveRight ( camera : Camera3D , distance : number , moveInWorldPlane : boolean ) : void ;
/** */
declare function cameraMoveToTarget ( camera : Camera3D , delta : number ) : void ;
2023-05-26 22:47:44 +00:00
/** */
2023-05-26 06:10:27 +00:00
declare function cameraYaw ( camera : Camera3D , angle : number , rotateAroundTarget : boolean ) : void ;
/** */
declare function cameraPitch ( camera : Camera3D , angle : number , lockView : boolean , rotateAroundTarget : boolean , rotateUp : boolean ) : void ;
/** */
declare function cameraRoll ( camera : Camera3D , angle : number ) : void ;
/** */
declare function getCameraViewMatrix ( camera : Camera3D ) : Matrix ;
/** */
declare function getCameraProjectionMatrix ( camera : Camera3D , aspect : number ) : Matrix ;
2023-05-26 22:47:44 +00:00
/** Enable gui controls (global state) */
declare function guiEnable ( ) : void ;
/** Disable gui controls (global state) */
declare function guiDisable ( ) : void ;
/** Lock gui controls (global state) */
declare function guiLock ( ) : void ;
/** Unlock gui controls (global state) */
declare function guiUnlock ( ) : void ;
/** Check if gui is locked (global state) */
declare function guiIsLocked ( ) : boolean ;
/** Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiSetAlpha ( alpha : number ) : void ;
2023-05-26 22:47:44 +00:00
/** Set gui state (global state) */
declare function guiSetState ( state : number ) : void ;
/** Get gui state (global state) */
declare function guiGetState ( ) : number ;
/** Set gui custom font (global state) */
declare function guiSetFont ( font : Font ) : void ;
/** Get gui custom font (global state) */
declare function guiGetFont ( ) : Font ;
/** Set one style property */
declare function guiSetStyle ( control : number , property : number , value : number ) : void ;
/** Get one style property */
declare function guiGetStyle ( control : number , property : number ) : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Load style file over global style variable (.rgs) */
declare function guiLoadStyle ( fileName : string | undefined | null ) : void ;
/** Load style default over global style */
declare function guiLoadStyleDefault ( ) : void ;
/** Enable gui tooltips (global state) */
declare function guiEnableTooltip ( ) : void ;
/** Disable gui tooltips (global state) */
declare function guiDisableTooltip ( ) : void ;
/** Set tooltip string */
declare function guiSetTooltip ( tooltip : string | undefined | null ) : void ;
/** Get text with icon id prepended (if supported) */
declare function guiIconText ( iconId : number , text : string | undefined | null ) : string | undefined | null ;
/** Set default icon drawing size */
declare function guiSetIconScale ( scale : number ) : void ;
/** Draw icon using pixel size at specified position */
declare function guiDrawIcon ( iconId : number , posX : number , posY : number , pixelSize : number , color : Color ) : void ;
2023-05-26 22:47:44 +00:00
/** Window Box control, shows a window that can be closed */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiWindowBox ( bounds : Rectangle , title : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Group Box control with text name */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiGroupBox ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Line separator control, could contain text */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiLine ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Panel control, useful to group controls */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiPanel ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Scroll Panel control */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiScrollPanel ( bounds : Rectangle , text : string | undefined | null , content : Rectangle , scroll : Vector2 , view : Rectangle ) : number ;
2023-05-26 22:47:44 +00:00
/** Label control, shows text */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiLabel ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Button control, returns true when clicked */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiButton ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Label button control, show true when clicked */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiLabelButton ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Toggle Button control, returns true when active */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiToggle ( bounds : Rectangle , text : string | undefined | null , active : bool ) : number ;
2023-05-26 22:47:44 +00:00
/** Toggle Group control, returns active toggle index */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiToggleGroup ( bounds : Rectangle , text : string | undefined | null , active : int ) : number ;
/** Toggle Slider control, returns true when clicked */
declare function guiToggleSlider ( bounds : Rectangle , text : string | undefined | null , active : int ) : number ;
2023-05-26 22:47:44 +00:00
/** Check Box control, returns true when active */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiCheckBox ( bounds : Rectangle , text : string | undefined | null , checked : bool ) : number ;
2023-05-26 22:47:44 +00:00
/** Combo Box control, returns selected item index */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiComboBox ( bounds : Rectangle , text : string | undefined | null , active : int ) : number ;
2023-06-03 07:15:38 +00:00
/** Dropdown Box control, returns selected item */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiDropdownBox ( bounds : Rectangle , text : string | undefined | null , active : { active : number } , editMode : boolean ) : number ;
2023-06-03 07:15:38 +00:00
/** Spinner control, returns selected value */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiSpinner ( bounds : Rectangle , text : string | undefined | null , value : { value : number } , minValue : number , maxValue : number , editMode : boolean ) : number ;
2023-06-03 07:15:38 +00:00
/** Value Box control, updates input text with numbers */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiValueBox ( bounds : Rectangle , text : string | undefined | null , value : { value : number } , minValue : number , maxValue : number , editMode : boolean ) : number ;
2023-06-04 11:41:18 +00:00
/** Text Box control, updates input text */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiTextBox ( bounds : Rectangle , text : { text : string } , editMode : boolean ) : number ;
2023-05-26 22:47:44 +00:00
/** Slider control, returns selected value */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiSlider ( bounds : Rectangle , textLeft : string | undefined | null , textRight : string | undefined | null , value : ArrayBuffer , minValue : number , maxValue : number ) : number ;
2023-05-26 22:47:44 +00:00
/** Slider Bar control, returns selected value */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiSliderBar ( bounds : Rectangle , textLeft : string | undefined | null , textRight : string | undefined | null , value : ArrayBuffer , minValue : number , maxValue : number ) : number ;
2023-05-26 22:47:44 +00:00
/** Progress Bar control, shows current progress value */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiProgressBar ( bounds : Rectangle , textLeft : string | undefined | null , textRight : string | undefined | null , value : ArrayBuffer , minValue : number , maxValue : number ) : number ;
2023-05-26 22:47:44 +00:00
/** Status Bar control, shows info text */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiStatusBar ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Dummy control for placeholders */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiDummyRec ( bounds : Rectangle , text : string | undefined | null ) : number ;
2023-05-26 22:47:44 +00:00
/** Grid control, returns mouse cell position */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiGrid ( bounds : Rectangle , text : string | undefined | null , spacing : number , subdivs : number , mouseCell : Vector2 ) : number ;
2023-06-03 07:15:38 +00:00
/** List View control, returns selected list item index */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiListView ( bounds : Rectangle , text : string | undefined | null , scrollIndex : { scrollIndex : number } , active : { active : number } ) : number ;
2023-05-26 22:47:44 +00:00
/** Message Box control, displays a message */
2023-06-06 14:50:38 +00:00
declare function guiMessageBox ( bounds : Rectangle , title : string | undefined | null , message : string | undefined | null , buttons : string | undefined | null ) : number ;
2023-06-04 20:31:15 +00:00
/** Text Input Box control, ask for text, supports secret */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiTextInputBox ( bounds : Rectangle , title : string | undefined | null , message : string | undefined | null , buttons : string | undefined | null , text : string | undefined | null , textMaxSize : number , secretViewActive : bool ) : number ;
2023-05-26 22:47:44 +00:00
/** Color Picker control (multiple color controls) */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiColorPicker ( bounds : Rectangle , text : string | undefined | null , color : Color ) : number ;
2023-05-26 22:47:44 +00:00
/** Color Panel control */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiColorPanel ( bounds : Rectangle , text : string | undefined | null , color : Color ) : number ;
2023-05-26 22:47:44 +00:00
/** Color Bar Alpha control */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiColorBarAlpha ( bounds : Rectangle , text : string | undefined | null , alpha : ArrayBuffer ) : number ;
2023-05-26 22:47:44 +00:00
/** Color Bar Hue control */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare function guiColorBarHue ( bounds : Rectangle , text : string | undefined | null , value : ArrayBuffer ) : number ;
/** Color Picker control that avoids conversion to RGB on each call (multiple color controls) */
declare function guiColorPickerHSV ( bounds : Rectangle , text : string | undefined | null , colorHsv : Vector3 ) : number ;
/** Color Panel control that returns HSV color value, used by GuiColorPickerHSV() */
declare function guiColorPanelHSV ( bounds : Rectangle , text : string | undefined | null , colorHsv : Vector3 ) : number ;
2023-06-11 10:49:26 +00:00
/** / / -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Module Functions Declaration
//---------------------------------------------------------------------------------- */
declare function createLight ( type : number , position : Vector3 , target : Vector3 , color : Color , shader : Shader ) : Light ;
/** Create a light and get shader locations */
declare function updateLightValues ( shader : Shader , light : Light ) : void ;
2023-05-26 22:47:44 +00:00
/** Linear Easing functions */
declare function easeLinearNone ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Linear */
declare function easeLinearIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Linear In */
declare function easeLinearOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Linear Out */
declare function easeLinearInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Sine Easing functions */
declare function easeSineIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Sine In */
declare function easeSineOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Sine Out */
declare function easeSineInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Circular Easing functions */
declare function easeCircIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Circular In */
declare function easeCircOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Circular Out */
declare function easeCircInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Cubic Easing functions */
declare function easeCubicIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Cubic In */
declare function easeCubicOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Cubic Out */
declare function easeCubicInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Quadratic Easing functions */
declare function easeQuadIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Quadratic In */
declare function easeQuadOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Quadratic Out */
declare function easeQuadInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Exponential Easing functions */
declare function easeExpoIn ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Exponential In */
declare function easeExpoOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Exponential Out */
declare function easeExpoInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Back Easing functions */
declare function easeBackIn ( t : number , b : number , c : number , d : number ) : number ;
/** Bounce Easing functions */
declare function easeBounceOut ( t : number , b : number , c : number , d : number ) : number ;
/** Ease: Bounce In */
declare function easeBounceInOut ( t : number , b : number , c : number , d : number ) : number ;
/** Elastic Easing functions */
declare function easeElasticIn ( t : number , b : number , c : number , d : number ) : number ;
2023-06-19 21:24:30 +00:00
/** */
declare function getDefaultLightmapperConfig ( ) : LightmapperConfig ;
/** */
declare function loadLightmapper ( w : number , h : number , mesh : Mesh , cfg : LightmapperConfig ) : Lightmapper ;
/** */
declare function loadMaterialLightmapper ( emissiveColor : Color , intensity : number ) : Material ;
/** */
declare function unloadLightmapper ( lm : Lightmapper ) : void ;
/** */
declare function beginLightmap ( ) : void ;
/** */
declare function endLightmap ( ) : void ;
/** */
declare function beginLightmapFragment ( lm : Lightmapper ) : boolean ;
/** */
declare function endLightmapFragment ( lm : Lightmapper ) : void ;
/** */
declare function loadImageFromLightmapper ( lm : Lightmapper ) : Image ;
2023-06-20 21:09:11 +00:00
/** Replace material in slot materialIndex (Material is NOT unloaded) */
2023-06-02 16:58:53 +00:00
declare function setModelMaterial ( model : Model , materialIndex : number , material : Material ) : void ;
2023-06-20 21:09:11 +00:00
/** Get material in slot materialIndex */
declare function getModelMaterial ( model : Model , materialIndex : number ) : Material ;
/** Get a single mesh from a model */
declare function getModelMesh ( model : Model , meshIndex : number ) : Mesh ;
2023-06-11 10:49:26 +00:00
/** Set shader constant in shader locations array */
2023-06-20 21:09:11 +00:00
declare function setShaderLocation ( shader : Shader , constant : number , location : number ) : void ;
2023-06-13 21:03:38 +00:00
/** Read a single pixel from an image */
declare function imageReadPixel ( image : Image , x : number , y : number ) : Color ;
2023-06-20 21:09:11 +00:00
/** Make a deep-copy of an existing mesh */
declare function meshCopy ( mesh : Mesh ) : Mesh ;
/** Create a new mesh that contains combined attributes of two meshes */
declare function meshMerge ( a : Mesh , b : Mesh ) : Mesh ;
2023-05-26 06:10:27 +00:00
/** (PI/180.0) */
declare var DEG2RAD : number ;
/** (180.0/PI) */
declare var RAD2DEG : number ;
2023-05-14 20:19:47 +00:00
/** Light Gray */
declare var LIGHTGRAY : Color ;
/** Gray */
declare var GRAY : Color ;
/** Dark Gray */
declare var DARKGRAY : Color ;
/** Yellow */
declare var YELLOW : Color ;
/** Gold */
declare var GOLD : Color ;
/** Orange */
declare var ORANGE : Color ;
/** Pink */
declare var PINK : Color ;
/** Red */
declare var RED : Color ;
/** Maroon */
declare var MAROON : Color ;
/** Green */
declare var GREEN : Color ;
/** Lime */
declare var LIME : Color ;
/** Dark Green */
declare var DARKGREEN : Color ;
/** Sky Blue */
declare var SKYBLUE : Color ;
/** Blue */
declare var BLUE : Color ;
/** Dark Blue */
declare var DARKBLUE : Color ;
/** Purple */
declare var PURPLE : Color ;
/** Violet */
declare var VIOLET : Color ;
/** Dark Purple */
declare var DARKPURPLE : Color ;
/** Beige */
declare var BEIGE : Color ;
/** Brown */
declare var BROWN : Color ;
/** Dark Brown */
declare var DARKBROWN : Color ;
/** White */
declare var WHITE : Color ;
/** Black */
declare var BLACK : Color ;
/** Blank (Transparent) */
declare var BLANK : Color ;
/** Magenta */
declare var MAGENTA : Color ;
/** My own White (raylib logo) */
declare var RAYWHITE : Color ;
2023-06-02 06:03:36 +00:00
/** Set to try enabling V-Sync on GPU */
declare var FLAG_VSYNC_HINT : number ;
/** Set to run program in fullscreen */
declare var FLAG_FULLSCREEN_MODE : number ;
/** Set to allow resizable window */
declare var FLAG_WINDOW_RESIZABLE : number ;
/** Set to disable window decoration (frame and buttons) */
declare var FLAG_WINDOW_UNDECORATED : number ;
/** Set to hide window */
declare var FLAG_WINDOW_HIDDEN : number ;
/** Set to minimize window (iconify) */
declare var FLAG_WINDOW_MINIMIZED : number ;
/** Set to maximize window (expanded to monitor) */
declare var FLAG_WINDOW_MAXIMIZED : number ;
/** Set to window non focused */
declare var FLAG_WINDOW_UNFOCUSED : number ;
/** Set to window always on top */
declare var FLAG_WINDOW_TOPMOST : number ;
/** Set to allow windows running while minimized */
declare var FLAG_WINDOW_ALWAYS_RUN : number ;
/** Set to allow transparent framebuffer */
declare var FLAG_WINDOW_TRANSPARENT : number ;
/** Set to support HighDPI */
declare var FLAG_WINDOW_HIGHDPI : number ;
/** Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED */
declare var FLAG_WINDOW_MOUSE_PASSTHROUGH : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Set to run program in borderless windowed mode */
declare var FLAG_BORDERLESS_WINDOWED_MODE : number ;
2023-06-02 06:03:36 +00:00
/** Set to try enabling MSAA 4X */
declare var FLAG_MSAA_4X_HINT : number ;
/** Set to try enabling interlaced video format (for V3D) */
declare var FLAG_INTERLACED_HINT : number ;
/** Display all logs */
declare var LOG_ALL : number ;
/** Trace logging, intended for internal use only */
declare var LOG_TRACE : number ;
/** Debug logging, used for internal debugging, it should be disabled on release builds */
declare var LOG_DEBUG : number ;
/** Info logging, used for program execution info */
declare var LOG_INFO : number ;
/** Warning logging, used on recoverable failures */
declare var LOG_WARNING : number ;
/** Error logging, used on unrecoverable failures */
declare var LOG_ERROR : number ;
/** Fatal logging, used to abort program: exit(EXIT_FAILURE) */
declare var LOG_FATAL : number ;
/** Disable logging */
declare var LOG_NONE : number ;
2023-05-14 20:19:47 +00:00
/** Key: NULL, used for no key pressed */
declare var KEY_NULL : number ;
/** Key: ' */
declare var KEY_APOSTROPHE : number ;
/** Key: , */
declare var KEY_COMMA : number ;
/** Key: - */
declare var KEY_MINUS : number ;
/** Key: . */
declare var KEY_PERIOD : number ;
/** Key: / */
declare var KEY_SLASH : number ;
/** Key: 0 */
declare var KEY_ZERO : number ;
/** Key: 1 */
declare var KEY_ONE : number ;
/** Key: 2 */
declare var KEY_TWO : number ;
/** Key: 3 */
declare var KEY_THREE : number ;
/** Key: 4 */
declare var KEY_FOUR : number ;
/** Key: 5 */
declare var KEY_FIVE : number ;
/** Key: 6 */
declare var KEY_SIX : number ;
/** Key: 7 */
declare var KEY_SEVEN : number ;
/** Key: 8 */
declare var KEY_EIGHT : number ;
/** Key: 9 */
declare var KEY_NINE : number ;
/** Key: ; */
declare var KEY_SEMICOLON : number ;
/** Key: = */
declare var KEY_EQUAL : number ;
/** Key: A | a */
declare var KEY_A : number ;
/** Key: B | b */
declare var KEY_B : number ;
/** Key: C | c */
declare var KEY_C : number ;
/** Key: D | d */
declare var KEY_D : number ;
/** Key: E | e */
declare var KEY_E : number ;
/** Key: F | f */
declare var KEY_F : number ;
/** Key: G | g */
declare var KEY_G : number ;
/** Key: H | h */
declare var KEY_H : number ;
/** Key: I | i */
declare var KEY_I : number ;
/** Key: J | j */
declare var KEY_J : number ;
/** Key: K | k */
declare var KEY_K : number ;
/** Key: L | l */
declare var KEY_L : number ;
/** Key: M | m */
declare var KEY_M : number ;
/** Key: N | n */
declare var KEY_N : number ;
/** Key: O | o */
declare var KEY_O : number ;
/** Key: P | p */
declare var KEY_P : number ;
/** Key: Q | q */
declare var KEY_Q : number ;
/** Key: R | r */
declare var KEY_R : number ;
/** Key: S | s */
declare var KEY_S : number ;
/** Key: T | t */
declare var KEY_T : number ;
/** Key: U | u */
declare var KEY_U : number ;
/** Key: V | v */
declare var KEY_V : number ;
/** Key: W | w */
declare var KEY_W : number ;
/** Key: X | x */
declare var KEY_X : number ;
/** Key: Y | y */
declare var KEY_Y : number ;
/** Key: Z | z */
declare var KEY_Z : number ;
/** Key: [ */
declare var KEY_LEFT_BRACKET : number ;
/** Key: '\' */
declare var KEY_BACKSLASH : number ;
/** Key: ] */
declare var KEY_RIGHT_BRACKET : number ;
/** Key: ` */
declare var KEY_GRAVE : number ;
/** Key: Space */
declare var KEY_SPACE : number ;
/** Key: Esc */
declare var KEY_ESCAPE : number ;
/** Key: Enter */
declare var KEY_ENTER : number ;
/** Key: Tab */
declare var KEY_TAB : number ;
/** Key: Backspace */
declare var KEY_BACKSPACE : number ;
/** Key: Ins */
declare var KEY_INSERT : number ;
/** Key: Del */
declare var KEY_DELETE : number ;
/** Key: Cursor right */
declare var KEY_RIGHT : number ;
/** Key: Cursor left */
declare var KEY_LEFT : number ;
/** Key: Cursor down */
declare var KEY_DOWN : number ;
/** Key: Cursor up */
declare var KEY_UP : number ;
/** Key: Page up */
declare var KEY_PAGE_UP : number ;
/** Key: Page down */
declare var KEY_PAGE_DOWN : number ;
/** Key: Home */
declare var KEY_HOME : number ;
/** Key: End */
declare var KEY_END : number ;
/** Key: Caps lock */
declare var KEY_CAPS_LOCK : number ;
/** Key: Scroll down */
declare var KEY_SCROLL_LOCK : number ;
/** Key: Num lock */
declare var KEY_NUM_LOCK : number ;
/** Key: Print screen */
declare var KEY_PRINT_SCREEN : number ;
/** Key: Pause */
declare var KEY_PAUSE : number ;
/** Key: F1 */
declare var KEY_F1 : number ;
/** Key: F2 */
declare var KEY_F2 : number ;
/** Key: F3 */
declare var KEY_F3 : number ;
/** Key: F4 */
declare var KEY_F4 : number ;
/** Key: F5 */
declare var KEY_F5 : number ;
/** Key: F6 */
declare var KEY_F6 : number ;
/** Key: F7 */
declare var KEY_F7 : number ;
/** Key: F8 */
declare var KEY_F8 : number ;
/** Key: F9 */
declare var KEY_F9 : number ;
/** Key: F10 */
declare var KEY_F10 : number ;
/** Key: F11 */
declare var KEY_F11 : number ;
/** Key: F12 */
declare var KEY_F12 : number ;
/** Key: Shift left */
declare var KEY_LEFT_SHIFT : number ;
/** Key: Control left */
declare var KEY_LEFT_CONTROL : number ;
/** Key: Alt left */
declare var KEY_LEFT_ALT : number ;
/** Key: Super left */
declare var KEY_LEFT_SUPER : number ;
/** Key: Shift right */
declare var KEY_RIGHT_SHIFT : number ;
/** Key: Control right */
declare var KEY_RIGHT_CONTROL : number ;
/** Key: Alt right */
declare var KEY_RIGHT_ALT : number ;
/** Key: Super right */
declare var KEY_RIGHT_SUPER : number ;
/** Key: KB menu */
declare var KEY_KB_MENU : number ;
/** Key: Keypad 0 */
declare var KEY_KP_0 : number ;
/** Key: Keypad 1 */
declare var KEY_KP_1 : number ;
/** Key: Keypad 2 */
declare var KEY_KP_2 : number ;
/** Key: Keypad 3 */
declare var KEY_KP_3 : number ;
/** Key: Keypad 4 */
declare var KEY_KP_4 : number ;
/** Key: Keypad 5 */
declare var KEY_KP_5 : number ;
/** Key: Keypad 6 */
declare var KEY_KP_6 : number ;
/** Key: Keypad 7 */
declare var KEY_KP_7 : number ;
/** Key: Keypad 8 */
declare var KEY_KP_8 : number ;
/** Key: Keypad 9 */
declare var KEY_KP_9 : number ;
/** Key: Keypad . */
declare var KEY_KP_DECIMAL : number ;
/** Key: Keypad / */
declare var KEY_KP_DIVIDE : number ;
/** Key: Keypad * */
declare var KEY_KP_MULTIPLY : number ;
/** Key: Keypad - */
declare var KEY_KP_SUBTRACT : number ;
/** Key: Keypad + */
declare var KEY_KP_ADD : number ;
/** Key: Keypad Enter */
declare var KEY_KP_ENTER : number ;
/** Key: Keypad = */
declare var KEY_KP_EQUAL : number ;
/** Key: Android back button */
declare var KEY_BACK : number ;
/** Key: Android menu button */
declare var KEY_MENU : number ;
/** Key: Android volume up button */
declare var KEY_VOLUME_UP : number ;
/** Key: Android volume down button */
declare var KEY_VOLUME_DOWN : number ;
/** Mouse button left */
declare var MOUSE_BUTTON_LEFT : number ;
/** Mouse button right */
declare var MOUSE_BUTTON_RIGHT : number ;
/** Mouse button middle (pressed wheel) */
declare var MOUSE_BUTTON_MIDDLE : number ;
/** Mouse button side (advanced mouse device) */
declare var MOUSE_BUTTON_SIDE : number ;
/** Mouse button extra (advanced mouse device) */
declare var MOUSE_BUTTON_EXTRA : number ;
/** Mouse button forward (advanced mouse device) */
declare var MOUSE_BUTTON_FORWARD : number ;
/** Mouse button back (advanced mouse device) */
declare var MOUSE_BUTTON_BACK : number ;
/** Default pointer shape */
declare var MOUSE_CURSOR_DEFAULT : number ;
/** Arrow shape */
declare var MOUSE_CURSOR_ARROW : number ;
/** Text writing cursor shape */
declare var MOUSE_CURSOR_IBEAM : number ;
/** Cross shape */
declare var MOUSE_CURSOR_CROSSHAIR : number ;
/** Pointing hand cursor */
declare var MOUSE_CURSOR_POINTING_HAND : number ;
/** Horizontal resize/move arrow shape */
declare var MOUSE_CURSOR_RESIZE_EW : number ;
/** Vertical resize/move arrow shape */
declare var MOUSE_CURSOR_RESIZE_NS : number ;
/** Top-left to bottom-right diagonal resize/move arrow shape */
declare var MOUSE_CURSOR_RESIZE_NWSE : number ;
/** The top-right to bottom-left diagonal resize/move arrow shape */
declare var MOUSE_CURSOR_RESIZE_NESW : number ;
/** The omnidirectional resize/move cursor shape */
declare var MOUSE_CURSOR_RESIZE_ALL : number ;
/** The operation-not-allowed shape */
declare var MOUSE_CURSOR_NOT_ALLOWED : number ;
2023-06-02 06:03:36 +00:00
/** Unknown button, just for error checking */
declare var GAMEPAD_BUTTON_UNKNOWN : number ;
/** Gamepad left DPAD up button */
declare var GAMEPAD_BUTTON_LEFT_FACE_UP : number ;
/** Gamepad left DPAD right button */
declare var GAMEPAD_BUTTON_LEFT_FACE_RIGHT : number ;
/** Gamepad left DPAD down button */
declare var GAMEPAD_BUTTON_LEFT_FACE_DOWN : number ;
/** Gamepad left DPAD left button */
declare var GAMEPAD_BUTTON_LEFT_FACE_LEFT : number ;
/** Gamepad right button up (i.e. PS3: Triangle, Xbox: Y) */
declare var GAMEPAD_BUTTON_RIGHT_FACE_UP : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Gamepad right button right (i.e. PS3: Circle, Xbox: B) */
2023-06-02 06:03:36 +00:00
declare var GAMEPAD_BUTTON_RIGHT_FACE_RIGHT : number ;
/** Gamepad right button down (i.e. PS3: Cross, Xbox: A) */
declare var GAMEPAD_BUTTON_RIGHT_FACE_DOWN : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Gamepad right button left (i.e. PS3: Square, Xbox: X) */
2023-06-02 06:03:36 +00:00
declare var GAMEPAD_BUTTON_RIGHT_FACE_LEFT : number ;
/** Gamepad top/back trigger left (first), it could be a trailing button */
declare var GAMEPAD_BUTTON_LEFT_TRIGGER_1 : number ;
/** Gamepad top/back trigger left (second), it could be a trailing button */
declare var GAMEPAD_BUTTON_LEFT_TRIGGER_2 : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Gamepad top/back trigger right (first), it could be a trailing button */
2023-06-02 06:03:36 +00:00
declare var GAMEPAD_BUTTON_RIGHT_TRIGGER_1 : number ;
/** Gamepad top/back trigger right (second), it could be a trailing button */
declare var GAMEPAD_BUTTON_RIGHT_TRIGGER_2 : number ;
/** Gamepad center buttons, left one (i.e. PS3: Select) */
declare var GAMEPAD_BUTTON_MIDDLE_LEFT : number ;
/** Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX) */
declare var GAMEPAD_BUTTON_MIDDLE : number ;
/** Gamepad center buttons, right one (i.e. PS3: Start) */
declare var GAMEPAD_BUTTON_MIDDLE_RIGHT : number ;
/** Gamepad joystick pressed button left */
declare var GAMEPAD_BUTTON_LEFT_THUMB : number ;
/** Gamepad joystick pressed button right */
declare var GAMEPAD_BUTTON_RIGHT_THUMB : number ;
/** Gamepad left stick X axis */
declare var GAMEPAD_AXIS_LEFT_X : number ;
/** Gamepad left stick Y axis */
declare var GAMEPAD_AXIS_LEFT_Y : number ;
/** Gamepad right stick X axis */
declare var GAMEPAD_AXIS_RIGHT_X : number ;
/** Gamepad right stick Y axis */
declare var GAMEPAD_AXIS_RIGHT_Y : number ;
/** Gamepad back trigger left, pressure level: [1..-1] */
declare var GAMEPAD_AXIS_LEFT_TRIGGER : number ;
/** Gamepad back trigger right, pressure level: [1..-1] */
declare var GAMEPAD_AXIS_RIGHT_TRIGGER : number ;
/** Albedo material (same as: MATERIAL_MAP_DIFFUSE) */
declare var MATERIAL_MAP_ALBEDO : number ;
/** Metalness material (same as: MATERIAL_MAP_SPECULAR) */
declare var MATERIAL_MAP_METALNESS : number ;
/** Normal material */
declare var MATERIAL_MAP_NORMAL : number ;
/** Roughness material */
declare var MATERIAL_MAP_ROUGHNESS : number ;
/** Ambient occlusion material */
declare var MATERIAL_MAP_OCCLUSION : number ;
/** Emission material */
declare var MATERIAL_MAP_EMISSION : number ;
/** Heightmap material */
declare var MATERIAL_MAP_HEIGHT : number ;
/** Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP) */
declare var MATERIAL_MAP_CUBEMAP : number ;
/** Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP) */
declare var MATERIAL_MAP_IRRADIANCE : number ;
/** Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP) */
declare var MATERIAL_MAP_PREFILTER : number ;
/** Brdf material */
declare var MATERIAL_MAP_BRDF : number ;
2023-05-16 06:28:30 +00:00
/** Shader location: vertex attribute: position */
declare var SHADER_LOC_VERTEX_POSITION : number ;
/** Shader location: vertex attribute: texcoord01 */
declare var SHADER_LOC_VERTEX_TEXCOORD01 : number ;
/** Shader location: vertex attribute: texcoord02 */
declare var SHADER_LOC_VERTEX_TEXCOORD02 : number ;
/** Shader location: vertex attribute: normal */
declare var SHADER_LOC_VERTEX_NORMAL : number ;
/** Shader location: vertex attribute: tangent */
declare var SHADER_LOC_VERTEX_TANGENT : number ;
/** Shader location: vertex attribute: color */
declare var SHADER_LOC_VERTEX_COLOR : number ;
/** Shader location: matrix uniform: model-view-projection */
declare var SHADER_LOC_MATRIX_MVP : number ;
/** Shader location: matrix uniform: view (camera transform) */
declare var SHADER_LOC_MATRIX_VIEW : number ;
/** Shader location: matrix uniform: projection */
declare var SHADER_LOC_MATRIX_PROJECTION : number ;
/** Shader location: matrix uniform: model (transform) */
declare var SHADER_LOC_MATRIX_MODEL : number ;
/** Shader location: matrix uniform: normal */
declare var SHADER_LOC_MATRIX_NORMAL : number ;
/** Shader location: vector uniform: view */
declare var SHADER_LOC_VECTOR_VIEW : number ;
/** Shader location: vector uniform: diffuse color */
declare var SHADER_LOC_COLOR_DIFFUSE : number ;
/** Shader location: vector uniform: specular color */
declare var SHADER_LOC_COLOR_SPECULAR : number ;
/** Shader location: vector uniform: ambient color */
declare var SHADER_LOC_COLOR_AMBIENT : number ;
/** Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE) */
declare var SHADER_LOC_MAP_ALBEDO : number ;
/** Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR) */
declare var SHADER_LOC_MAP_METALNESS : number ;
/** Shader location: sampler2d texture: normal */
declare var SHADER_LOC_MAP_NORMAL : number ;
/** Shader location: sampler2d texture: roughness */
declare var SHADER_LOC_MAP_ROUGHNESS : number ;
/** Shader location: sampler2d texture: occlusion */
declare var SHADER_LOC_MAP_OCCLUSION : number ;
/** Shader location: sampler2d texture: emission */
declare var SHADER_LOC_MAP_EMISSION : number ;
/** Shader location: sampler2d texture: height */
declare var SHADER_LOC_MAP_HEIGHT : number ;
/** Shader location: samplerCube texture: cubemap */
declare var SHADER_LOC_MAP_CUBEMAP : number ;
/** Shader location: samplerCube texture: irradiance */
declare var SHADER_LOC_MAP_IRRADIANCE : number ;
/** Shader location: samplerCube texture: prefilter */
declare var SHADER_LOC_MAP_PREFILTER : number ;
/** Shader location: sampler2d texture: brdf */
declare var SHADER_LOC_MAP_BRDF : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Shader location: vertex attribute: boneIds */
declare var SHADER_LOC_VERTEX_BONEIDS : number ;
/** Shader location: vertex attribute: boneWeights */
declare var SHADER_LOC_VERTEX_BONEWEIGHTS : number ;
/** Shader location: array of matrices uniform: boneMatrices */
declare var SHADER_LOC_BONE_MATRICES : number ;
2023-05-16 06:28:30 +00:00
/** Shader uniform type: float */
declare var SHADER_UNIFORM_FLOAT : number ;
/** Shader uniform type: vec2 (2 float) */
declare var SHADER_UNIFORM_VEC2 : number ;
/** Shader uniform type: vec3 (3 float) */
declare var SHADER_UNIFORM_VEC3 : number ;
/** Shader uniform type: vec4 (4 float) */
declare var SHADER_UNIFORM_VEC4 : number ;
/** Shader uniform type: int */
declare var SHADER_UNIFORM_INT : number ;
/** Shader uniform type: ivec2 (2 int) */
declare var SHADER_UNIFORM_IVEC2 : number ;
/** Shader uniform type: ivec3 (3 int) */
declare var SHADER_UNIFORM_IVEC3 : number ;
/** Shader uniform type: ivec4 (4 int) */
declare var SHADER_UNIFORM_IVEC4 : number ;
/** Shader uniform type: sampler2d */
declare var SHADER_UNIFORM_SAMPLER2D : number ;
2023-06-02 06:03:36 +00:00
/** Shader attribute type: float */
declare var SHADER_ATTRIB_FLOAT : number ;
/** Shader attribute type: vec2 (2 float) */
declare var SHADER_ATTRIB_VEC2 : number ;
/** Shader attribute type: vec3 (3 float) */
declare var SHADER_ATTRIB_VEC3 : number ;
/** Shader attribute type: vec4 (4 float) */
declare var SHADER_ATTRIB_VEC4 : number ;
/** 8 bit per pixel (no alpha) */
declare var PIXELFORMAT_UNCOMPRESSED_GRAYSCALE : number ;
/** 8*2 bpp (2 channels) */
declare var PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA : number ;
/** 16 bpp */
declare var PIXELFORMAT_UNCOMPRESSED_R5G6B5 : number ;
/** 24 bpp */
declare var PIXELFORMAT_UNCOMPRESSED_R8G8B8 : number ;
/** 16 bpp (1 bit alpha) */
declare var PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 : number ;
/** 16 bpp (4 bit alpha) */
declare var PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 : number ;
/** 32 bpp */
declare var PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 : number ;
/** 32 bpp (1 channel - float) */
declare var PIXELFORMAT_UNCOMPRESSED_R32 : number ;
/** 32*3 bpp (3 channels - float) */
declare var PIXELFORMAT_UNCOMPRESSED_R32G32B32 : number ;
/** 32*4 bpp (4 channels - float) */
declare var PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** 16 bpp (1 channel - half float) */
declare var PIXELFORMAT_UNCOMPRESSED_R16 : number ;
/** 16*3 bpp (3 channels - half float) */
declare var PIXELFORMAT_UNCOMPRESSED_R16G16B16 : number ;
/** 16*4 bpp (4 channels - half float) */
declare var PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 : number ;
2023-06-02 06:03:36 +00:00
/** 4 bpp (no alpha) */
declare var PIXELFORMAT_COMPRESSED_DXT1_RGB : number ;
/** 4 bpp (1 bit alpha) */
declare var PIXELFORMAT_COMPRESSED_DXT1_RGBA : number ;
/** 8 bpp */
declare var PIXELFORMAT_COMPRESSED_DXT3_RGBA : number ;
/** 8 bpp */
declare var PIXELFORMAT_COMPRESSED_DXT5_RGBA : number ;
/** 4 bpp */
declare var PIXELFORMAT_COMPRESSED_ETC1_RGB : number ;
/** 4 bpp */
declare var PIXELFORMAT_COMPRESSED_ETC2_RGB : number ;
/** 8 bpp */
declare var PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA : number ;
/** 4 bpp */
declare var PIXELFORMAT_COMPRESSED_PVRT_RGB : number ;
/** 4 bpp */
declare var PIXELFORMAT_COMPRESSED_PVRT_RGBA : number ;
/** 8 bpp */
declare var PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA : number ;
/** 2 bpp */
declare var PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA : number ;
/** No filter, just pixel approximation */
declare var TEXTURE_FILTER_POINT : number ;
/** Linear filtering */
declare var TEXTURE_FILTER_BILINEAR : number ;
/** Trilinear filtering (linear with mipmaps) */
declare var TEXTURE_FILTER_TRILINEAR : number ;
/** Anisotropic filtering 4x */
declare var TEXTURE_FILTER_ANISOTROPIC_4X : number ;
/** Anisotropic filtering 8x */
declare var TEXTURE_FILTER_ANISOTROPIC_8X : number ;
/** Anisotropic filtering 16x */
declare var TEXTURE_FILTER_ANISOTROPIC_16X : number ;
/** Repeats texture in tiled mode */
declare var TEXTURE_WRAP_REPEAT : number ;
/** Clamps texture to edge pixel in tiled mode */
declare var TEXTURE_WRAP_CLAMP : number ;
/** Mirrors and repeats the texture in tiled mode */
declare var TEXTURE_WRAP_MIRROR_REPEAT : number ;
/** Mirrors and clamps to border the texture in tiled mode */
declare var TEXTURE_WRAP_MIRROR_CLAMP : number ;
/** Automatically detect layout type */
declare var CUBEMAP_LAYOUT_AUTO_DETECT : number ;
/** Layout is defined by a vertical line with faces */
declare var CUBEMAP_LAYOUT_LINE_VERTICAL : number ;
/** Layout is defined by a horizontal line with faces */
declare var CUBEMAP_LAYOUT_LINE_HORIZONTAL : number ;
/** Layout is defined by a 3x4 cross with cubemap faces */
declare var CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR : number ;
/** Layout is defined by a 4x3 cross with cubemap faces */
declare var CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE : number ;
/** Default font generation, anti-aliased */
declare var FONT_DEFAULT : number ;
/** Bitmap font generation, no anti-aliasing */
declare var FONT_BITMAP : number ;
/** SDF font generation, requires external shader */
declare var FONT_SDF : number ;
/** Blend textures considering alpha (default) */
declare var BLEND_ALPHA : number ;
/** Blend textures adding colors */
declare var BLEND_ADDITIVE : number ;
/** Blend textures multiplying colors */
declare var BLEND_MULTIPLIED : number ;
/** Blend textures adding colors (alternative) */
declare var BLEND_ADD_COLORS : number ;
/** Blend textures subtracting colors (alternative) */
declare var BLEND_SUBTRACT_COLORS : number ;
/** Blend premultiplied textures considering alpha */
declare var BLEND_ALPHA_PREMULTIPLY : number ;
/** Blend textures using custom src/dst factors (use rlSetBlendFactors()) */
declare var BLEND_CUSTOM : number ;
/** Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate()) */
declare var BLEND_CUSTOM_SEPARATE : number ;
/** No gesture */
declare var GESTURE_NONE : number ;
/** Tap gesture */
declare var GESTURE_TAP : number ;
/** Double tap gesture */
declare var GESTURE_DOUBLETAP : number ;
/** Hold gesture */
declare var GESTURE_HOLD : number ;
/** Drag gesture */
declare var GESTURE_DRAG : number ;
/** Swipe right gesture */
declare var GESTURE_SWIPE_RIGHT : number ;
/** Swipe left gesture */
declare var GESTURE_SWIPE_LEFT : number ;
/** Swipe up gesture */
declare var GESTURE_SWIPE_UP : number ;
/** Swipe down gesture */
declare var GESTURE_SWIPE_DOWN : number ;
/** Pinch in gesture */
declare var GESTURE_PINCH_IN : number ;
/** Pinch out gesture */
declare var GESTURE_PINCH_OUT : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Camera custom, controlled by user (UpdateCamera() does nothing) */
2023-06-02 06:03:36 +00:00
declare var CAMERA_CUSTOM : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Camera free mode */
2023-06-02 06:03:36 +00:00
declare var CAMERA_FREE : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Camera orbital, around target, zoom supported */
2023-06-02 06:03:36 +00:00
declare var CAMERA_ORBITAL : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Camera first person */
2023-06-02 06:03:36 +00:00
declare var CAMERA_FIRST_PERSON : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Camera third person */
2023-06-02 06:03:36 +00:00
declare var CAMERA_THIRD_PERSON : number ;
/** Perspective projection */
declare var CAMERA_PERSPECTIVE : number ;
/** Orthographic projection */
declare var CAMERA_ORTHOGRAPHIC : number ;
/** Npatch layout: 3x3 tiles */
declare var NPATCH_NINE_PATCH : number ;
/** Npatch layout: 1x3 tiles */
declare var NPATCH_THREE_PATCH_VERTICAL : number ;
/** Npatch layout: 3x1 tiles */
declare var NPATCH_THREE_PATCH_HORIZONTAL : number ;
/** */
declare var STATE_NORMAL : number ;
/** */
declare var STATE_FOCUSED : number ;
/** */
declare var STATE_PRESSED : number ;
/** */
declare var STATE_DISABLED : number ;
/** */
declare var TEXT_ALIGN_LEFT : number ;
/** */
declare var TEXT_ALIGN_CENTER : number ;
/** */
declare var TEXT_ALIGN_RIGHT : number ;
/** */
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
declare var TEXT_ALIGN_TOP : number ;
/** */
declare var TEXT_ALIGN_MIDDLE : number ;
/** */
declare var TEXT_ALIGN_BOTTOM : number ;
/** */
declare var TEXT_WRAP_NONE : number ;
/** */
declare var TEXT_WRAP_CHAR : number ;
/** */
declare var TEXT_WRAP_WORD : number ;
/** */
2023-06-02 06:03:36 +00:00
declare var DEFAULT : number ;
/** Used also for: LABELBUTTON */
declare var LABEL : number ;
/** */
declare var BUTTON : number ;
/** Used also for: TOGGLEGROUP */
declare var TOGGLE : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Used also for: SLIDERBAR, TOGGLESLIDER */
2023-06-02 06:03:36 +00:00
declare var SLIDER : number ;
/** */
declare var PROGRESSBAR : number ;
/** */
declare var CHECKBOX : number ;
/** */
declare var COMBOBOX : number ;
/** */
declare var DROPDOWNBOX : number ;
/** Used also for: TEXTBOXMULTI */
declare var TEXTBOX : number ;
/** */
declare var VALUEBOX : number ;
/** Uses: BUTTON, VALUEBOX */
declare var SPINNER : number ;
/** */
declare var LISTVIEW : number ;
/** */
declare var COLORPICKER : number ;
/** */
declare var SCROLLBAR : number ;
/** */
declare var STATUSBAR : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control border color in STATE_NORMAL */
2023-06-02 06:03:36 +00:00
declare var BORDER_COLOR_NORMAL : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control base color in STATE_NORMAL */
2023-06-02 06:03:36 +00:00
declare var BASE_COLOR_NORMAL : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text color in STATE_NORMAL */
2023-06-02 06:03:36 +00:00
declare var TEXT_COLOR_NORMAL : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control border color in STATE_FOCUSED */
2023-06-02 06:03:36 +00:00
declare var BORDER_COLOR_FOCUSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control base color in STATE_FOCUSED */
2023-06-02 06:03:36 +00:00
declare var BASE_COLOR_FOCUSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text color in STATE_FOCUSED */
2023-06-02 06:03:36 +00:00
declare var TEXT_COLOR_FOCUSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control border color in STATE_PRESSED */
2023-06-02 06:03:36 +00:00
declare var BORDER_COLOR_PRESSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control base color in STATE_PRESSED */
2023-06-02 06:03:36 +00:00
declare var BASE_COLOR_PRESSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text color in STATE_PRESSED */
2023-06-02 06:03:36 +00:00
declare var TEXT_COLOR_PRESSED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control border color in STATE_DISABLED */
2023-06-02 06:03:36 +00:00
declare var BORDER_COLOR_DISABLED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control base color in STATE_DISABLED */
2023-06-02 06:03:36 +00:00
declare var BASE_COLOR_DISABLED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text color in STATE_DISABLED */
2023-06-02 06:03:36 +00:00
declare var TEXT_COLOR_DISABLED : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control border size, 0 for no border */
2023-06-02 06:03:36 +00:00
declare var BORDER_WIDTH : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text padding, not considering border */
2023-06-02 06:03:36 +00:00
declare var TEXT_PADDING : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Control text horizontal alignment inside control text bound (after border and padding) */
2023-06-02 06:03:36 +00:00
declare var TEXT_ALIGNMENT : number ;
/** Text size (glyphs max height) */
declare var TEXT_SIZE : number ;
/** Text spacing between glyphs */
declare var TEXT_SPACING : number ;
/** Line control color */
declare var LINE_COLOR : number ;
/** Background color */
declare var BACKGROUND_COLOR : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** Text spacing between lines */
declare var TEXT_LINE_SPACING : number ;
/** Text vertical alignment inside text bounds (after border and padding) */
declare var TEXT_ALIGNMENT_VERTICAL : number ;
/** Text wrap-mode inside text bounds */
declare var TEXT_WRAP_MODE : number ;
2023-06-02 06:03:36 +00:00
/** ToggleGroup separation between toggles */
declare var GROUP_PADDING : number ;
/** Slider size of internal bar */
declare var SLIDER_WIDTH : number ;
/** Slider/SliderBar internal bar padding */
declare var SLIDER_PADDING : number ;
/** ProgressBar internal padding */
declare var PROGRESS_PADDING : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar arrows size */
2023-06-02 06:03:36 +00:00
declare var ARROWS_SIZE : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar arrows visible */
2023-06-02 06:03:36 +00:00
declare var ARROWS_VISIBLE : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar slider internal padding */
2023-06-02 06:03:36 +00:00
declare var SCROLL_SLIDER_PADDING : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar slider size */
2023-06-02 06:03:36 +00:00
declare var SCROLL_SLIDER_SIZE : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar scroll padding from arrows */
2023-06-02 06:03:36 +00:00
declare var SCROLL_PADDING : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ScrollBar scrolling speed */
2023-06-02 06:03:36 +00:00
declare var SCROLL_SPEED : number ;
/** CheckBox internal check padding */
declare var CHECK_PADDING : number ;
/** ComboBox right button width */
declare var COMBO_BUTTON_WIDTH : number ;
/** ComboBox button separation */
declare var COMBO_BUTTON_SPACING : number ;
/** DropdownBox arrow separation from border and items */
declare var ARROW_PADDING : number ;
/** DropdownBox items separation */
declare var DROPDOWN_ITEMS_SPACING : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** TextBox in read-only mode: 0-text editable, 1-text no-editable */
declare var TEXT_READONLY : number ;
2023-06-02 06:03:36 +00:00
/** Spinner left/right buttons width */
declare var SPIN_BUTTON_WIDTH : number ;
/** Spinner buttons separation */
declare var SPIN_BUTTON_SPACING : number ;
/** ListView items height */
declare var LIST_ITEMS_HEIGHT : number ;
/** ListView items separation */
declare var LIST_ITEMS_SPACING : number ;
/** ListView scrollbar size (usually width) */
declare var SCROLLBAR_WIDTH : number ;
raylib 5.5 migration: type conversions, auto-ignore, buffer returns, bunnymark_opt
- Added char, short, long, unsigned short/unsigned long, const float*,
bool*, char* type conversions to jsToC/jsToJs
- Fixed unsigned int*/unsigned char* pointer returns in jsToJs
- Updated VrDeviceInfo (removed vScreenCenter), GuiListView (active param),
GuiTextInputBox (bool* ignored)
- Added auto-ignore filter for unsupported types (105 functions ignored)
- Added needsBufferReturn() handler for 5 functions returning unsigned char*
- Removed GLFW-specific F5 reload from quickjs.c
- Created CHANGELOG_5.5.md, bunnymark_opt.js (Float32Array), updated readme
- Deleted temp analysis scripts and failed build-sdl directory
2026-07-22 03:43:26 +00:00
/** ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE) */
2023-06-02 06:03:36 +00:00
declare var SCROLLBAR_SIDE : number ;
/** */
declare var COLOR_SELECTOR_SIZE : number ;
/** ColorPicker right hue bar width */
declare var HUEBAR_WIDTH : number ;
/** ColorPicker right hue bar separation from panel */
declare var HUEBAR_PADDING : number ;
/** ColorPicker right hue bar selector height */
declare var HUEBAR_SELECTOR_HEIGHT : number ;
/** ColorPicker right hue bar selector overflow */
declare var HUEBAR_SELECTOR_OVERFLOW : number ;
/** */
declare var ICON_NONE : number ;
/** */
declare var ICON_FOLDER_FILE_OPEN : number ;
/** */
declare var ICON_FILE_SAVE_CLASSIC : number ;
/** */
declare var ICON_FOLDER_OPEN : number ;
/** */
declare var ICON_FOLDER_SAVE : number ;
/** */
declare var ICON_FILE_OPEN : number ;
/** */
declare var ICON_FILE_SAVE : number ;
/** */
declare var ICON_FILE_EXPORT : number ;
/** */
declare var ICON_FILE_ADD : number ;
/** */
declare var ICON_FILE_DELETE : number ;
/** */
declare var ICON_FILETYPE_TEXT : number ;
/** */
declare var ICON_FILETYPE_AUDIO : number ;
/** */
declare var ICON_FILETYPE_IMAGE : number ;
/** */
declare var ICON_FILETYPE_PLAY : number ;
/** */
declare var ICON_FILETYPE_VIDEO : number ;
/** */
declare var ICON_FILETYPE_INFO : number ;
/** */
declare var ICON_FILE_COPY : number ;
/** */
declare var ICON_FILE_CUT : number ;
/** */
declare var ICON_FILE_PASTE : number ;
/** */
declare var ICON_CURSOR_HAND : number ;
/** */
declare var ICON_CURSOR_POINTER : number ;
/** */
declare var ICON_CURSOR_CLASSIC : number ;
/** */
declare var ICON_PENCIL : number ;
/** */
declare var ICON_PENCIL_BIG : number ;
/** */
declare var ICON_BRUSH_CLASSIC : number ;
/** */
declare var ICON_BRUSH_PAINTER : number ;
/** */
declare var ICON_WATER_DROP : number ;
/** */
declare var ICON_COLOR_PICKER : number ;
/** */
declare var ICON_RUBBER : number ;
/** */
declare var ICON_COLOR_BUCKET : number ;
/** */
declare var ICON_TEXT_T : number ;
/** */
declare var ICON_TEXT_A : number ;
/** */
declare var ICON_SCALE : number ;
/** */
declare var ICON_RESIZE : number ;
/** */
declare var ICON_FILTER_POINT : number ;
/** */
declare var ICON_FILTER_BILINEAR : number ;
/** */
declare var ICON_CROP : number ;
/** */
declare var ICON_CROP_ALPHA : number ;
/** */
declare var ICON_SQUARE_TOGGLE : number ;
/** */
declare var ICON_SYMMETRY : number ;
/** */
declare var ICON_SYMMETRY_HORIZONTAL : number ;
/** */
declare var ICON_SYMMETRY_VERTICAL : number ;
/** */
declare var ICON_LENS : number ;
/** */
declare var ICON_LENS_BIG : number ;
/** */
declare var ICON_EYE_ON : number ;
/** */
declare var ICON_EYE_OFF : number ;
/** */
declare var ICON_FILTER_TOP : number ;
/** */
declare var ICON_FILTER : number ;
/** */
declare var ICON_TARGET_POINT : number ;
/** */
declare var ICON_TARGET_SMALL : number ;
/** */
declare var ICON_TARGET_BIG : number ;
/** */
declare var ICON_TARGET_MOVE : number ;
/** */
declare var ICON_CURSOR_MOVE : number ;
/** */
declare var ICON_CURSOR_SCALE : number ;
/** */
declare var ICON_CURSOR_SCALE_RIGHT : number ;
/** */
declare var ICON_CURSOR_SCALE_LEFT : number ;
/** */
declare var ICON_UNDO : number ;
/** */
declare var ICON_REDO : number ;
/** */
declare var ICON_REREDO : number ;
/** */
declare var ICON_MUTATE : number ;
/** */
declare var ICON_ROTATE : number ;
/** */
declare var ICON_REPEAT : number ;
/** */
declare var ICON_SHUFFLE : number ;
/** */
declare var ICON_EMPTYBOX : number ;
/** */
declare var ICON_TARGET : number ;
/** */
declare var ICON_TARGET_SMALL_FILL : number ;
/** */
declare var ICON_TARGET_BIG_FILL : number ;
/** */
declare var ICON_TARGET_MOVE_FILL : number ;
/** */
declare var ICON_CURSOR_MOVE_FILL : number ;
/** */
declare var ICON_CURSOR_SCALE_FILL : number ;
/** */
declare var ICON_CURSOR_SCALE_RIGHT_FILL : number ;
/** */
declare var ICON_CURSOR_SCALE_LEFT_FILL : number ;
/** */
declare var ICON_UNDO_FILL : number ;
/** */
declare var ICON_REDO_FILL : number ;
/** */
declare var ICON_REREDO_FILL : number ;
/** */
declare var ICON_MUTATE_FILL : number ;
/** */
declare var ICON_ROTATE_FILL : number ;
/** */
declare var ICON_REPEAT_FILL : number ;
/** */
declare var ICON_SHUFFLE_FILL : number ;
/** */
declare var ICON_EMPTYBOX_SMALL : number ;
/** */
declare var ICON_BOX : number ;
/** */
declare var ICON_BOX_TOP : number ;
/** */
declare var ICON_BOX_TOP_RIGHT : number ;
/** */
declare var ICON_BOX_RIGHT : number ;
/** */
declare var ICON_BOX_BOTTOM_RIGHT : number ;
/** */
declare var ICON_BOX_BOTTOM : number ;
/** */
declare var ICON_BOX_BOTTOM_LEFT : number ;
/** */
declare var ICON_BOX_LEFT : number ;
/** */
declare var ICON_BOX_TOP_LEFT : number ;
/** */
declare var ICON_BOX_CENTER : number ;
/** */
declare var ICON_BOX_CIRCLE_MASK : number ;
/** */
declare var ICON_POT : number ;
/** */
declare var ICON_ALPHA_MULTIPLY : number ;
/** */
declare var ICON_ALPHA_CLEAR : number ;
/** */
declare var ICON_DITHERING : number ;
/** */
declare var ICON_MIPMAPS : number ;
/** */
declare var ICON_BOX_GRID : number ;
/** */
declare var ICON_GRID : number ;
/** */
declare var ICON_BOX_CORNERS_SMALL : number ;
/** */
declare var ICON_BOX_CORNERS_BIG : number ;
/** */
declare var ICON_FOUR_BOXES : number ;
/** */
declare var ICON_GRID_FILL : number ;
/** */
declare var ICON_BOX_MULTISIZE : number ;
/** */
declare var ICON_ZOOM_SMALL : number ;
/** */
declare var ICON_ZOOM_MEDIUM : number ;
/** */
declare var ICON_ZOOM_BIG : number ;
/** */
declare var ICON_ZOOM_ALL : number ;
/** */
declare var ICON_ZOOM_CENTER : number ;
/** */
declare var ICON_BOX_DOTS_SMALL : number ;
/** */
declare var ICON_BOX_DOTS_BIG : number ;
/** */
declare var ICON_BOX_CONCENTRIC : number ;
/** */
declare var ICON_BOX_GRID_BIG : number ;
/** */
declare var ICON_OK_TICK : number ;
/** */
declare var ICON_CROSS : number ;
/** */
declare var ICON_ARROW_LEFT : number ;
/** */
declare var ICON_ARROW_RIGHT : number ;
/** */
declare var ICON_ARROW_DOWN : number ;
/** */
declare var ICON_ARROW_UP : number ;
/** */
declare var ICON_ARROW_LEFT_FILL : number ;
/** */
declare var ICON_ARROW_RIGHT_FILL : number ;
/** */
declare var ICON_ARROW_DOWN_FILL : number ;
/** */
declare var ICON_ARROW_UP_FILL : number ;
/** */
declare var ICON_AUDIO : number ;
/** */
declare var ICON_FX : number ;
/** */
declare var ICON_WAVE : number ;
/** */
declare var ICON_WAVE_SINUS : number ;
/** */
declare var ICON_WAVE_SQUARE : number ;
/** */
declare var ICON_WAVE_TRIANGULAR : number ;
/** */
declare var ICON_CROSS_SMALL : number ;
/** */
declare var ICON_PLAYER_PREVIOUS : number ;
/** */
declare var ICON_PLAYER_PLAY_BACK : number ;
/** */
declare var ICON_PLAYER_PLAY : number ;
/** */
declare var ICON_PLAYER_PAUSE : number ;
/** */
declare var ICON_PLAYER_STOP : number ;
/** */
declare var ICON_PLAYER_NEXT : number ;
/** */
declare var ICON_PLAYER_RECORD : number ;
/** */
declare var ICON_MAGNET : number ;
/** */
declare var ICON_LOCK_CLOSE : number ;
/** */
declare var ICON_LOCK_OPEN : number ;
/** */
declare var ICON_CLOCK : number ;
/** */
declare var ICON_TOOLS : number ;
/** */
declare var ICON_GEAR : number ;
/** */
declare var ICON_GEAR_BIG : number ;
/** */
declare var ICON_BIN : number ;
/** */
declare var ICON_HAND_POINTER : number ;
/** */
declare var ICON_LASER : number ;
/** */
declare var ICON_COIN : number ;
/** */
declare var ICON_EXPLOSION : number ;
/** */
declare var ICON_1UP : number ;
/** */
declare var ICON_PLAYER : number ;
/** */
declare var ICON_PLAYER_JUMP : number ;
/** */
declare var ICON_KEY : number ;
/** */
declare var ICON_DEMON : number ;
/** */
declare var ICON_TEXT_POPUP : number ;
/** */
declare var ICON_GEAR_EX : number ;
/** */
declare var ICON_CRACK : number ;
/** */
declare var ICON_CRACK_POINTS : number ;
/** */
declare var ICON_STAR : number ;
/** */
declare var ICON_DOOR : number ;
/** */
declare var ICON_EXIT : number ;
/** */
declare var ICON_MODE_2D : number ;
/** */
declare var ICON_MODE_3D : number ;
/** */
declare var ICON_CUBE : number ;
/** */
declare var ICON_CUBE_FACE_TOP : number ;
/** */
declare var ICON_CUBE_FACE_LEFT : number ;
/** */
declare var ICON_CUBE_FACE_FRONT : number ;
/** */
declare var ICON_CUBE_FACE_BOTTOM : number ;
/** */
declare var ICON_CUBE_FACE_RIGHT : number ;
/** */
declare var ICON_CUBE_FACE_BACK : number ;
/** */
declare var ICON_CAMERA : number ;
/** */
declare var ICON_SPECIAL : number ;
/** */
declare var ICON_LINK_NET : number ;
/** */
declare var ICON_LINK_BOXES : number ;
/** */
declare var ICON_LINK_MULTI : number ;
/** */
declare var ICON_LINK : number ;
/** */
declare var ICON_LINK_BROKE : number ;
/** */
declare var ICON_TEXT_NOTES : number ;
/** */
declare var ICON_NOTEBOOK : number ;
/** */
declare var ICON_SUITCASE : number ;
/** */
declare var ICON_SUITCASE_ZIP : number ;
/** */
declare var ICON_MAILBOX : number ;
/** */
declare var ICON_MONITOR : number ;
/** */
declare var ICON_PRINTER : number ;
/** */
declare var ICON_PHOTO_CAMERA : number ;
/** */
declare var ICON_PHOTO_CAMERA_FLASH : number ;
/** */
declare var ICON_HOUSE : number ;
/** */
declare var ICON_HEART : number ;
/** */
declare var ICON_CORNER : number ;
/** */
declare var ICON_VERTICAL_BARS : number ;
/** */
declare var ICON_VERTICAL_BARS_FILL : number ;
/** */
declare var ICON_LIFE_BARS : number ;
/** */
declare var ICON_INFO : number ;
/** */
declare var ICON_CROSSLINE : number ;
/** */
declare var ICON_HELP : number ;
/** */
declare var ICON_FILETYPE_ALPHA : number ;
/** */
declare var ICON_FILETYPE_HOME : number ;
/** */
declare var ICON_LAYERS_VISIBLE : number ;
/** */
declare var ICON_LAYERS : number ;
/** */
declare var ICON_WINDOW : number ;
/** */
declare var ICON_HIDPI : number ;
/** */
declare var ICON_FILETYPE_BINARY : number ;
/** */
declare var ICON_HEX : number ;
/** */
declare var ICON_SHIELD : number ;
/** */
declare var ICON_FILE_NEW : number ;
/** */
declare var ICON_FOLDER_ADD : number ;
/** */
declare var ICON_ALARM : number ;
/** */
declare var ICON_CPU : number ;
/** */
declare var ICON_ROM : number ;
/** */
declare var ICON_STEP_OVER : number ;
/** */
declare var ICON_STEP_INTO : number ;
/** */
declare var ICON_STEP_OUT : number ;
/** */
declare var ICON_RESTART : number ;
/** */
declare var ICON_BREAKPOINT_ON : number ;
/** */
declare var ICON_BREAKPOINT_OFF : number ;
/** */
declare var ICON_BURGER_MENU : number ;
/** */
declare var ICON_CASE_SENSITIVE : number ;
/** */
declare var ICON_REG_EXP : number ;
/** */
declare var ICON_FOLDER : number ;
/** */
declare var ICON_FILE : number ;
/** */
declare var ICON_SAND_TIMER : number ;
/** */
declare var ICON_220 : number ;
/** */
declare var ICON_221 : number ;
/** */
declare var ICON_222 : number ;
/** */
declare var ICON_223 : number ;
/** */
declare var ICON_224 : number ;
/** */
declare var ICON_225 : number ;
/** */
declare var ICON_226 : number ;
/** */
declare var ICON_227 : number ;
/** */
declare var ICON_228 : number ;
/** */
declare var ICON_229 : number ;
/** */
declare var ICON_230 : number ;
/** */
declare var ICON_231 : number ;
/** */
declare var ICON_232 : number ;
/** */
declare var ICON_233 : number ;
/** */
declare var ICON_234 : number ;
/** */
declare var ICON_235 : number ;
/** */
declare var ICON_236 : number ;
/** */
declare var ICON_237 : number ;
/** */
declare var ICON_238 : number ;
/** */
declare var ICON_239 : number ;
/** */
declare var ICON_240 : number ;
/** */
declare var ICON_241 : number ;
/** */
declare var ICON_242 : number ;
/** */
declare var ICON_243 : number ;
/** */
declare var ICON_244 : number ;
/** */
declare var ICON_245 : number ;
/** */
declare var ICON_246 : number ;
/** */
declare var ICON_247 : number ;
/** */
declare var ICON_248 : number ;
/** */
declare var ICON_249 : number ;
/** */
declare var ICON_250 : number ;
/** */
declare var ICON_251 : number ;
/** */
declare var ICON_252 : number ;
/** */
declare var ICON_253 : number ;
/** */
declare var ICON_254 : number ;
/** */
declare var ICON_255 : number ;
2023-06-11 10:49:26 +00:00
/** */
declare var LIGHT_DIRECTIONAL : number ;
/** */
declare var LIGHT_POINT : number ;
2023-05-20 19:34:27 +00:00
/** Albedo material (same as: MATERIAL_MAP_DIFFUSE */
declare var MATERIAL_MAP_DIFFUSE : number ;
/** Metalness material (same as: MATERIAL_MAP_SPECULAR) */
declare var MATERIAL_MAP_SPECULAR : number ;