mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
Update rlparser output
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -225,7 +225,646 @@
|
||||
(description "")))
|
||||
|
||||
(structs
|
||||
)
|
||||
((name "Vector2")
|
||||
(description "Vector2, 2 components")
|
||||
(fields
|
||||
((type "float")
|
||||
(name "x")
|
||||
(description "Vector x component"))
|
||||
((type "float")
|
||||
(name "y")
|
||||
(description "Vector y component"))))
|
||||
|
||||
((name "Vector3")
|
||||
(description "Vector3, 3 components")
|
||||
(fields
|
||||
((type "float")
|
||||
(name "x")
|
||||
(description "Vector x component"))
|
||||
((type "float")
|
||||
(name "y")
|
||||
(description "Vector y component"))
|
||||
((type "float")
|
||||
(name "z")
|
||||
(description "Vector z component"))))
|
||||
|
||||
((name "Vector4")
|
||||
(description "Vector4, 4 components")
|
||||
(fields
|
||||
((type "float")
|
||||
(name "x")
|
||||
(description "Vector x component"))
|
||||
((type "float")
|
||||
(name "y")
|
||||
(description "Vector y component"))
|
||||
((type "float")
|
||||
(name "z")
|
||||
(description "Vector z component"))
|
||||
((type "float")
|
||||
(name "w")
|
||||
(description "Vector w component"))))
|
||||
|
||||
((name "Matrix")
|
||||
(description "Matrix, 4x4 components, column major, OpenGL style, right-handed")
|
||||
(fields
|
||||
((type "float")
|
||||
(name "m0")
|
||||
(description "Matrix first row (4 components)"))
|
||||
((type "float")
|
||||
(name "m4")
|
||||
(description "Matrix first row (4 components)"))
|
||||
((type "float")
|
||||
(name "m8")
|
||||
(description "Matrix first row (4 components)"))
|
||||
((type "float")
|
||||
(name "m12")
|
||||
(description "Matrix first row (4 components)"))
|
||||
((type "float")
|
||||
(name "m1")
|
||||
(description "Matrix second row (4 components)"))
|
||||
((type "float")
|
||||
(name "m5")
|
||||
(description "Matrix second row (4 components)"))
|
||||
((type "float")
|
||||
(name "m9")
|
||||
(description "Matrix second row (4 components)"))
|
||||
((type "float")
|
||||
(name "m13")
|
||||
(description "Matrix second row (4 components)"))
|
||||
((type "float")
|
||||
(name "m2")
|
||||
(description "Matrix third row (4 components)"))
|
||||
((type "float")
|
||||
(name "m6")
|
||||
(description "Matrix third row (4 components)"))
|
||||
((type "float")
|
||||
(name "m10")
|
||||
(description "Matrix third row (4 components)"))
|
||||
((type "float")
|
||||
(name "m14")
|
||||
(description "Matrix third row (4 components)"))
|
||||
((type "float")
|
||||
(name "m3")
|
||||
(description "Matrix fourth row (4 components)"))
|
||||
((type "float")
|
||||
(name "m7")
|
||||
(description "Matrix fourth row (4 components)"))
|
||||
((type "float")
|
||||
(name "m11")
|
||||
(description "Matrix fourth row (4 components)"))
|
||||
((type "float")
|
||||
(name "m15")
|
||||
(description "Matrix fourth row (4 components)"))))
|
||||
|
||||
((name "Color")
|
||||
(description "Color, 4 components, R8G8B8A8 (32bit)")
|
||||
(fields
|
||||
((type "unsigned char")
|
||||
(name "r")
|
||||
(description "Color red value"))
|
||||
((type "unsigned char")
|
||||
(name "g")
|
||||
(description "Color green value"))
|
||||
((type "unsigned char")
|
||||
(name "b")
|
||||
(description "Color blue value"))
|
||||
((type "unsigned char")
|
||||
(name "a")
|
||||
(description "Color alpha value"))))
|
||||
|
||||
((name "Rectangle")
|
||||
(description "Rectangle, 4 components")
|
||||
(fields
|
||||
((type "float")
|
||||
(name "x")
|
||||
(description "Rectangle top-left corner position x"))
|
||||
((type "float")
|
||||
(name "y")
|
||||
(description "Rectangle top-left corner position y"))
|
||||
((type "float")
|
||||
(name "width")
|
||||
(description "Rectangle width"))
|
||||
((type "float")
|
||||
(name "height")
|
||||
(description "Rectangle height"))))
|
||||
|
||||
((name "Image")
|
||||
(description "Image, pixel data stored in CPU memory (RAM)")
|
||||
(fields
|
||||
((type "void *")
|
||||
(name "data")
|
||||
(description "Image raw data"))
|
||||
((type "int")
|
||||
(name "width")
|
||||
(description "Image base width"))
|
||||
((type "int")
|
||||
(name "height")
|
||||
(description "Image base height"))
|
||||
((type "int")
|
||||
(name "mipmaps")
|
||||
(description "Mipmap levels, 1 by default"))
|
||||
((type "int")
|
||||
(name "format")
|
||||
(description "Data format (PixelFormat type)"))))
|
||||
|
||||
((name "Texture")
|
||||
(description "Texture, tex data stored in GPU memory (VRAM)")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "id")
|
||||
(description "OpenGL texture id"))
|
||||
((type "int")
|
||||
(name "width")
|
||||
(description "Texture base width"))
|
||||
((type "int")
|
||||
(name "height")
|
||||
(description "Texture base height"))
|
||||
((type "int")
|
||||
(name "mipmaps")
|
||||
(description "Mipmap levels, 1 by default"))
|
||||
((type "int")
|
||||
(name "format")
|
||||
(description "Data format (PixelFormat type)"))))
|
||||
|
||||
((name "RenderTexture")
|
||||
(description "RenderTexture, fbo for texture rendering")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "id")
|
||||
(description "OpenGL framebuffer object id"))
|
||||
((type "Texture")
|
||||
(name "texture")
|
||||
(description "Color buffer attachment texture"))
|
||||
((type "Texture")
|
||||
(name "depth")
|
||||
(description "Depth buffer attachment texture"))))
|
||||
|
||||
((name "NPatchInfo")
|
||||
(description "NPatchInfo, n-patch layout info")
|
||||
(fields
|
||||
((type "Rectangle")
|
||||
(name "source")
|
||||
(description "Texture source rectangle"))
|
||||
((type "int")
|
||||
(name "left")
|
||||
(description "Left border offset"))
|
||||
((type "int")
|
||||
(name "top")
|
||||
(description "Top border offset"))
|
||||
((type "int")
|
||||
(name "right")
|
||||
(description "Right border offset"))
|
||||
((type "int")
|
||||
(name "bottom")
|
||||
(description "Bottom border offset"))
|
||||
((type "int")
|
||||
(name "layout")
|
||||
(description "Layout of the n-patch: 3x3, 1x3 or 3x1"))))
|
||||
|
||||
((name "GlyphInfo")
|
||||
(description "GlyphInfo, font characters glyphs info")
|
||||
(fields
|
||||
((type "int")
|
||||
(name "value")
|
||||
(description "Character value (Unicode)"))
|
||||
((type "int")
|
||||
(name "offsetX")
|
||||
(description "Character offset X when drawing"))
|
||||
((type "int")
|
||||
(name "offsetY")
|
||||
(description "Character offset Y when drawing"))
|
||||
((type "int")
|
||||
(name "advanceX")
|
||||
(description "Character advance position X"))
|
||||
((type "Image")
|
||||
(name "image")
|
||||
(description "Character image data"))))
|
||||
|
||||
((name "Font")
|
||||
(description "Font, font texture and GlyphInfo array data")
|
||||
(fields
|
||||
((type "int")
|
||||
(name "baseSize")
|
||||
(description "Base size (default chars height)"))
|
||||
((type "int")
|
||||
(name "glyphCount")
|
||||
(description "Number of glyph characters"))
|
||||
((type "int")
|
||||
(name "glyphPadding")
|
||||
(description "Padding around the glyph characters"))
|
||||
((type "Texture2D")
|
||||
(name "texture")
|
||||
(description "Texture atlas containing the glyphs"))
|
||||
((type "Rectangle *")
|
||||
(name "recs")
|
||||
(description "Rectangles in texture for the glyphs"))
|
||||
((type "GlyphInfo *")
|
||||
(name "glyphs")
|
||||
(description "Glyphs info data"))))
|
||||
|
||||
((name "Camera3D")
|
||||
(description "Camera, defines position/orientation in 3d space")
|
||||
(fields
|
||||
((type "Vector3")
|
||||
(name "position")
|
||||
(description "Camera position"))
|
||||
((type "Vector3")
|
||||
(name "target")
|
||||
(description "Camera target it looks-at"))
|
||||
((type "Vector3")
|
||||
(name "up")
|
||||
(description "Camera up vector (rotation over its axis)"))
|
||||
((type "float")
|
||||
(name "fovy")
|
||||
(description "Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic"))
|
||||
((type "int")
|
||||
(name "projection")
|
||||
(description "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC"))))
|
||||
|
||||
((name "Camera2D")
|
||||
(description "Camera2D, defines position/orientation in 2d space")
|
||||
(fields
|
||||
((type "Vector2")
|
||||
(name "offset")
|
||||
(description "Camera offset (screen space offset from window origin)"))
|
||||
((type "Vector2")
|
||||
(name "target")
|
||||
(description "Camera target (world space target point that is mapped to screen space offset)"))
|
||||
((type "float")
|
||||
(name "rotation")
|
||||
(description "Camera rotation in degrees (pivots around target)"))
|
||||
((type "float")
|
||||
(name "zoom")
|
||||
(description "Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale"))))
|
||||
|
||||
((name "Mesh")
|
||||
(description "Mesh, vertex data and vao/vbo")
|
||||
(fields
|
||||
((type "int")
|
||||
(name "vertexCount")
|
||||
(description "Number of vertices stored in arrays"))
|
||||
((type "int")
|
||||
(name "triangleCount")
|
||||
(description "Number of triangles stored (indexed or not)"))
|
||||
((type "float *")
|
||||
(name "vertices")
|
||||
(description "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)"))
|
||||
((type "float *")
|
||||
(name "texcoords")
|
||||
(description "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)"))
|
||||
((type "float *")
|
||||
(name "texcoords2")
|
||||
(description "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)"))
|
||||
((type "float *")
|
||||
(name "normals")
|
||||
(description "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)"))
|
||||
((type "float *")
|
||||
(name "tangents")
|
||||
(description "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)"))
|
||||
((type "unsigned char *")
|
||||
(name "colors")
|
||||
(description "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)"))
|
||||
((type "unsigned short *")
|
||||
(name "indices")
|
||||
(description "Vertex indices (in case vertex data comes indexed)"))
|
||||
((type "int")
|
||||
(name "boneCount")
|
||||
(description "Number of bones (MAX: 256 bones)"))
|
||||
((type "unsigned char *")
|
||||
(name "boneIndices")
|
||||
(description "Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)"))
|
||||
((type "float *")
|
||||
(name "boneWeights")
|
||||
(description "Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)"))
|
||||
((type "float *")
|
||||
(name "animVertices")
|
||||
(description "Animated vertex positions (after bones transformations)"))
|
||||
((type "float *")
|
||||
(name "animNormals")
|
||||
(description "Animated normals (after bones transformations)"))
|
||||
((type "unsigned int")
|
||||
(name "vaoId")
|
||||
(description "OpenGL Vertex Array Object id"))
|
||||
((type "unsigned int *")
|
||||
(name "vboId")
|
||||
(description "OpenGL Vertex Buffer Objects id (default vertex data)"))))
|
||||
|
||||
((name "Shader")
|
||||
(description "Shader")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "id")
|
||||
(description "Shader program id"))
|
||||
((type "int *")
|
||||
(name "locs")
|
||||
(description "Shader locations array (RL_MAX_SHADER_LOCATIONS)"))))
|
||||
|
||||
((name "MaterialMap")
|
||||
(description "MaterialMap")
|
||||
(fields
|
||||
((type "Texture2D")
|
||||
(name "texture")
|
||||
(description "Material map texture"))
|
||||
((type "Color")
|
||||
(name "color")
|
||||
(description "Material map color"))
|
||||
((type "float")
|
||||
(name "value")
|
||||
(description "Material map value"))))
|
||||
|
||||
((name "Material")
|
||||
(description "Material, includes shader and maps")
|
||||
(fields
|
||||
((type "Shader")
|
||||
(name "shader")
|
||||
(description "Material shader"))
|
||||
((type "MaterialMap *")
|
||||
(name "maps")
|
||||
(description "Material maps array (MAX_MATERIAL_MAPS)"))
|
||||
((type "float[4]")
|
||||
(name "params")
|
||||
(description "Material generic parameters (if required)"))))
|
||||
|
||||
((name "Transform")
|
||||
(description "Transform, vertex transformation data")
|
||||
(fields
|
||||
((type "Vector3")
|
||||
(name "translation")
|
||||
(description "Translation"))
|
||||
((type "Quaternion")
|
||||
(name "rotation")
|
||||
(description "Rotation"))
|
||||
((type "Vector3")
|
||||
(name "scale")
|
||||
(description "Scale"))))
|
||||
|
||||
((name "BoneInfo")
|
||||
(description "Bone, skeletal animation bone")
|
||||
(fields
|
||||
((type "char[32]")
|
||||
(name "name")
|
||||
(description "Bone name"))
|
||||
((type "int")
|
||||
(name "parent")
|
||||
(description "Bone parent"))))
|
||||
|
||||
((name "ModelSkeleton")
|
||||
(description "Skeleton, animation bones hierarchy")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "boneCount")
|
||||
(description "Number of bones"))
|
||||
((type "BoneInfo *")
|
||||
(name "bones")
|
||||
(description "Bones information (skeleton)"))
|
||||
((type "ModelAnimPose")
|
||||
(name "bindPose")
|
||||
(description "Bones base transformation (Transform[])"))))
|
||||
|
||||
((name "Model")
|
||||
(description "Model, meshes, materials and animation data")
|
||||
(fields
|
||||
((type "Matrix")
|
||||
(name "transform")
|
||||
(description "Local transform matrix"))
|
||||
((type "int")
|
||||
(name "meshCount")
|
||||
(description "Number of meshes"))
|
||||
((type "int")
|
||||
(name "materialCount")
|
||||
(description "Number of materials"))
|
||||
((type "Mesh *")
|
||||
(name "meshes")
|
||||
(description "Meshes array"))
|
||||
((type "Material *")
|
||||
(name "materials")
|
||||
(description "Materials array"))
|
||||
((type "int *")
|
||||
(name "meshMaterial")
|
||||
(description "Mesh material number"))
|
||||
((type "ModelSkeleton")
|
||||
(name "skeleton")
|
||||
(description "Skeleton for animation"))
|
||||
((type "ModelAnimPose")
|
||||
(name "currentPose")
|
||||
(description "Current animation pose (Transform[])"))
|
||||
((type "Matrix *")
|
||||
(name "boneMatrices")
|
||||
(description "Bones animated transformation matrices"))))
|
||||
|
||||
((name "ModelAnimation")
|
||||
(description "ModelAnimation, contains a full animation sequence")
|
||||
(fields
|
||||
((type "char[32]")
|
||||
(name "name")
|
||||
(description "Animation name"))
|
||||
((type "unsigned int")
|
||||
(name "boneCount")
|
||||
(description "Number of bones (per pose)"))
|
||||
((type "int")
|
||||
(name "keyframeCount")
|
||||
(description "Number of animation key frames"))
|
||||
((type "ModelAnimPose *")
|
||||
(name "keyframePoses")
|
||||
(description "Animation sequence keyframe poses [keyframe][pose]"))))
|
||||
|
||||
((name "Ray")
|
||||
(description "Ray, ray for raycasting")
|
||||
(fields
|
||||
((type "Vector3")
|
||||
(name "position")
|
||||
(description "Ray position (origin)"))
|
||||
((type "Vector3")
|
||||
(name "direction")
|
||||
(description "Ray direction (normalized)"))))
|
||||
|
||||
((name "RayCollision")
|
||||
(description "RayCollision, ray hit information")
|
||||
(fields
|
||||
((type "bool")
|
||||
(name "hit")
|
||||
(description "Did the ray hit something?"))
|
||||
((type "float")
|
||||
(name "distance")
|
||||
(description "Distance to the nearest hit"))
|
||||
((type "Vector3")
|
||||
(name "point")
|
||||
(description "Point of the nearest hit"))
|
||||
((type "Vector3")
|
||||
(name "normal")
|
||||
(description "Surface normal of hit"))))
|
||||
|
||||
((name "BoundingBox")
|
||||
(description "BoundingBox")
|
||||
(fields
|
||||
((type "Vector3")
|
||||
(name "min")
|
||||
(description "Minimum vertex box-corner"))
|
||||
((type "Vector3")
|
||||
(name "max")
|
||||
(description "Maximum vertex box-corner"))))
|
||||
|
||||
((name "Wave")
|
||||
(description "Wave, audio wave data")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "frameCount")
|
||||
(description "Total number of frames (considering channels)"))
|
||||
((type "unsigned int")
|
||||
(name "sampleRate")
|
||||
(description "Frequency (samples per second)"))
|
||||
((type "unsigned int")
|
||||
(name "sampleSize")
|
||||
(description "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"))
|
||||
((type "unsigned int")
|
||||
(name "channels")
|
||||
(description "Number of channels (1-mono, 2-stereo, ...)"))
|
||||
((type "void *")
|
||||
(name "data")
|
||||
(description "Buffer data pointer"))))
|
||||
|
||||
((name "AudioStream")
|
||||
(description "AudioStream, custom audio stream")
|
||||
(fields
|
||||
((type "rAudioBuffer *")
|
||||
(name "buffer")
|
||||
(description "Pointer to internal data used by the audio system"))
|
||||
((type "rAudioProcessor *")
|
||||
(name "processor")
|
||||
(description "Pointer to internal data processor, useful for audio effects"))
|
||||
((type "unsigned int")
|
||||
(name "sampleRate")
|
||||
(description "Frequency (samples per second)"))
|
||||
((type "unsigned int")
|
||||
(name "sampleSize")
|
||||
(description "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"))
|
||||
((type "unsigned int")
|
||||
(name "channels")
|
||||
(description "Number of channels (1-mono, 2-stereo, ...)"))))
|
||||
|
||||
((name "Sound")
|
||||
(description "Sound")
|
||||
(fields
|
||||
((type "AudioStream")
|
||||
(name "stream")
|
||||
(description "Audio stream"))
|
||||
((type "unsigned int")
|
||||
(name "frameCount")
|
||||
(description "Total number of frames (considering channels)"))))
|
||||
|
||||
((name "Music")
|
||||
(description "Music, audio stream, anything longer than ~10 seconds should be streamed")
|
||||
(fields
|
||||
((type "AudioStream")
|
||||
(name "stream")
|
||||
(description "Audio stream"))
|
||||
((type "unsigned int")
|
||||
(name "frameCount")
|
||||
(description "Total number of frames (considering channels)"))
|
||||
((type "bool")
|
||||
(name "looping")
|
||||
(description "Music looping enable"))
|
||||
((type "int")
|
||||
(name "ctxType")
|
||||
(description "Type of music context (audio filetype)"))
|
||||
((type "void *")
|
||||
(name "ctxData")
|
||||
(description "Audio context data, depends on type"))))
|
||||
|
||||
((name "VrDeviceInfo")
|
||||
(description "VrDeviceInfo, Head-Mounted-Display device parameters")
|
||||
(fields
|
||||
((type "int")
|
||||
(name "hResolution")
|
||||
(description "Horizontal resolution in pixels"))
|
||||
((type "int")
|
||||
(name "vResolution")
|
||||
(description "Vertical resolution in pixels"))
|
||||
((type "float")
|
||||
(name "hScreenSize")
|
||||
(description "Horizontal size in meters"))
|
||||
((type "float")
|
||||
(name "vScreenSize")
|
||||
(description "Vertical size in meters"))
|
||||
((type "float")
|
||||
(name "eyeToScreenDistance")
|
||||
(description "Distance between eye and display in meters"))
|
||||
((type "float")
|
||||
(name "lensSeparationDistance")
|
||||
(description "Lens separation distance in meters"))
|
||||
((type "float")
|
||||
(name "interpupillaryDistance")
|
||||
(description "IPD (distance between pupils) in meters"))
|
||||
((type "float[4]")
|
||||
(name "lensDistortionValues")
|
||||
(description "Lens distortion constant parameters"))
|
||||
((type "float[4]")
|
||||
(name "chromaAbCorrection")
|
||||
(description "Chromatic aberration correction parameters"))))
|
||||
|
||||
((name "VrStereoConfig")
|
||||
(description "VrStereoConfig, VR stereo rendering configuration for simulator")
|
||||
(fields
|
||||
((type "Matrix[2]")
|
||||
(name "projection")
|
||||
(description "VR projection matrices (per eye)"))
|
||||
((type "Matrix[2]")
|
||||
(name "viewOffset")
|
||||
(description "VR view offset matrices (per eye)"))
|
||||
((type "float[2]")
|
||||
(name "leftLensCenter")
|
||||
(description "VR left lens center"))
|
||||
((type "float[2]")
|
||||
(name "rightLensCenter")
|
||||
(description "VR right lens center"))
|
||||
((type "float[2]")
|
||||
(name "leftScreenCenter")
|
||||
(description "VR left screen center"))
|
||||
((type "float[2]")
|
||||
(name "rightScreenCenter")
|
||||
(description "VR right screen center"))
|
||||
((type "float[2]")
|
||||
(name "scale")
|
||||
(description "VR distortion scale"))
|
||||
((type "float[2]")
|
||||
(name "scaleIn")
|
||||
(description "VR distortion scale in"))))
|
||||
|
||||
((name "FilePathList")
|
||||
(description "File path list")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "count")
|
||||
(description "Filepaths entries count"))
|
||||
((type "char **")
|
||||
(name "paths")
|
||||
(description "Filepaths entries"))))
|
||||
|
||||
((name "AutomationEvent")
|
||||
(description "Automation event")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "frame")
|
||||
(description "Event frame"))
|
||||
((type "unsigned int")
|
||||
(name "type")
|
||||
(description "Event type (AutomationEventType)"))
|
||||
((type "int[4]")
|
||||
(name "params")
|
||||
(description "Event parameters (if required)"))))
|
||||
|
||||
((name "AutomationEventList")
|
||||
(description "Automation event list")
|
||||
(fields
|
||||
((type "unsigned int")
|
||||
(name "capacity")
|
||||
(description "Events max entries (MAX_AUTOMATION_EVENTS)"))
|
||||
((type "unsigned int")
|
||||
(name "count")
|
||||
(description "Events entries count"))
|
||||
((type "AutomationEvent *")
|
||||
(name "events")
|
||||
(description "Events entries")))))
|
||||
|
||||
(aliases
|
||||
((type "Vector4")
|
||||
|
||||
@@ -282,8 +282,280 @@ Define 056: SHADER_LOC_MAP_SPECULAR
|
||||
Value: SHADER_LOC_MAP_METALNESS
|
||||
Description:
|
||||
|
||||
Structures found: 0
|
||||
Structures found: 35
|
||||
|
||||
Struct 01: Vector2 (2 fields)
|
||||
Name: Vector2
|
||||
Description: Vector2, 2 components
|
||||
Field[1]: float x // Vector x component
|
||||
Field[2]: float y // Vector y component
|
||||
Struct 02: Vector3 (3 fields)
|
||||
Name: Vector3
|
||||
Description: Vector3, 3 components
|
||||
Field[1]: float x // Vector x component
|
||||
Field[2]: float y // Vector y component
|
||||
Field[3]: float z // Vector z component
|
||||
Struct 03: Vector4 (4 fields)
|
||||
Name: Vector4
|
||||
Description: Vector4, 4 components
|
||||
Field[1]: float x // Vector x component
|
||||
Field[2]: float y // Vector y component
|
||||
Field[3]: float z // Vector z component
|
||||
Field[4]: float w // Vector w component
|
||||
Struct 04: Matrix (16 fields)
|
||||
Name: Matrix
|
||||
Description: Matrix, 4x4 components, column major, OpenGL style, right-handed
|
||||
Field[1]: float m0 // Matrix first row (4 components)
|
||||
Field[2]: float m4 // Matrix first row (4 components)
|
||||
Field[3]: float m8 // Matrix first row (4 components)
|
||||
Field[4]: float m12 // Matrix first row (4 components)
|
||||
Field[5]: float m1 // Matrix second row (4 components)
|
||||
Field[6]: float m5 // Matrix second row (4 components)
|
||||
Field[7]: float m9 // Matrix second row (4 components)
|
||||
Field[8]: float m13 // Matrix second row (4 components)
|
||||
Field[9]: float m2 // Matrix third row (4 components)
|
||||
Field[10]: float m6 // Matrix third row (4 components)
|
||||
Field[11]: float m10 // Matrix third row (4 components)
|
||||
Field[12]: float m14 // Matrix third row (4 components)
|
||||
Field[13]: float m3 // Matrix fourth row (4 components)
|
||||
Field[14]: float m7 // Matrix fourth row (4 components)
|
||||
Field[15]: float m11 // Matrix fourth row (4 components)
|
||||
Field[16]: float m15 // Matrix fourth row (4 components)
|
||||
Struct 05: Color (4 fields)
|
||||
Name: Color
|
||||
Description: Color, 4 components, R8G8B8A8 (32bit)
|
||||
Field[1]: unsigned char r // Color red value
|
||||
Field[2]: unsigned char g // Color green value
|
||||
Field[3]: unsigned char b // Color blue value
|
||||
Field[4]: unsigned char a // Color alpha value
|
||||
Struct 06: Rectangle (4 fields)
|
||||
Name: Rectangle
|
||||
Description: Rectangle, 4 components
|
||||
Field[1]: float x // Rectangle top-left corner position x
|
||||
Field[2]: float y // Rectangle top-left corner position y
|
||||
Field[3]: float width // Rectangle width
|
||||
Field[4]: float height // Rectangle height
|
||||
Struct 07: Image (5 fields)
|
||||
Name: Image
|
||||
Description: Image, pixel data stored in CPU memory (RAM)
|
||||
Field[1]: void * data // Image raw data
|
||||
Field[2]: int width // Image base width
|
||||
Field[3]: int height // Image base height
|
||||
Field[4]: int mipmaps // Mipmap levels, 1 by default
|
||||
Field[5]: int format // Data format (PixelFormat type)
|
||||
Struct 08: Texture (5 fields)
|
||||
Name: Texture
|
||||
Description: Texture, tex data stored in GPU memory (VRAM)
|
||||
Field[1]: unsigned int id // OpenGL texture id
|
||||
Field[2]: int width // Texture base width
|
||||
Field[3]: int height // Texture base height
|
||||
Field[4]: int mipmaps // Mipmap levels, 1 by default
|
||||
Field[5]: int format // Data format (PixelFormat type)
|
||||
Struct 09: RenderTexture (3 fields)
|
||||
Name: RenderTexture
|
||||
Description: RenderTexture, fbo for texture rendering
|
||||
Field[1]: unsigned int id // OpenGL framebuffer object id
|
||||
Field[2]: Texture texture // Color buffer attachment texture
|
||||
Field[3]: Texture depth // Depth buffer attachment texture
|
||||
Struct 10: NPatchInfo (6 fields)
|
||||
Name: NPatchInfo
|
||||
Description: NPatchInfo, n-patch layout info
|
||||
Field[1]: Rectangle source // Texture source rectangle
|
||||
Field[2]: int left // Left border offset
|
||||
Field[3]: int top // Top border offset
|
||||
Field[4]: int right // Right border offset
|
||||
Field[5]: int bottom // Bottom border offset
|
||||
Field[6]: int layout // Layout of the n-patch: 3x3, 1x3 or 3x1
|
||||
Struct 11: GlyphInfo (5 fields)
|
||||
Name: GlyphInfo
|
||||
Description: GlyphInfo, font characters glyphs info
|
||||
Field[1]: int value // Character value (Unicode)
|
||||
Field[2]: int offsetX // Character offset X when drawing
|
||||
Field[3]: int offsetY // Character offset Y when drawing
|
||||
Field[4]: int advanceX // Character advance position X
|
||||
Field[5]: Image image // Character image data
|
||||
Struct 12: Font (6 fields)
|
||||
Name: Font
|
||||
Description: Font, font texture and GlyphInfo array data
|
||||
Field[1]: int baseSize // Base size (default chars height)
|
||||
Field[2]: int glyphCount // Number of glyph characters
|
||||
Field[3]: int glyphPadding // Padding around the glyph characters
|
||||
Field[4]: Texture2D texture // Texture atlas containing the glyphs
|
||||
Field[5]: Rectangle * recs // Rectangles in texture for the glyphs
|
||||
Field[6]: GlyphInfo * glyphs // Glyphs info data
|
||||
Struct 13: Camera3D (5 fields)
|
||||
Name: Camera3D
|
||||
Description: Camera, defines position/orientation in 3d space
|
||||
Field[1]: Vector3 position // Camera position
|
||||
Field[2]: Vector3 target // Camera target it looks-at
|
||||
Field[3]: Vector3 up // Camera up vector (rotation over its axis)
|
||||
Field[4]: float fovy // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic
|
||||
Field[5]: int projection // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
|
||||
Struct 14: Camera2D (4 fields)
|
||||
Name: Camera2D
|
||||
Description: Camera2D, defines position/orientation in 2d space
|
||||
Field[1]: Vector2 offset // Camera offset (screen space offset from window origin)
|
||||
Field[2]: Vector2 target // Camera target (world space target point that is mapped to screen space offset)
|
||||
Field[3]: float rotation // Camera rotation in degrees (pivots around target)
|
||||
Field[4]: float zoom // Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale
|
||||
Struct 15: Mesh (16 fields)
|
||||
Name: Mesh
|
||||
Description: Mesh, vertex data and vao/vbo
|
||||
Field[1]: int vertexCount // Number of vertices stored in arrays
|
||||
Field[2]: int triangleCount // Number of triangles stored (indexed or not)
|
||||
Field[3]: float * vertices // Vertex position (XYZ - 3 components per vertex) (shader-location = 0)
|
||||
Field[4]: float * texcoords // Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)
|
||||
Field[5]: float * texcoords2 // Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)
|
||||
Field[6]: float * normals // Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)
|
||||
Field[7]: float * tangents // Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)
|
||||
Field[8]: unsigned char * colors // Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)
|
||||
Field[9]: unsigned short * indices // Vertex indices (in case vertex data comes indexed)
|
||||
Field[10]: int boneCount // Number of bones (MAX: 256 bones)
|
||||
Field[11]: unsigned char * boneIndices // Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)
|
||||
Field[12]: float * boneWeights // Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)
|
||||
Field[13]: float * animVertices // Animated vertex positions (after bones transformations)
|
||||
Field[14]: float * animNormals // Animated normals (after bones transformations)
|
||||
Field[15]: unsigned int vaoId // OpenGL Vertex Array Object id
|
||||
Field[16]: unsigned int * vboId // OpenGL Vertex Buffer Objects id (default vertex data)
|
||||
Struct 16: Shader (2 fields)
|
||||
Name: Shader
|
||||
Description: Shader
|
||||
Field[1]: unsigned int id // Shader program id
|
||||
Field[2]: int * locs // Shader locations array (RL_MAX_SHADER_LOCATIONS)
|
||||
Struct 17: MaterialMap (3 fields)
|
||||
Name: MaterialMap
|
||||
Description: MaterialMap
|
||||
Field[1]: Texture2D texture // Material map texture
|
||||
Field[2]: Color color // Material map color
|
||||
Field[3]: float value // Material map value
|
||||
Struct 18: Material (3 fields)
|
||||
Name: Material
|
||||
Description: Material, includes shader and maps
|
||||
Field[1]: Shader shader // Material shader
|
||||
Field[2]: MaterialMap * maps // Material maps array (MAX_MATERIAL_MAPS)
|
||||
Field[3]: float[4] params // Material generic parameters (if required)
|
||||
Struct 19: Transform (3 fields)
|
||||
Name: Transform
|
||||
Description: Transform, vertex transformation data
|
||||
Field[1]: Vector3 translation // Translation
|
||||
Field[2]: Quaternion rotation // Rotation
|
||||
Field[3]: Vector3 scale // Scale
|
||||
Struct 20: BoneInfo (2 fields)
|
||||
Name: BoneInfo
|
||||
Description: Bone, skeletal animation bone
|
||||
Field[1]: char[32] name // Bone name
|
||||
Field[2]: int parent // Bone parent
|
||||
Struct 21: ModelSkeleton (3 fields)
|
||||
Name: ModelSkeleton
|
||||
Description: Skeleton, animation bones hierarchy
|
||||
Field[1]: unsigned int boneCount // Number of bones
|
||||
Field[2]: BoneInfo * bones // Bones information (skeleton)
|
||||
Field[3]: ModelAnimPose bindPose // Bones base transformation (Transform[])
|
||||
Struct 22: Model (9 fields)
|
||||
Name: Model
|
||||
Description: Model, meshes, materials and animation data
|
||||
Field[1]: Matrix transform // Local transform matrix
|
||||
Field[2]: int meshCount // Number of meshes
|
||||
Field[3]: int materialCount // Number of materials
|
||||
Field[4]: Mesh * meshes // Meshes array
|
||||
Field[5]: Material * materials // Materials array
|
||||
Field[6]: int * meshMaterial // Mesh material number
|
||||
Field[7]: ModelSkeleton skeleton // Skeleton for animation
|
||||
Field[8]: ModelAnimPose currentPose // Current animation pose (Transform[])
|
||||
Field[9]: Matrix * boneMatrices // Bones animated transformation matrices
|
||||
Struct 23: ModelAnimation (4 fields)
|
||||
Name: ModelAnimation
|
||||
Description: ModelAnimation, contains a full animation sequence
|
||||
Field[1]: char[32] name // Animation name
|
||||
Field[2]: unsigned int boneCount // Number of bones (per pose)
|
||||
Field[3]: int keyframeCount // Number of animation key frames
|
||||
Field[4]: ModelAnimPose * keyframePoses // Animation sequence keyframe poses [keyframe][pose]
|
||||
Struct 24: Ray (2 fields)
|
||||
Name: Ray
|
||||
Description: Ray, ray for raycasting
|
||||
Field[1]: Vector3 position // Ray position (origin)
|
||||
Field[2]: Vector3 direction // Ray direction (normalized)
|
||||
Struct 25: RayCollision (4 fields)
|
||||
Name: RayCollision
|
||||
Description: RayCollision, ray hit information
|
||||
Field[1]: bool hit // Did the ray hit something?
|
||||
Field[2]: float distance // Distance to the nearest hit
|
||||
Field[3]: Vector3 point // Point of the nearest hit
|
||||
Field[4]: Vector3 normal // Surface normal of hit
|
||||
Struct 26: BoundingBox (2 fields)
|
||||
Name: BoundingBox
|
||||
Description: BoundingBox
|
||||
Field[1]: Vector3 min // Minimum vertex box-corner
|
||||
Field[2]: Vector3 max // Maximum vertex box-corner
|
||||
Struct 27: Wave (5 fields)
|
||||
Name: Wave
|
||||
Description: Wave, audio wave data
|
||||
Field[1]: unsigned int frameCount // Total number of frames (considering channels)
|
||||
Field[2]: unsigned int sampleRate // Frequency (samples per second)
|
||||
Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
|
||||
Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
|
||||
Field[5]: void * data // Buffer data pointer
|
||||
Struct 28: AudioStream (5 fields)
|
||||
Name: AudioStream
|
||||
Description: AudioStream, custom audio stream
|
||||
Field[1]: rAudioBuffer * buffer // Pointer to internal data used by the audio system
|
||||
Field[2]: rAudioProcessor * processor // Pointer to internal data processor, useful for audio effects
|
||||
Field[3]: unsigned int sampleRate // Frequency (samples per second)
|
||||
Field[4]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
|
||||
Field[5]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
|
||||
Struct 29: Sound (2 fields)
|
||||
Name: Sound
|
||||
Description: Sound
|
||||
Field[1]: AudioStream stream // Audio stream
|
||||
Field[2]: unsigned int frameCount // Total number of frames (considering channels)
|
||||
Struct 30: Music (5 fields)
|
||||
Name: Music
|
||||
Description: Music, audio stream, anything longer than ~10 seconds should be streamed
|
||||
Field[1]: AudioStream stream // Audio stream
|
||||
Field[2]: unsigned int frameCount // Total number of frames (considering channels)
|
||||
Field[3]: bool looping // Music looping enable
|
||||
Field[4]: int ctxType // Type of music context (audio filetype)
|
||||
Field[5]: void * ctxData // Audio context data, depends on type
|
||||
Struct 31: VrDeviceInfo (9 fields)
|
||||
Name: VrDeviceInfo
|
||||
Description: VrDeviceInfo, Head-Mounted-Display device parameters
|
||||
Field[1]: int hResolution // Horizontal resolution in pixels
|
||||
Field[2]: int vResolution // Vertical resolution in pixels
|
||||
Field[3]: float hScreenSize // Horizontal size in meters
|
||||
Field[4]: float vScreenSize // Vertical size in meters
|
||||
Field[5]: float eyeToScreenDistance // Distance between eye and display in meters
|
||||
Field[6]: float lensSeparationDistance // Lens separation distance in meters
|
||||
Field[7]: float interpupillaryDistance // IPD (distance between pupils) in meters
|
||||
Field[8]: float[4] lensDistortionValues // Lens distortion constant parameters
|
||||
Field[9]: float[4] chromaAbCorrection // Chromatic aberration correction parameters
|
||||
Struct 32: VrStereoConfig (8 fields)
|
||||
Name: VrStereoConfig
|
||||
Description: VrStereoConfig, VR stereo rendering configuration for simulator
|
||||
Field[1]: Matrix[2] projection // VR projection matrices (per eye)
|
||||
Field[2]: Matrix[2] viewOffset // VR view offset matrices (per eye)
|
||||
Field[3]: float[2] leftLensCenter // VR left lens center
|
||||
Field[4]: float[2] rightLensCenter // VR right lens center
|
||||
Field[5]: float[2] leftScreenCenter // VR left screen center
|
||||
Field[6]: float[2] rightScreenCenter // VR right screen center
|
||||
Field[7]: float[2] scale // VR distortion scale
|
||||
Field[8]: float[2] scaleIn // VR distortion scale in
|
||||
Struct 33: FilePathList (2 fields)
|
||||
Name: FilePathList
|
||||
Description: File path list
|
||||
Field[1]: unsigned int count // Filepaths entries count
|
||||
Field[2]: char ** paths // Filepaths entries
|
||||
Struct 34: AutomationEvent (3 fields)
|
||||
Name: AutomationEvent
|
||||
Description: Automation event
|
||||
Field[1]: unsigned int frame // Event frame
|
||||
Field[2]: unsigned int type // Event type (AutomationEventType)
|
||||
Field[3]: int[4] params // Event parameters (if required)
|
||||
Struct 35: AutomationEventList (3 fields)
|
||||
Name: AutomationEventList
|
||||
Description: Automation event list
|
||||
Field[1]: unsigned int capacity // Events max entries (MAX_AUTOMATION_EVENTS)
|
||||
Field[2]: unsigned int count // Events entries count
|
||||
Field[3]: AutomationEvent * events // Events entries
|
||||
|
||||
Aliases found: 6
|
||||
|
||||
|
||||
@@ -58,7 +58,244 @@
|
||||
<Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" />
|
||||
<Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" />
|
||||
</Defines>
|
||||
<Structs count="0">
|
||||
<Structs count="35">
|
||||
<Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
|
||||
<Field type="float" name="x" desc="Vector x component" />
|
||||
<Field type="float" name="y" desc="Vector y component" />
|
||||
</Struct>
|
||||
<Struct name="Vector3" fieldCount="3" desc="Vector3, 3 components">
|
||||
<Field type="float" name="x" desc="Vector x component" />
|
||||
<Field type="float" name="y" desc="Vector y component" />
|
||||
<Field type="float" name="z" desc="Vector z component" />
|
||||
</Struct>
|
||||
<Struct name="Vector4" fieldCount="4" desc="Vector4, 4 components">
|
||||
<Field type="float" name="x" desc="Vector x component" />
|
||||
<Field type="float" name="y" desc="Vector y component" />
|
||||
<Field type="float" name="z" desc="Vector z component" />
|
||||
<Field type="float" name="w" desc="Vector w component" />
|
||||
</Struct>
|
||||
<Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right-handed">
|
||||
<Field type="float" name="m0" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m4" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m8" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m12" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m1" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m5" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m9" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m13" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m2" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m6" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m10" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m14" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m3" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m7" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m11" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m15" desc="Matrix fourth row (4 components)" />
|
||||
</Struct>
|
||||
<Struct name="Color" fieldCount="4" desc="Color, 4 components, R8G8B8A8 (32bit)">
|
||||
<Field type="unsigned char" name="r" desc="Color red value" />
|
||||
<Field type="unsigned char" name="g" desc="Color green value" />
|
||||
<Field type="unsigned char" name="b" desc="Color blue value" />
|
||||
<Field type="unsigned char" name="a" desc="Color alpha value" />
|
||||
</Struct>
|
||||
<Struct name="Rectangle" fieldCount="4" desc="Rectangle, 4 components">
|
||||
<Field type="float" name="x" desc="Rectangle top-left corner position x" />
|
||||
<Field type="float" name="y" desc="Rectangle top-left corner position y" />
|
||||
<Field type="float" name="width" desc="Rectangle width" />
|
||||
<Field type="float" name="height" desc="Rectangle height" />
|
||||
</Struct>
|
||||
<Struct name="Image" fieldCount="5" desc="Image, pixel data stored in CPU memory (RAM)">
|
||||
<Field type="void *" name="data" desc="Image raw data" />
|
||||
<Field type="int" name="width" desc="Image base width" />
|
||||
<Field type="int" name="height" desc="Image base height" />
|
||||
<Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
|
||||
<Field type="int" name="format" desc="Data format (PixelFormat type)" />
|
||||
</Struct>
|
||||
<Struct name="Texture" fieldCount="5" desc="Texture, tex data stored in GPU memory (VRAM)">
|
||||
<Field type="unsigned int" name="id" desc="OpenGL texture id" />
|
||||
<Field type="int" name="width" desc="Texture base width" />
|
||||
<Field type="int" name="height" desc="Texture base height" />
|
||||
<Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
|
||||
<Field type="int" name="format" desc="Data format (PixelFormat type)" />
|
||||
</Struct>
|
||||
<Struct name="RenderTexture" fieldCount="3" desc="RenderTexture, fbo for texture rendering">
|
||||
<Field type="unsigned int" name="id" desc="OpenGL framebuffer object id" />
|
||||
<Field type="Texture" name="texture" desc="Color buffer attachment texture" />
|
||||
<Field type="Texture" name="depth" desc="Depth buffer attachment texture" />
|
||||
</Struct>
|
||||
<Struct name="NPatchInfo" fieldCount="6" desc="NPatchInfo, n-patch layout info">
|
||||
<Field type="Rectangle" name="source" desc="Texture source rectangle" />
|
||||
<Field type="int" name="left" desc="Left border offset" />
|
||||
<Field type="int" name="top" desc="Top border offset" />
|
||||
<Field type="int" name="right" desc="Right border offset" />
|
||||
<Field type="int" name="bottom" desc="Bottom border offset" />
|
||||
<Field type="int" name="layout" desc="Layout of the n-patch: 3x3, 1x3 or 3x1" />
|
||||
</Struct>
|
||||
<Struct name="GlyphInfo" fieldCount="5" desc="GlyphInfo, font characters glyphs info">
|
||||
<Field type="int" name="value" desc="Character value (Unicode)" />
|
||||
<Field type="int" name="offsetX" desc="Character offset X when drawing" />
|
||||
<Field type="int" name="offsetY" desc="Character offset Y when drawing" />
|
||||
<Field type="int" name="advanceX" desc="Character advance position X" />
|
||||
<Field type="Image" name="image" desc="Character image data" />
|
||||
</Struct>
|
||||
<Struct name="Font" fieldCount="6" desc="Font, font texture and GlyphInfo array data">
|
||||
<Field type="int" name="baseSize" desc="Base size (default chars height)" />
|
||||
<Field type="int" name="glyphCount" desc="Number of glyph characters" />
|
||||
<Field type="int" name="glyphPadding" desc="Padding around the glyph characters" />
|
||||
<Field type="Texture2D" name="texture" desc="Texture atlas containing the glyphs" />
|
||||
<Field type="Rectangle *" name="recs" desc="Rectangles in texture for the glyphs" />
|
||||
<Field type="GlyphInfo *" name="glyphs" desc="Glyphs info data" />
|
||||
</Struct>
|
||||
<Struct name="Camera3D" fieldCount="5" desc="Camera, defines position/orientation in 3d space">
|
||||
<Field type="Vector3" name="position" desc="Camera position" />
|
||||
<Field type="Vector3" name="target" desc="Camera target it looks-at" />
|
||||
<Field type="Vector3" name="up" desc="Camera up vector (rotation over its axis)" />
|
||||
<Field type="float" name="fovy" desc="Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic" />
|
||||
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
||||
</Struct>
|
||||
<Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
|
||||
<Field type="Vector2" name="offset" desc="Camera offset (screen space offset from window origin)" />
|
||||
<Field type="Vector2" name="target" desc="Camera target (world space target point that is mapped to screen space offset)" />
|
||||
<Field type="float" name="rotation" desc="Camera rotation in degrees (pivots around target)" />
|
||||
<Field type="float" name="zoom" desc="Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale" />
|
||||
</Struct>
|
||||
<Struct name="Mesh" fieldCount="16" desc="Mesh, vertex data and vao/vbo">
|
||||
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
||||
<Field type="int" name="triangleCount" desc="Number of triangles stored (indexed or not)" />
|
||||
<Field type="float *" name="vertices" desc="Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" />
|
||||
<Field type="float *" name="texcoords" desc="Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" />
|
||||
<Field type="float *" name="texcoords2" desc="Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" />
|
||||
<Field type="float *" name="normals" desc="Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" />
|
||||
<Field type="float *" name="tangents" desc="Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" />
|
||||
<Field type="unsigned char *" name="colors" desc="Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" />
|
||||
<Field type="unsigned short *" name="indices" desc="Vertex indices (in case vertex data comes indexed)" />
|
||||
<Field type="int" name="boneCount" desc="Number of bones (MAX: 256 bones)" />
|
||||
<Field type="unsigned char *" name="boneIndices" desc="Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)" />
|
||||
<Field type="float *" name="boneWeights" desc="Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)" />
|
||||
<Field type="float *" name="animVertices" desc="Animated vertex positions (after bones transformations)" />
|
||||
<Field type="float *" name="animNormals" desc="Animated normals (after bones transformations)" />
|
||||
<Field type="unsigned int" name="vaoId" desc="OpenGL Vertex Array Object id" />
|
||||
<Field type="unsigned int *" name="vboId" desc="OpenGL Vertex Buffer Objects id (default vertex data)" />
|
||||
</Struct>
|
||||
<Struct name="Shader" fieldCount="2" desc="Shader">
|
||||
<Field type="unsigned int" name="id" desc="Shader program id" />
|
||||
<Field type="int *" name="locs" desc="Shader locations array (RL_MAX_SHADER_LOCATIONS)" />
|
||||
</Struct>
|
||||
<Struct name="MaterialMap" fieldCount="3" desc="MaterialMap">
|
||||
<Field type="Texture2D" name="texture" desc="Material map texture" />
|
||||
<Field type="Color" name="color" desc="Material map color" />
|
||||
<Field type="float" name="value" desc="Material map value" />
|
||||
</Struct>
|
||||
<Struct name="Material" fieldCount="3" desc="Material, includes shader and maps">
|
||||
<Field type="Shader" name="shader" desc="Material shader" />
|
||||
<Field type="MaterialMap *" name="maps" desc="Material maps array (MAX_MATERIAL_MAPS)" />
|
||||
<Field type="float[4]" name="params" desc="Material generic parameters (if required)" />
|
||||
</Struct>
|
||||
<Struct name="Transform" fieldCount="3" desc="Transform, vertex transformation data">
|
||||
<Field type="Vector3" name="translation" desc="Translation" />
|
||||
<Field type="Quaternion" name="rotation" desc="Rotation" />
|
||||
<Field type="Vector3" name="scale" desc="Scale" />
|
||||
</Struct>
|
||||
<Struct name="BoneInfo" fieldCount="2" desc="Bone, skeletal animation bone">
|
||||
<Field type="char[32]" name="name" desc="Bone name" />
|
||||
<Field type="int" name="parent" desc="Bone parent" />
|
||||
</Struct>
|
||||
<Struct name="ModelSkeleton" fieldCount="3" desc="Skeleton, animation bones hierarchy">
|
||||
<Field type="unsigned int" name="boneCount" desc="Number of bones" />
|
||||
<Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
|
||||
<Field type="ModelAnimPose" name="bindPose" desc="Bones base transformation (Transform[])" />
|
||||
</Struct>
|
||||
<Struct name="Model" fieldCount="9" desc="Model, meshes, materials and animation data">
|
||||
<Field type="Matrix" name="transform" desc="Local transform matrix" />
|
||||
<Field type="int" name="meshCount" desc="Number of meshes" />
|
||||
<Field type="int" name="materialCount" desc="Number of materials" />
|
||||
<Field type="Mesh *" name="meshes" desc="Meshes array" />
|
||||
<Field type="Material *" name="materials" desc="Materials array" />
|
||||
<Field type="int *" name="meshMaterial" desc="Mesh material number" />
|
||||
<Field type="ModelSkeleton" name="skeleton" desc="Skeleton for animation" />
|
||||
<Field type="ModelAnimPose" name="currentPose" desc="Current animation pose (Transform[])" />
|
||||
<Field type="Matrix *" name="boneMatrices" desc="Bones animated transformation matrices" />
|
||||
</Struct>
|
||||
<Struct name="ModelAnimation" fieldCount="4" desc="ModelAnimation, contains a full animation sequence">
|
||||
<Field type="char[32]" name="name" desc="Animation name" />
|
||||
<Field type="unsigned int" name="boneCount" desc="Number of bones (per pose)" />
|
||||
<Field type="int" name="keyframeCount" desc="Number of animation key frames" />
|
||||
<Field type="ModelAnimPose *" name="keyframePoses" desc="Animation sequence keyframe poses [keyframe][pose]" />
|
||||
</Struct>
|
||||
<Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting">
|
||||
<Field type="Vector3" name="position" desc="Ray position (origin)" />
|
||||
<Field type="Vector3" name="direction" desc="Ray direction (normalized)" />
|
||||
</Struct>
|
||||
<Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information">
|
||||
<Field type="bool" name="hit" desc="Did the ray hit something?" />
|
||||
<Field type="float" name="distance" desc="Distance to the nearest hit" />
|
||||
<Field type="Vector3" name="point" desc="Point of the nearest hit" />
|
||||
<Field type="Vector3" name="normal" desc="Surface normal of hit" />
|
||||
</Struct>
|
||||
<Struct name="BoundingBox" fieldCount="2" desc="BoundingBox">
|
||||
<Field type="Vector3" name="min" desc="Minimum vertex box-corner" />
|
||||
<Field type="Vector3" name="max" desc="Maximum vertex box-corner" />
|
||||
</Struct>
|
||||
<Struct name="Wave" fieldCount="5" desc="Wave, audio wave data">
|
||||
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
||||
<Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
|
||||
<Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
|
||||
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
|
||||
<Field type="void *" name="data" desc="Buffer data pointer" />
|
||||
</Struct>
|
||||
<Struct name="AudioStream" fieldCount="5" desc="AudioStream, custom audio stream">
|
||||
<Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" />
|
||||
<Field type="rAudioProcessor *" name="processor" desc="Pointer to internal data processor, useful for audio effects" />
|
||||
<Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
|
||||
<Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
|
||||
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
|
||||
</Struct>
|
||||
<Struct name="Sound" fieldCount="2" desc="Sound">
|
||||
<Field type="AudioStream" name="stream" desc="Audio stream" />
|
||||
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
||||
</Struct>
|
||||
<Struct name="Music" fieldCount="5" desc="Music, audio stream, anything longer than ~10 seconds should be streamed">
|
||||
<Field type="AudioStream" name="stream" desc="Audio stream" />
|
||||
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
||||
<Field type="bool" name="looping" desc="Music looping enable" />
|
||||
<Field type="int" name="ctxType" desc="Type of music context (audio filetype)" />
|
||||
<Field type="void *" name="ctxData" desc="Audio context data, depends on type" />
|
||||
</Struct>
|
||||
<Struct name="VrDeviceInfo" fieldCount="9" desc="VrDeviceInfo, Head-Mounted-Display device parameters">
|
||||
<Field type="int" name="hResolution" desc="Horizontal resolution in pixels" />
|
||||
<Field type="int" name="vResolution" desc="Vertical resolution in pixels" />
|
||||
<Field type="float" name="hScreenSize" desc="Horizontal size in meters" />
|
||||
<Field type="float" name="vScreenSize" desc="Vertical size in meters" />
|
||||
<Field type="float" name="eyeToScreenDistance" desc="Distance between eye and display in meters" />
|
||||
<Field type="float" name="lensSeparationDistance" desc="Lens separation distance in meters" />
|
||||
<Field type="float" name="interpupillaryDistance" desc="IPD (distance between pupils) in meters" />
|
||||
<Field type="float[4]" name="lensDistortionValues" desc="Lens distortion constant parameters" />
|
||||
<Field type="float[4]" name="chromaAbCorrection" desc="Chromatic aberration correction parameters" />
|
||||
</Struct>
|
||||
<Struct name="VrStereoConfig" fieldCount="8" desc="VrStereoConfig, VR stereo rendering configuration for simulator">
|
||||
<Field type="Matrix[2]" name="projection" desc="VR projection matrices (per eye)" />
|
||||
<Field type="Matrix[2]" name="viewOffset" desc="VR view offset matrices (per eye)" />
|
||||
<Field type="float[2]" name="leftLensCenter" desc="VR left lens center" />
|
||||
<Field type="float[2]" name="rightLensCenter" desc="VR right lens center" />
|
||||
<Field type="float[2]" name="leftScreenCenter" desc="VR left screen center" />
|
||||
<Field type="float[2]" name="rightScreenCenter" desc="VR right screen center" />
|
||||
<Field type="float[2]" name="scale" desc="VR distortion scale" />
|
||||
<Field type="float[2]" name="scaleIn" desc="VR distortion scale in" />
|
||||
</Struct>
|
||||
<Struct name="FilePathList" fieldCount="2" desc="File path list">
|
||||
<Field type="unsigned int" name="count" desc="Filepaths entries count" />
|
||||
<Field type="char **" name="paths" desc="Filepaths entries" />
|
||||
</Struct>
|
||||
<Struct name="AutomationEvent" fieldCount="3" desc="Automation event">
|
||||
<Field type="unsigned int" name="frame" desc="Event frame" />
|
||||
<Field type="unsigned int" name="type" desc="Event type (AutomationEventType)" />
|
||||
<Field type="int[4]" name="params" desc="Event parameters (if required)" />
|
||||
</Struct>
|
||||
<Struct name="AutomationEventList" fieldCount="3" desc="Automation event list">
|
||||
<Field type="unsigned int" name="capacity" desc="Events max entries (MAX_AUTOMATION_EVENTS)" />
|
||||
<Field type="unsigned int" name="count" desc="Events entries count" />
|
||||
<Field type="AutomationEvent *" name="events" desc="Events entries" />
|
||||
</Struct>
|
||||
</Structs>
|
||||
<Aliases count="6">
|
||||
<Alias type="Quaternion" name="Vector4" desc="Quaternion, 4 components (Vector4 alias)" />
|
||||
|
||||
Reference in New Issue
Block a user