You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2589 lines
173 KiB

  1. <?xml version="1.0" encoding="Windows-1252" ?>
  2. <raylibAPI>
  3. <Structs count="31">
  4. <Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
  5. <Field type="float" name="x" desc="Vector x component" />
  6. <Field type="float" name="y" desc="Vector y component" />
  7. </Struct>
  8. <Struct name="Vector3" fieldCount="3" desc="Vector3, 3 components">
  9. <Field type="float" name="x" desc="Vector x component" />
  10. <Field type="float" name="y" desc="Vector y component" />
  11. <Field type="float" name="z" desc="Vector z component" />
  12. </Struct>
  13. <Struct name="Vector4" fieldCount="4" desc="Vector4, 4 components">
  14. <Field type="float" name="x" desc="Vector x component" />
  15. <Field type="float" name="y" desc="Vector y component" />
  16. <Field type="float" name="z" desc="Vector z component" />
  17. <Field type="float" name="w" desc="Vector w component" />
  18. </Struct>
  19. <Struct name="Matrix" fieldCount="4" desc="Matrix, 4x4 components, column major, OpenGL style, right handed">
  20. <Field type="float" name="m0, m4, m8, m12" desc="Matrix first row (4 components)" />
  21. <Field type="float" name="m1, m5, m9, m13" desc="Matrix second row (4 components)" />
  22. <Field type="float" name="m2, m6, m10, m14" desc="Matrix third row (4 components)" />
  23. <Field type="float" name="m3, m7, m11, m15" desc="Matrix fourth row (4 components)" />
  24. </Struct>
  25. <Struct name="Color" fieldCount="4" desc="Color, 4 components, R8G8B8A8 (32bit)">
  26. <Field type="unsigned char" name="r" desc="Color red value" />
  27. <Field type="unsigned char" name="g" desc="Color green value" />
  28. <Field type="unsigned char" name="b" desc="Color blue value" />
  29. <Field type="unsigned char" name="a" desc="Color alpha value" />
  30. </Struct>
  31. <Struct name="Rectangle" fieldCount="4" desc="Rectangle, 4 components">
  32. <Field type="float" name="x" desc="Rectangle top-left corner position x" />
  33. <Field type="float" name="y" desc="Rectangle top-left corner position y" />
  34. <Field type="float" name="width" desc="Rectangle width" />
  35. <Field type="float" name="height" desc="Rectangle height" />
  36. </Struct>
  37. <Struct name="Image" fieldCount="5" desc="Image, pixel data stored in CPU memory (RAM)">
  38. <Field type="void *" name="data" desc="Image raw data" />
  39. <Field type="int" name="width" desc="Image base width" />
  40. <Field type="int" name="height" desc="Image base height" />
  41. <Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
  42. <Field type="int" name="format" desc="Data format (PixelFormat type)" />
  43. </Struct>
  44. <Struct name="Texture" fieldCount="5" desc="Texture, tex data stored in GPU memory (VRAM)">
  45. <Field type="unsigned int" name="id" desc="OpenGL texture id" />
  46. <Field type="int" name="width" desc="Texture base width" />
  47. <Field type="int" name="height" desc="Texture base height" />
  48. <Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
  49. <Field type="int" name="format" desc="Data format (PixelFormat type)" />
  50. </Struct>
  51. <Struct name="RenderTexture" fieldCount="3" desc="RenderTexture, fbo for texture rendering">
  52. <Field type="unsigned int" name="id" desc="OpenGL framebuffer object id" />
  53. <Field type="Texture" name="texture" desc="Color buffer attachment texture" />
  54. <Field type="Texture" name="depth" desc="Depth buffer attachment texture" />
  55. </Struct>
  56. <Struct name="NPatchInfo" fieldCount="6" desc="NPatchInfo, n-patch layout info">
  57. <Field type="Rectangle" name="source" desc="Texture source rectangle" />
  58. <Field type="int" name="left" desc="Left border offset" />
  59. <Field type="int" name="top" desc="Top border offset" />
  60. <Field type="int" name="right" desc="Right border offset" />
  61. <Field type="int" name="bottom" desc="Bottom border offset" />
  62. <Field type="int" name="layout" desc="Layout of the n-patch: 3x3, 1x3 or 3x1" />
  63. </Struct>
  64. <Struct name="GlyphInfo" fieldCount="5" desc="GlyphInfo, font characters glyphs info">
  65. <Field type="int" name="value" desc="Character value (Unicode)" />
  66. <Field type="int" name="offsetX" desc="Character offset X when drawing" />
  67. <Field type="int" name="offsetY" desc="Character offset Y when drawing" />
  68. <Field type="int" name="advanceX" desc="Character advance position X" />
  69. <Field type="Image" name="image" desc="Character image data" />
  70. </Struct>
  71. <Struct name="Font" fieldCount="6" desc="Font, font texture and GlyphInfo array data">
  72. <Field type="int" name="baseSize" desc="Base size (default chars height)" />
  73. <Field type="int" name="glyphCount" desc="Number of glyph characters" />
  74. <Field type="int" name="glyphPadding" desc="Padding around the glyph characters" />
  75. <Field type="Texture2D" name="texture" desc="Texture atlas containing the glyphs" />
  76. <Field type="Rectangle *" name="recs" desc="Rectangles in texture for the glyphs" />
  77. <Field type="GlyphInfo *" name="glyphs" desc="Glyphs info data" />
  78. </Struct>
  79. <Struct name="Camera3D" fieldCount="5" desc="Camera, defines position/orientation in 3d space">
  80. <Field type="Vector3" name="position" desc="Camera position" />
  81. <Field type="Vector3" name="target" desc="Camera target it looks-at" />
  82. <Field type="Vector3" name="up" desc="Camera up vector (rotation over its axis)" />
  83. <Field type="float" name="fovy" desc="Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic" />
  84. <Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
  85. </Struct>
  86. <Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
  87. <Field type="Vector2" name="offset" desc="Camera offset (displacement from target)" />
  88. <Field type="Vector2" name="target" desc="Camera target (rotation and zoom origin)" />
  89. <Field type="float" name="rotation" desc="Camera rotation in degrees" />
  90. <Field type="float" name="zoom" desc="Camera zoom (scaling), should be 1.0f by default" />
  91. </Struct>
  92. <Struct name="Mesh" fieldCount="15" desc="Mesh, vertex data and vao/vbo">
  93. <Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
  94. <Field type="int" name="triangleCount" desc="Number of triangles stored (indexed or not)" />
  95. <Field type="float *" name="vertices" desc="Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" />
  96. <Field type="float *" name="texcoords" desc="Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" />
  97. <Field type="float *" name="texcoords2" desc="Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)" />
  98. <Field type="float *" name="normals" desc="Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" />
  99. <Field type="float *" name="tangents" desc="Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" />
  100. <Field type="unsigned char *" name="colors" desc="Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" />
  101. <Field type="unsigned short *" name="indices" desc="Vertex indices (in case vertex data comes indexed)" />
  102. <Field type="float *" name="animVertices" desc="Animated vertex positions (after bones transformations)" />
  103. <Field type="float *" name="animNormals" desc="Animated normals (after bones transformations)" />
  104. <Field type="unsigned char *" name="boneIds" desc="Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)" />
  105. <Field type="float *" name="boneWeights" desc="Vertex bone weight, up to 4 bones influence by vertex (skinning)" />
  106. <Field type="unsigned int" name="vaoId" desc="OpenGL Vertex Array Object id" />
  107. <Field type="unsigned int *" name="vboId" desc="OpenGL Vertex Buffer Objects id (default vertex data)" />
  108. </Struct>
  109. <Struct name="Shader" fieldCount="2" desc="Shader">
  110. <Field type="unsigned int" name="id" desc="Shader program id" />
  111. <Field type="int *" name="locs" desc="Shader locations array (RL_MAX_SHADER_LOCATIONS)" />
  112. </Struct>
  113. <Struct name="MaterialMap" fieldCount="3" desc="MaterialMap">
  114. <Field type="Texture2D" name="texture" desc="Material map texture" />
  115. <Field type="Color" name="color" desc="Material map color" />
  116. <Field type="float" name="value" desc="Material map value" />
  117. </Struct>
  118. <Struct name="Material" fieldCount="3" desc="Material, includes shader and maps">
  119. <Field type="Shader" name="shader" desc="Material shader" />
  120. <Field type="MaterialMap *" name="maps" desc="Material maps array (MAX_MATERIAL_MAPS)" />
  121. <Field type="float" name="params[4]" desc="Material generic parameters (if required)" />
  122. </Struct>
  123. <Struct name="Transform" fieldCount="3" desc="Transform, vectex transformation data">
  124. <Field type="Vector3" name="translation" desc="Translation" />
  125. <Field type="Quaternion" name="rotation" desc="Rotation" />
  126. <Field type="Vector3" name="scale" desc="Scale" />
  127. </Struct>
  128. <Struct name="BoneInfo" fieldCount="2" desc="Bone, skeletal animation bone">
  129. <Field type="char" name="name[32]" desc="Bone name" />
  130. <Field type="int" name="parent" desc="Bone parent" />
  131. </Struct>
  132. <Struct name="Model" fieldCount="9" desc="Model, meshes, materials and animation data">
  133. <Field type="Matrix" name="transform" desc="Local transform matrix" />
  134. <Field type="int" name="meshCount" desc="Number of meshes" />
  135. <Field type="int" name="materialCount" desc="Number of materials" />
  136. <Field type="Mesh *" name="meshes" desc="Meshes array" />
  137. <Field type="Material *" name="materials" desc="Materials array" />
  138. <Field type="int *" name="meshMaterial" desc="Mesh material number" />
  139. <Field type="int" name="boneCount" desc="Number of bones" />
  140. <Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
  141. <Field type="Transform *" name="bindPose" desc="Bones base transformation (pose)" />
  142. </Struct>
  143. <Struct name="ModelAnimation" fieldCount="4" desc="ModelAnimation">
  144. <Field type="int" name="boneCount" desc="Number of bones" />
  145. <Field type="int" name="frameCount" desc="Number of animation frames" />
  146. <Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
  147. <Field type="Transform **" name="framePoses" desc="Poses array by frame" />
  148. </Struct>
  149. <Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting">
  150. <Field type="Vector3" name="position" desc="Ray position (origin)" />
  151. <Field type="Vector3" name="direction" desc="Ray direction" />
  152. </Struct>
  153. <Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information">
  154. <Field type="bool" name="hit" desc="Did the ray hit something?" />
  155. <Field type="float" name="distance" desc="Distance to nearest hit" />
  156. <Field type="Vector3" name="point" desc="Point of nearest hit" />
  157. <Field type="Vector3" name="normal" desc="Surface normal of hit" />
  158. </Struct>
  159. <Struct name="BoundingBox" fieldCount="2" desc="BoundingBox">
  160. <Field type="Vector3" name="min" desc="Minimum vertex box-corner" />
  161. <Field type="Vector3" name="max" desc="Maximum vertex box-corner" />
  162. </Struct>
  163. <Struct name="Wave" fieldCount="5" desc="Wave, audio wave data">
  164. <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
  165. <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
  166. <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
  167. <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
  168. <Field type="void *" name="data" desc="Buffer data pointer" />
  169. </Struct>
  170. <Struct name="AudioStream" fieldCount="4" desc="AudioStream, custom audio stream">
  171. <Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" />
  172. <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
  173. <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
  174. <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
  175. </Struct>
  176. <Struct name="Sound" fieldCount="2" desc="Sound">
  177. <Field type="AudioStream" name="stream" desc="Audio stream" />
  178. <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
  179. </Struct>
  180. <Struct name="Music" fieldCount="5" desc="Music, audio stream, anything longer than ~10 seconds should be streamed">
  181. <Field type="AudioStream" name="stream" desc="Audio stream" />
  182. <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
  183. <Field type="bool" name="looping" desc="Music looping enable" />
  184. <Field type="int" name="ctxType" desc="Type of music context (audio filetype)" />
  185. <Field type="void *" name="ctxData" desc="Audio context data, depends on type" />
  186. </Struct>
  187. <Struct name="VrDeviceInfo" fieldCount="10" desc="VrDeviceInfo, Head-Mounted-Display device parameters">
  188. <Field type="int" name="hResolution" desc="Horizontal resolution in pixels" />
  189. <Field type="int" name="vResolution" desc="Vertical resolution in pixels" />
  190. <Field type="float" name="hScreenSize" desc="Horizontal size in meters" />
  191. <Field type="float" name="vScreenSize" desc="Vertical size in meters" />
  192. <Field type="float" name="vScreenCenter" desc="Screen center in meters" />
  193. <Field type="float" name="eyeToScreenDistance" desc="Distance between eye and display in meters" />
  194. <Field type="float" name="lensSeparationDistance" desc="Lens separation distance in meters" />
  195. <Field type="float" name="interpupillaryDistance" desc="IPD (distance between pupils) in meters" />
  196. <Field type="float" name="lensDistortionValues[4]" desc="Lens distortion constant parameters" />
  197. <Field type="float" name="chromaAbCorrection[4]" desc="Chromatic aberration correction parameters" />
  198. </Struct>
  199. <Struct name="VrStereoConfig" fieldCount="8" desc="VrStereoConfig, VR stereo rendering configuration for simulator">
  200. <Field type="Matrix" name="projection[2]" desc="VR projection matrices (per eye)" />
  201. <Field type="Matrix" name="viewOffset[2]" desc="VR view offset matrices (per eye)" />
  202. <Field type="float" name="leftLensCenter[2]" desc="VR left lens center" />
  203. <Field type="float" name="rightLensCenter[2]" desc="VR right lens center" />
  204. <Field type="float" name="leftScreenCenter[2]" desc="VR left screen center" />
  205. <Field type="float" name="rightScreenCenter[2]" desc="VR right screen center" />
  206. <Field type="float" name="scale[2]" desc="VR distortion scale" />
  207. <Field type="float" name="scaleIn[2]" desc="VR distortion scale in" />
  208. </Struct>
  209. </Structs>
  210. <Enums count="21">
  211. <Enum name="ConfigFlags" valueCount="14" desc="System/Window config flags">
  212. <Value name="FLAG_VSYNC_HINT" integer="64" desc="Set to try enabling V-Sync on GPU" />
  213. <Value name="FLAG_FULLSCREEN_MODE" integer="2" desc="Set to run program in fullscreen" />
  214. <Value name="FLAG_WINDOW_RESIZABLE" integer="4" desc="Set to allow resizable window" />
  215. <Value name="FLAG_WINDOW_UNDECORATED" integer="8" desc="Set to disable window decoration (frame and buttons)" />
  216. <Value name="FLAG_WINDOW_HIDDEN" integer="128" desc="Set to hide window" />
  217. <Value name="FLAG_WINDOW_MINIMIZED" integer="512" desc="Set to minimize window (iconify)" />
  218. <Value name="FLAG_WINDOW_MAXIMIZED" integer="1024" desc="Set to maximize window (expanded to monitor)" />
  219. <Value name="FLAG_WINDOW_UNFOCUSED" integer="2048" desc="Set to window non focused" />
  220. <Value name="FLAG_WINDOW_TOPMOST" integer="4096" desc="Set to window always on top" />
  221. <Value name="FLAG_WINDOW_ALWAYS_RUN" integer="256" desc="Set to allow windows running while minimized" />
  222. <Value name="FLAG_WINDOW_TRANSPARENT" integer="16" desc="Set to allow transparent framebuffer" />
  223. <Value name="FLAG_WINDOW_HIGHDPI" integer="8192" desc="Set to support HighDPI" />
  224. <Value name="FLAG_MSAA_4X_HINT" integer="32" desc="Set to try enabling MSAA 4X" />
  225. <Value name="FLAG_INTERLACED_HINT" integer="65536" desc="Set to try enabling interlaced video format (for V3D)" />
  226. </Enum>
  227. <Enum name="TraceLogLevel" valueCount="8" desc="Trace log level">
  228. <Value name="LOG_ALL" integer="0" desc="Display all logs" />
  229. <Value name="LOG_TRACE" integer="1" desc="Trace logging, intended for internal use only" />
  230. <Value name="LOG_DEBUG" integer="2" desc="Debug logging, used for internal debugging, it should be disabled on release builds" />
  231. <Value name="LOG_INFO" integer="3" desc="Info logging, used for program execution info" />
  232. <Value name="LOG_WARNING" integer="4" desc="Warning logging, used on recoverable failures" />
  233. <Value name="LOG_ERROR" integer="5" desc="Error logging, used on unrecoverable failures" />
  234. <Value name="LOG_FATAL" integer="6" desc="Fatal logging, used to abort program: exit(EXIT_FAILURE)" />
  235. <Value name="LOG_NONE" integer="7" desc="Disable logging" />
  236. </Enum>
  237. <Enum name="KeyboardKey" valueCount="110" desc="Keyboard keys (US keyboard layout)">
  238. <Value name="KEY_NULL" integer="0" desc="Key: NULL, used for no key pressed" />
  239. <Value name="KEY_APOSTROPHE" integer="39" desc="Key: '" />
  240. <Value name="KEY_COMMA" integer="44" desc="Key: ," />
  241. <Value name="KEY_MINUS" integer="45" desc="Key: -" />
  242. <Value name="KEY_PERIOD" integer="46" desc="Key: ." />
  243. <Value name="KEY_SLASH" integer="47" desc="Key: /" />
  244. <Value name="KEY_ZERO" integer="48" desc="Key: 0" />
  245. <Value name="KEY_ONE" integer="49" desc="Key: 1" />
  246. <Value name="KEY_TWO" integer="50" desc="Key: 2" />
  247. <Value name="KEY_THREE" integer="51" desc="Key: 3" />
  248. <Value name="KEY_FOUR" integer="52" desc="Key: 4" />
  249. <Value name="KEY_FIVE" integer="53" desc="Key: 5" />
  250. <Value name="KEY_SIX" integer="54" desc="Key: 6" />
  251. <Value name="KEY_SEVEN" integer="55" desc="Key: 7" />
  252. <Value name="KEY_EIGHT" integer="56" desc="Key: 8" />
  253. <Value name="KEY_NINE" integer="57" desc="Key: 9" />
  254. <Value name="KEY_SEMICOLON" integer="59" desc="Key: ;" />
  255. <Value name="KEY_EQUAL" integer="61" desc="Key: =" />
  256. <Value name="KEY_A" integer="65" desc="Key: A | a" />
  257. <Value name="KEY_B" integer="66" desc="Key: B | b" />
  258. <Value name="KEY_C" integer="67" desc="Key: C | c" />
  259. <Value name="KEY_D" integer="68" desc="Key: D | d" />
  260. <Value name="KEY_E" integer="69" desc="Key: E | e" />
  261. <Value name="KEY_F" integer="70" desc="Key: F | f" />
  262. <Value name="KEY_G" integer="71" desc="Key: G | g" />
  263. <Value name="KEY_H" integer="72" desc="Key: H | h" />
  264. <Value name="KEY_I" integer="73" desc="Key: I | i" />
  265. <Value name="KEY_J" integer="74" desc="Key: J | j" />
  266. <Value name="KEY_K" integer="75" desc="Key: K | k" />
  267. <Value name="KEY_L" integer="76" desc="Key: L | l" />
  268. <Value name="KEY_M" integer="77" desc="Key: M | m" />
  269. <Value name="KEY_N" integer="78" desc="Key: N | n" />
  270. <Value name="KEY_O" integer="79" desc="Key: O | o" />
  271. <Value name="KEY_P" integer="80" desc="Key: P | p" />
  272. <Value name="KEY_Q" integer="81" desc="Key: Q | q" />
  273. <Value name="KEY_R" integer="82" desc="Key: R | r" />
  274. <Value name="KEY_S" integer="83" desc="Key: S | s" />
  275. <Value name="KEY_T" integer="84" desc="Key: T | t" />
  276. <Value name="KEY_U" integer="85" desc="Key: U | u" />
  277. <Value name="KEY_V" integer="86" desc="Key: V | v" />
  278. <Value name="KEY_W" integer="87" desc="Key: W | w" />
  279. <Value name="KEY_X" integer="88" desc="Key: X | x" />
  280. <Value name="KEY_Y" integer="89" desc="Key: Y | y" />
  281. <Value name="KEY_Z" integer="90" desc="Key: Z | z" />
  282. <Value name="KEY_LEFT_BRACKET" integer="91" desc="Key: [" />
  283. <Value name="KEY_BACKSLASH" integer="92" desc="Key: '\'" />
  284. <Value name="KEY_RIGHT_BRACKET" integer="93" desc="Key: ]" />
  285. <Value name="KEY_GRAVE" integer="96" desc="Key: `" />
  286. <Value name="KEY_SPACE" integer="32" desc="Key: Space" />
  287. <Value name="KEY_ESCAPE" integer="256" desc="Key: Esc" />
  288. <Value name="KEY_ENTER" integer="257" desc="Key: Enter" />
  289. <Value name="KEY_TAB" integer="258" desc="Key: Tab" />
  290. <Value name="KEY_BACKSPACE" integer="259" desc="Key: Backspace" />
  291. <Value name="KEY_INSERT" integer="260" desc="Key: Ins" />
  292. <Value name="KEY_DELETE" integer="261" desc="Key: Del" />
  293. <Value name="KEY_RIGHT" integer="262" desc="Key: Cursor right" />
  294. <Value name="KEY_LEFT" integer="263" desc="Key: Cursor left" />
  295. <Value name="KEY_DOWN" integer="264" desc="Key: Cursor down" />
  296. <Value name="KEY_UP" integer="265" desc="Key: Cursor up" />
  297. <Value name="KEY_PAGE_UP" integer="266" desc="Key: Page up" />
  298. <Value name="KEY_PAGE_DOWN" integer="267" desc="Key: Page down" />
  299. <Value name="KEY_HOME" integer="268" desc="Key: Home" />
  300. <Value name="KEY_END" integer="269" desc="Key: End" />
  301. <Value name="KEY_CAPS_LOCK" integer="280" desc="Key: Caps lock" />
  302. <Value name="KEY_SCROLL_LOCK" integer="281" desc="Key: Scroll down" />
  303. <Value name="KEY_NUM_LOCK" integer="282" desc="Key: Num lock" />
  304. <Value name="KEY_PRINT_SCREEN" integer="283" desc="Key: Print screen" />
  305. <Value name="KEY_PAUSE" integer="284" desc="Key: Pause" />
  306. <Value name="KEY_F1" integer="290" desc="Key: F1" />
  307. <Value name="KEY_F2" integer="291" desc="Key: F2" />
  308. <Value name="KEY_F3" integer="292" desc="Key: F3" />
  309. <Value name="KEY_F4" integer="293" desc="Key: F4" />
  310. <Value name="KEY_F5" integer="294" desc="Key: F5" />
  311. <Value name="KEY_F6" integer="295" desc="Key: F6" />
  312. <Value name="KEY_F7" integer="296" desc="Key: F7" />
  313. <Value name="KEY_F8" integer="297" desc="Key: F8" />
  314. <Value name="KEY_F9" integer="298" desc="Key: F9" />
  315. <Value name="KEY_F10" integer="299" desc="Key: F10" />
  316. <Value name="KEY_F11" integer="300" desc="Key: F11" />
  317. <Value name="KEY_F12" integer="301" desc="Key: F12" />
  318. <Value name="KEY_LEFT_SHIFT" integer="340" desc="Key: Shift left" />
  319. <Value name="KEY_LEFT_CONTROL" integer="341" desc="Key: Control left" />
  320. <Value name="KEY_LEFT_ALT" integer="342" desc="Key: Alt left" />
  321. <Value name="KEY_LEFT_SUPER" integer="343" desc="Key: Super left" />
  322. <Value name="KEY_RIGHT_SHIFT" integer="344" desc="Key: Shift right" />
  323. <Value name="KEY_RIGHT_CONTROL" integer="345" desc="Key: Control right" />
  324. <Value name="KEY_RIGHT_ALT" integer="346" desc="Key: Alt right" />
  325. <Value name="KEY_RIGHT_SUPER" integer="347" desc="Key: Super right" />
  326. <Value name="KEY_KB_MENU" integer="348" desc="Key: KB menu" />
  327. <Value name="KEY_KP_0" integer="320" desc="Key: Keypad 0" />
  328. <Value name="KEY_KP_1" integer="321" desc="Key: Keypad 1" />
  329. <Value name="KEY_KP_2" integer="322" desc="Key: Keypad 2" />
  330. <Value name="KEY_KP_3" integer="323" desc="Key: Keypad 3" />
  331. <Value name="KEY_KP_4" integer="324" desc="Key: Keypad 4" />
  332. <Value name="KEY_KP_5" integer="325" desc="Key: Keypad 5" />
  333. <Value name="KEY_KP_6" integer="326" desc="Key: Keypad 6" />
  334. <Value name="KEY_KP_7" integer="327" desc="Key: Keypad 7" />
  335. <Value name="KEY_KP_8" integer="328" desc="Key: Keypad 8" />
  336. <Value name="KEY_KP_9" integer="329" desc="Key: Keypad 9" />
  337. <Value name="KEY_KP_DECIMAL" integer="330" desc="Key: Keypad ." />
  338. <Value name="KEY_KP_DIVIDE" integer="331" desc="Key: Keypad /" />
  339. <Value name="KEY_KP_MULTIPLY" integer="332" desc="Key: Keypad *" />
  340. <Value name="KEY_KP_SUBTRACT" integer="333" desc="Key: Keypad -" />
  341. <Value name="KEY_KP_ADD" integer="334" desc="Key: Keypad +" />
  342. <Value name="KEY_KP_ENTER" integer="335" desc="Key: Keypad Enter" />
  343. <Value name="KEY_KP_EQUAL" integer="336" desc="Key: Keypad =" />
  344. <Value name="KEY_BACK" integer="4" desc="Key: Android back button" />
  345. <Value name="KEY_MENU" integer="82" desc="Key: Android menu button" />
  346. <Value name="KEY_VOLUME_UP" integer="24" desc="Key: Android volume up button" />
  347. <Value name="KEY_VOLUME_DOWN" integer="25" desc="Key: Android volume down button" />
  348. </Enum>
  349. <Enum name="MouseButton" valueCount="7" desc="Mouse buttons">
  350. <Value name="MOUSE_BUTTON_LEFT" integer="0" desc="Mouse button left" />
  351. <Value name="MOUSE_BUTTON_RIGHT" integer="1" desc="Mouse button right" />
  352. <Value name="MOUSE_BUTTON_MIDDLE" integer="2" desc="Mouse button middle (pressed wheel)" />
  353. <Value name="MOUSE_BUTTON_SIDE" integer="3" desc="Mouse button side (advanced mouse device)" />
  354. <Value name="MOUSE_BUTTON_EXTRA" integer="4" desc="Mouse button extra (advanced mouse device)" />
  355. <Value name="MOUSE_BUTTON_FORWARD" integer="5" desc="Mouse button fordward (advanced mouse device)" />
  356. <Value name="MOUSE_BUTTON_BACK" integer="6" desc="Mouse button back (advanced mouse device)" />
  357. </Enum>
  358. <Enum name="MouseCursor" valueCount="11" desc="Mouse cursor">
  359. <Value name="MOUSE_CURSOR_DEFAULT" integer="0" desc="Default pointer shape" />
  360. <Value name="MOUSE_CURSOR_ARROW" integer="1" desc="Arrow shape" />
  361. <Value name="MOUSE_CURSOR_IBEAM" integer="2" desc="Text writing cursor shape" />
  362. <Value name="MOUSE_CURSOR_CROSSHAIR" integer="3" desc="Cross shape" />
  363. <Value name="MOUSE_CURSOR_POINTING_HAND" integer="4" desc="Pointing hand cursor" />
  364. <Value name="MOUSE_CURSOR_RESIZE_EW" integer="5" desc="Horizontal resize/move arrow shape" />
  365. <Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="Vertical resize/move arrow shape" />
  366. <Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="Top-left to bottom-right diagonal resize/move arrow shape" />
  367. <Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="The top-right to bottom-left diagonal resize/move arrow shape" />
  368. <Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="The omni-directional resize/move cursor shape" />
  369. <Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="The operation-not-allowed shape" />
  370. </Enum>
  371. <Enum name="GamepadButton" valueCount="18" desc="Gamepad buttons">
  372. <Value name="GAMEPAD_BUTTON_UNKNOWN" integer="0" desc="Unknown button, just for error checking" />
  373. <Value name="GAMEPAD_BUTTON_LEFT_FACE_UP" integer="1" desc="Gamepad left DPAD up button" />
  374. <Value name="GAMEPAD_BUTTON_LEFT_FACE_RIGHT" integer="2" desc="Gamepad left DPAD right button" />
  375. <Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="Gamepad left DPAD down button" />
  376. <Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="Gamepad left DPAD left button" />
  377. <Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" />
  378. <Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="Gamepad right button right (i.e. PS3: Square, Xbox: X)" />
  379. <Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="Gamepad right button down (i.e. PS3: Cross, Xbox: A)" />
  380. <Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="Gamepad right button left (i.e. PS3: Circle, Xbox: B)" />
  381. <Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="Gamepad top/back trigger left (first), it could be a trailing button" />
  382. <Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="Gamepad top/back trigger left (second), it could be a trailing button" />
  383. <Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="Gamepad top/back trigger right (one), it could be a trailing button" />
  384. <Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_2" integer="12" desc="Gamepad top/back trigger right (second), it could be a trailing button" />
  385. <Value name="GAMEPAD_BUTTON_MIDDLE_LEFT" integer="13" desc="Gamepad center buttons, left one (i.e. PS3: Select)" />
  386. <Value name="GAMEPAD_BUTTON_MIDDLE" integer="14" desc="Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" />
  387. <Value name="GAMEPAD_BUTTON_MIDDLE_RIGHT" integer="15" desc="Gamepad center buttons, right one (i.e. PS3: Start)" />
  388. <Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="Gamepad joystick pressed button left" />
  389. <Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="Gamepad joystick pressed button right" />
  390. </Enum>
  391. <Enum name="GamepadAxis" valueCount="6" desc="Gamepad axis">
  392. <Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="Gamepad left stick X axis" />
  393. <Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="Gamepad left stick Y axis" />
  394. <Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="Gamepad right stick X axis" />
  395. <Value name="GAMEPAD_AXIS_RIGHT_Y" integer="3" desc="Gamepad right stick Y axis" />
  396. <Value name="GAMEPAD_AXIS_LEFT_TRIGGER" integer="4" desc="Gamepad back trigger left, pressure level: [1..-1]" />
  397. <Value name="GAMEPAD_AXIS_RIGHT_TRIGGER" integer="5" desc="Gamepad back trigger right, pressure level: [1..-1]" />
  398. </Enum>
  399. <Enum name="MaterialMapIndex" valueCount="11" desc="Material map index">
  400. <Value name="MATERIAL_MAP_ALBEDO" integer="0" desc="Albedo material (same as: MATERIAL_MAP_DIFFUSE)" />
  401. <Value name="MATERIAL_MAP_METALNESS" integer="1" desc="Metalness material (same as: MATERIAL_MAP_SPECULAR)" />
  402. <Value name="MATERIAL_MAP_NORMAL" integer="2" desc="Normal material" />
  403. <Value name="MATERIAL_MAP_ROUGHNESS" integer="3" desc="Roughness material" />
  404. <Value name="MATERIAL_MAP_OCCLUSION" integer="4" desc="Ambient occlusion material" />
  405. <Value name="MATERIAL_MAP_EMISSION" integer="5" desc="Emission material" />
  406. <Value name="MATERIAL_MAP_HEIGHT" integer="6" desc="Heightmap material" />
  407. <Value name="MATERIAL_MAP_CUBEMAP" integer="7" desc="Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
  408. <Value name="MATERIAL_MAP_IRRADIANCE" integer="8" desc="Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
  409. <Value name="MATERIAL_MAP_PREFILTER" integer="9" desc="Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
  410. <Value name="MATERIAL_MAP_BRDF" integer="10" desc="Brdf material" />
  411. </Enum>
  412. <Enum name="ShaderLocationIndex" valueCount="26" desc="Shader location index">
  413. <Value name="SHADER_LOC_VERTEX_POSITION" integer="0" desc="Shader location: vertex attribute: position" />
  414. <Value name="SHADER_LOC_VERTEX_TEXCOORD01" integer="1" desc="Shader location: vertex attribute: texcoord01" />
  415. <Value name="SHADER_LOC_VERTEX_TEXCOORD02" integer="2" desc="Shader location: vertex attribute: texcoord02" />
  416. <Value name="SHADER_LOC_VERTEX_NORMAL" integer="3" desc="Shader location: vertex attribute: normal" />
  417. <Value name="SHADER_LOC_VERTEX_TANGENT" integer="4" desc="Shader location: vertex attribute: tangent" />
  418. <Value name="SHADER_LOC_VERTEX_COLOR" integer="5" desc="Shader location: vertex attribute: color" />
  419. <Value name="SHADER_LOC_MATRIX_MVP" integer="6" desc="Shader location: matrix uniform: model-view-projection" />
  420. <Value name="SHADER_LOC_MATRIX_VIEW" integer="7" desc="Shader location: matrix uniform: view (camera transform)" />
  421. <Value name="SHADER_LOC_MATRIX_PROJECTION" integer="8" desc="Shader location: matrix uniform: projection" />
  422. <Value name="SHADER_LOC_MATRIX_MODEL" integer="9" desc="Shader location: matrix uniform: model (transform)" />
  423. <Value name="SHADER_LOC_MATRIX_NORMAL" integer="10" desc="Shader location: matrix uniform: normal" />
  424. <Value name="SHADER_LOC_VECTOR_VIEW" integer="11" desc="Shader location: vector uniform: view" />
  425. <Value name="SHADER_LOC_COLOR_DIFFUSE" integer="12" desc="Shader location: vector uniform: diffuse color" />
  426. <Value name="SHADER_LOC_COLOR_SPECULAR" integer="13" desc="Shader location: vector uniform: specular color" />
  427. <Value name="SHADER_LOC_COLOR_AMBIENT" integer="14" desc="Shader location: vector uniform: ambient color" />
  428. <Value name="SHADER_LOC_MAP_ALBEDO" integer="15" desc="Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" />
  429. <Value name="SHADER_LOC_MAP_METALNESS" integer="16" desc="Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" />
  430. <Value name="SHADER_LOC_MAP_NORMAL" integer="17" desc="Shader location: sampler2d texture: normal" />
  431. <Value name="SHADER_LOC_MAP_ROUGHNESS" integer="18" desc="Shader location: sampler2d texture: roughness" />
  432. <Value name="SHADER_LOC_MAP_OCCLUSION" integer="19" desc="Shader location: sampler2d texture: occlusion" />
  433. <Value name="SHADER_LOC_MAP_EMISSION" integer="20" desc="Shader location: sampler2d texture: emission" />
  434. <Value name="SHADER_LOC_MAP_HEIGHT" integer="21" desc="Shader location: sampler2d texture: height" />
  435. <Value name="SHADER_LOC_MAP_CUBEMAP" integer="22" desc="Shader location: samplerCube texture: cubemap" />
  436. <Value name="SHADER_LOC_MAP_IRRADIANCE" integer="23" desc="Shader location: samplerCube texture: irradiance" />
  437. <Value name="SHADER_LOC_MAP_PREFILTER" integer="24" desc="Shader location: samplerCube texture: prefilter" />
  438. <Value name="SHADER_LOC_MAP_BRDF" integer="25" desc="Shader location: sampler2d texture: brdf" />
  439. </Enum>
  440. <Enum name="ShaderUniformDataType" valueCount="9" desc="Shader uniform data type">
  441. <Value name="SHADER_UNIFORM_FLOAT" integer="0" desc="Shader uniform type: float" />
  442. <Value name="SHADER_UNIFORM_VEC2" integer="1" desc="Shader uniform type: vec2 (2 float)" />
  443. <Value name="SHADER_UNIFORM_VEC3" integer="2" desc="Shader uniform type: vec3 (3 float)" />
  444. <Value name="SHADER_UNIFORM_VEC4" integer="3" desc="Shader uniform type: vec4 (4 float)" />
  445. <Value name="SHADER_UNIFORM_INT" integer="4" desc="Shader uniform type: int" />
  446. <Value name="SHADER_UNIFORM_IVEC2" integer="5" desc="Shader uniform type: ivec2 (2 int)" />
  447. <Value name="SHADER_UNIFORM_IVEC3" integer="6" desc="Shader uniform type: ivec3 (3 int)" />
  448. <Value name="SHADER_UNIFORM_IVEC4" integer="7" desc="Shader uniform type: ivec4 (4 int)" />
  449. <Value name="SHADER_UNIFORM_SAMPLER2D" integer="8" desc="Shader uniform type: sampler2d" />
  450. </Enum>
  451. <Enum name="ShaderAttributeDataType" valueCount="4" desc="Shader attribute data types">
  452. <Value name="SHADER_ATTRIB_FLOAT" integer="0" desc="Shader attribute type: float" />
  453. <Value name="SHADER_ATTRIB_VEC2" integer="1" desc="Shader attribute type: vec2 (2 float)" />
  454. <Value name="SHADER_ATTRIB_VEC3" integer="2" desc="Shader attribute type: vec3 (3 float)" />
  455. <Value name="SHADER_ATTRIB_VEC4" integer="3" desc="Shader attribute type: vec4 (4 float)" />
  456. </Enum>
  457. <Enum name="PixelFormat" valueCount="21" desc="Pixel formats">
  458. <Value name="PIXELFORMAT_UNCOMPRESSED_GRAYSCALE" integer="1" desc="8 bit per pixel (no alpha)" />
  459. <Value name="PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA" integer="2" desc="8*2 bpp (2 channels)" />
  460. <Value name="PIXELFORMAT_UNCOMPRESSED_R5G6B5" integer="3" desc="16 bpp" />
  461. <Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8" integer="4" desc="24 bpp" />
  462. <Value name="PIXELFORMAT_UNCOMPRESSED_R5G5B5A1" integer="5" desc="16 bpp (1 bit alpha)" />
  463. <Value name="PIXELFORMAT_UNCOMPRESSED_R4G4B4A4" integer="6" desc="16 bpp (4 bit alpha)" />
  464. <Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8A8" integer="7" desc="32 bpp" />
  465. <Value name="PIXELFORMAT_UNCOMPRESSED_R32" integer="8" desc="32 bpp (1 channel - float)" />
  466. <Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32" integer="9" desc="32*3 bpp (3 channels - float)" />
  467. <Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32A32" integer="10" desc="32*4 bpp (4 channels - float)" />
  468. <Value name="PIXELFORMAT_COMPRESSED_DXT1_RGB" integer="11" desc="4 bpp (no alpha)" />
  469. <Value name="PIXELFORMAT_COMPRESSED_DXT1_RGBA" integer="12" desc="4 bpp (1 bit alpha)" />
  470. <Value name="PIXELFORMAT_COMPRESSED_DXT3_RGBA" integer="13" desc="8 bpp" />
  471. <Value name="PIXELFORMAT_COMPRESSED_DXT5_RGBA" integer="14" desc="8 bpp" />
  472. <Value name="PIXELFORMAT_COMPRESSED_ETC1_RGB" integer="15" desc="4 bpp" />
  473. <Value name="PIXELFORMAT_COMPRESSED_ETC2_RGB" integer="16" desc="4 bpp" />
  474. <Value name="PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA" integer="17" desc="8 bpp" />
  475. <Value name="PIXELFORMAT_COMPRESSED_PVRT_RGB" integer="18" desc="4 bpp" />
  476. <Value name="PIXELFORMAT_COMPRESSED_PVRT_RGBA" integer="19" desc="4 bpp" />
  477. <Value name="PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA" integer="20" desc="8 bpp" />
  478. <Value name="PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA" integer="21" desc="2 bpp" />
  479. </Enum>
  480. <Enum name="TextureFilter" valueCount="6" desc="Texture parameters: filter mode">
  481. <Value name="TEXTURE_FILTER_POINT" integer="0" desc="No filter, just pixel approximation" />
  482. <Value name="TEXTURE_FILTER_BILINEAR" integer="1" desc="Linear filtering" />
  483. <Value name="TEXTURE_FILTER_TRILINEAR" integer="2" desc="Trilinear filtering (linear with mipmaps)" />
  484. <Value name="TEXTURE_FILTER_ANISOTROPIC_4X" integer="3" desc="Anisotropic filtering 4x" />
  485. <Value name="TEXTURE_FILTER_ANISOTROPIC_8X" integer="4" desc="Anisotropic filtering 8x" />
  486. <Value name="TEXTURE_FILTER_ANISOTROPIC_16X" integer="5" desc="Anisotropic filtering 16x" />
  487. </Enum>
  488. <Enum name="TextureWrap" valueCount="4" desc="Texture parameters: wrap mode">
  489. <Value name="TEXTURE_WRAP_REPEAT" integer="0" desc="Repeats texture in tiled mode" />
  490. <Value name="TEXTURE_WRAP_CLAMP" integer="1" desc="Clamps texture to edge pixel in tiled mode" />
  491. <Value name="TEXTURE_WRAP_MIRROR_REPEAT" integer="2" desc="Mirrors and repeats the texture in tiled mode" />
  492. <Value name="TEXTURE_WRAP_MIRROR_CLAMP" integer="3" desc="Mirrors and clamps to border the texture in tiled mode" />
  493. </Enum>
  494. <Enum name="CubemapLayout" valueCount="6" desc="Cubemap layouts">
  495. <Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="Automatically detect layout type" />
  496. <Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="Layout is defined by a vertical line with faces" />
  497. <Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="Layout is defined by an horizontal line with faces" />
  498. <Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="Layout is defined by a 3x4 cross with cubemap faces" />
  499. <Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="Layout is defined by a 4x3 cross with cubemap faces" />
  500. <Value name="CUBEMAP_LAYOUT_PANORAMA" integer="5" desc="Layout is defined by a panorama image (equirectangular map)" />
  501. </Enum>
  502. <Enum name="FontType" valueCount="3" desc="Font type, defines generation method">
  503. <Value name="FONT_DEFAULT" integer="0" desc="Default font generation, anti-aliased" />
  504. <Value name="FONT_BITMAP" integer="1" desc="Bitmap font generation, no anti-aliasing" />
  505. <Value name="FONT_SDF" integer="2" desc="SDF font generation, requires external shader" />
  506. </Enum>
  507. <Enum name="BlendMode" valueCount="6" desc="Color blending modes (pre-defined)">
  508. <Value name="BLEND_ALPHA" integer="0" desc="Blend textures considering alpha (default)" />
  509. <Value name="BLEND_ADDITIVE" integer="1" desc="Blend textures adding colors" />
  510. <Value name="BLEND_MULTIPLIED" integer="2" desc="Blend textures multiplying colors" />
  511. <Value name="BLEND_ADD_COLORS" integer="3" desc="Blend textures adding colors (alternative)" />
  512. <Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="Blend textures subtracting colors (alternative)" />
  513. <Value name="BLEND_CUSTOM" integer="5" desc="Belnd textures using custom src/dst factors (use rlSetBlendMode())" />
  514. </Enum>
  515. <Enum name="Gesture" valueCount="11" desc="Gesture">
  516. <Value name="GESTURE_NONE" integer="0" desc="No gesture" />
  517. <Value name="GESTURE_TAP" integer="1" desc="Tap gesture" />
  518. <Value name="GESTURE_DOUBLETAP" integer="2" desc="Double tap gesture" />
  519. <Value name="GESTURE_HOLD" integer="4" desc="Hold gesture" />
  520. <Value name="GESTURE_DRAG" integer="8" desc="Drag gesture" />
  521. <Value name="GESTURE_SWIPE_RIGHT" integer="16" desc="Swipe right gesture" />
  522. <Value name="GESTURE_SWIPE_LEFT" integer="32" desc="Swipe left gesture" />
  523. <Value name="GESTURE_SWIPE_UP" integer="64" desc="Swipe up gesture" />
  524. <Value name="GESTURE_SWIPE_DOWN" integer="128" desc="Swipe down gesture" />
  525. <Value name="GESTURE_PINCH_IN" integer="256" desc="Pinch in gesture" />
  526. <Value name="GESTURE_PINCH_OUT" integer="512" desc="Pinch out gesture" />
  527. </Enum>
  528. <Enum name="CameraMode" valueCount="5" desc="Camera system modes">
  529. <Value name="CAMERA_CUSTOM" integer="0" desc="Custom camera" />
  530. <Value name="CAMERA_FREE" integer="1" desc="Free camera" />
  531. <Value name="CAMERA_ORBITAL" integer="2" desc="Orbital camera" />
  532. <Value name="CAMERA_FIRST_PERSON" integer="3" desc="First person camera" />
  533. <Value name="CAMERA_THIRD_PERSON" integer="4" desc="Third person camera" />
  534. </Enum>
  535. <Enum name="CameraProjection" valueCount="2" desc="Camera projection">
  536. <Value name="CAMERA_PERSPECTIVE" integer="0" desc="Perspective projection" />
  537. <Value name="CAMERA_ORTHOGRAPHIC" integer="1" desc="Orthographic projection" />
  538. </Enum>
  539. <Enum name="NPatchLayout" valueCount="3" desc="N-patch layout">
  540. <Value name="NPATCH_NINE_PATCH" integer="0" desc="Npatch layout: 3x3 tiles" />
  541. <Value name="NPATCH_THREE_PATCH_VERTICAL" integer="1" desc="Npatch layout: 1x3 tiles" />
  542. <Value name="NPATCH_THREE_PATCH_HORIZONTAL" integer="2" desc="Npatch layout: 3x1 tiles" />
  543. </Enum>
  544. </Enums>
  545. <Functions count="491">
  546. <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
  547. <Param type="int" name="width" desc="" />
  548. <Param type="int" name="height" desc="" />
  549. <Param type="const char *" name="title" desc="" />
  550. </Function>
  551. <Function name="WindowShouldClose" retType="bool" paramCount="0" desc="Check if KEY_ESCAPE pressed or Close icon pressed">
  552. </Function>
  553. <Function name="CloseWindow" retType="void" paramCount="0" desc="Close window and unload OpenGL context">
  554. </Function>
  555. <Function name="IsWindowReady" retType="bool" paramCount="0" desc="Check if window has been initialized successfully">
  556. </Function>
  557. <Function name="IsWindowFullscreen" retType="bool" paramCount="0" desc="Check if window is currently fullscreen">
  558. </Function>
  559. <Function name="IsWindowHidden" retType="bool" paramCount="0" desc="Check if window is currently hidden (only PLATFORM_DESKTOP)">
  560. </Function>
  561. <Function name="IsWindowMinimized" retType="bool" paramCount="0" desc="Check if window is currently minimized (only PLATFORM_DESKTOP)">
  562. </Function>
  563. <Function name="IsWindowMaximized" retType="bool" paramCount="0" desc="Check if window is currently maximized (only PLATFORM_DESKTOP)">
  564. </Function>
  565. <Function name="IsWindowFocused" retType="bool" paramCount="0" desc="Check if window is currently focused (only PLATFORM_DESKTOP)">
  566. </Function>
  567. <Function name="IsWindowResized" retType="bool" paramCount="0" desc="Check if window has been resized last frame">
  568. </Function>
  569. <Function name="IsWindowState" retType="bool" paramCount="1" desc="Check if one specific window flag is enabled">
  570. <Param type="unsigned int" name="flag" desc="" />
  571. </Function>
  572. <Function name="SetWindowState" retType="void" paramCount="1" desc="Set window configuration state using flags (only PLATFORM_DESKTOP)">
  573. <Param type="unsigned int" name="flags" desc="" />
  574. </Function>
  575. <Function name="ClearWindowState" retType="void" paramCount="1" desc="Clear window configuration state flags">
  576. <Param type="unsigned int" name="flags" desc="" />
  577. </Function>
  578. <Function name="ToggleFullscreen" retType="void" paramCount="0" desc="Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)">
  579. </Function>
  580. <Function name="MaximizeWindow" retType="void" paramCount="0" desc="Set window state: maximized, if resizable (only PLATFORM_DESKTOP)">
  581. </Function>
  582. <Function name="MinimizeWindow" retType="void" paramCount="0" desc="Set window state: minimized, if resizable (only PLATFORM_DESKTOP)">
  583. </Function>
  584. <Function name="RestoreWindow" retType="void" paramCount="0" desc="Set window state: not minimized/maximized (only PLATFORM_DESKTOP)">
  585. </Function>
  586. <Function name="SetWindowIcon" retType="void" paramCount="1" desc="Set icon for window (only PLATFORM_DESKTOP)">
  587. <Param type="Image" name="image" desc="" />
  588. </Function>
  589. <Function name="SetWindowTitle" retType="void" paramCount="1" desc="Set title for window (only PLATFORM_DESKTOP)">
  590. <Param type="const char *" name="title" desc="" />
  591. </Function>
  592. <Function name="SetWindowPosition" retType="void" paramCount="2" desc="Set window position on screen (only PLATFORM_DESKTOP)">
  593. <Param type="int" name="x" desc="" />
  594. <Param type="int" name="y" desc="" />
  595. </Function>
  596. <Function name="SetWindowMonitor" retType="void" paramCount="1" desc="Set monitor for the current window (fullscreen mode)">
  597. <Param type="int" name="monitor" desc="" />
  598. </Function>
  599. <Function name="SetWindowMinSize" retType="void" paramCount="2" desc="Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)">
  600. <Param type="int" name="width" desc="" />
  601. <Param type="int" name="height" desc="" />
  602. </Function>
  603. <Function name="SetWindowSize" retType="void" paramCount="2" desc="Set window dimensions">
  604. <Param type="int" name="width" desc="" />
  605. <Param type="int" name="height" desc="" />
  606. </Function>
  607. <Function name="SetWindowOpacity" retType="void" paramCount="1" desc="Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)">
  608. <Param type="float" name="opacity" desc="" />
  609. </Function>
  610. <Function name="GetWindowHandle" retType="void *" paramCount="0" desc="Get native window handle">
  611. </Function>
  612. <Function name="GetScreenWidth" retType="int" paramCount="0" desc="Get current screen width">
  613. </Function>
  614. <Function name="GetScreenHeight" retType="int" paramCount="0" desc="Get current screen height">
  615. </Function>
  616. <Function name="GetRenderWidth" retType="int" paramCount="0" desc="Get current render width (it considers HiDPI)">
  617. </Function>
  618. <Function name="GetRenderHeight" retType="int" paramCount="0" desc="Get current render height (it considers HiDPI)">
  619. </Function>
  620. <Function name="GetMonitorCount" retType="int" paramCount="0" desc="Get number of connected monitors">
  621. </Function>
  622. <Function name="GetCurrentMonitor" retType="int" paramCount="0" desc="Get current connected monitor">
  623. </Function>
  624. <Function name="GetMonitorPosition" retType="Vector2" paramCount="1" desc="Get specified monitor position">
  625. <Param type="int" name="monitor" desc="" />
  626. </Function>
  627. <Function name="GetMonitorWidth" retType="int" paramCount="1" desc="Get specified monitor width (max available by monitor)">
  628. <Param type="int" name="monitor" desc="" />
  629. </Function>
  630. <Function name="GetMonitorHeight" retType="int" paramCount="1" desc="Get specified monitor height (max available by monitor)">
  631. <Param type="int" name="monitor" desc="" />
  632. </Function>
  633. <Function name="GetMonitorPhysicalWidth" retType="int" paramCount="1" desc="Get specified monitor physical width in millimetres">
  634. <Param type="int" name="monitor" desc="" />
  635. </Function>
  636. <Function name="GetMonitorPhysicalHeight" retType="int" paramCount="1" desc="Get specified monitor physical height in millimetres">
  637. <Param type="int" name="monitor" desc="" />
  638. </Function>
  639. <Function name="GetMonitorRefreshRate" retType="int" paramCount="1" desc="Get specified monitor refresh rate">
  640. <Param type="int" name="monitor" desc="" />
  641. </Function>
  642. <Function name="GetWindowPosition" retType="Vector2" paramCount="0" desc="Get window position XY on monitor">
  643. </Function>
  644. <Function name="GetWindowScaleDPI" retType="Vector2" paramCount="0" desc="Get window scale DPI factor">
  645. </Function>
  646. <Function name="GetMonitorName" retType="const char *" paramCount="1" desc="Get the human-readable, UTF-8 encoded name of the primary monitor">
  647. <Param type="int" name="monitor" desc="" />
  648. </Function>
  649. <Function name="SetClipboardText" retType="void" paramCount="1" desc="Set clipboard text content">
  650. <Param type="const char *" name="text" desc="" />
  651. </Function>
  652. <Function name="GetClipboardText" retType="const char *" paramCount="0" desc="Get clipboard text content">
  653. </Function>
  654. <Function name="SwapScreenBuffer" retType="void" paramCount="0" desc="Swap back buffer with front buffer (screen drawing)">
  655. </Function>
  656. <Function name="PollInputEvents" retType="void" paramCount="0" desc="Register all input events">
  657. </Function>
  658. <Function name="WaitTime" retType="void" paramCount="1" desc="Wait for some milliseconds (halt program execution)">
  659. <Param type="float" name="ms" desc="" />
  660. </Function>
  661. <Function name="ShowCursor" retType="void" paramCount="0" desc="Shows cursor">
  662. </Function>
  663. <Function name="HideCursor" retType="void" paramCount="0" desc="Hides cursor">
  664. </Function>
  665. <Function name="IsCursorHidden" retType="bool" paramCount="0" desc="Check if cursor is not visible">
  666. </Function>
  667. <Function name="EnableCursor" retType="void" paramCount="0" desc="Enables cursor (unlock cursor)">
  668. </Function>
  669. <Function name="DisableCursor" retType="void" paramCount="0" desc="Disables cursor (lock cursor)">
  670. </Function>
  671. <Function name="IsCursorOnScreen" retType="bool" paramCount="0" desc="Check if cursor is on the screen">
  672. </Function>
  673. <Function name="ClearBackground" retType="void" paramCount="1" desc="Set background color (framebuffer clear color)">
  674. <Param type="Color" name="color" desc="" />
  675. </Function>
  676. <Function name="BeginDrawing" retType="void" paramCount="0" desc="Setup canvas (framebuffer) to start drawing">
  677. </Function>
  678. <Function name="EndDrawing" retType="void" paramCount="0" desc="End canvas drawing and swap buffers (double buffering)">
  679. </Function>
  680. <Function name="BeginMode2D" retType="void" paramCount="1" desc="Begin 2D mode with custom camera (2D)">
  681. <Param type="Camera2D" name="camera" desc="" />
  682. </Function>
  683. <Function name="EndMode2D" retType="void" paramCount="0" desc="Ends 2D mode with custom camera">
  684. </Function>
  685. <Function name="BeginMode3D" retType="void" paramCount="1" desc="Begin 3D mode with custom camera (3D)">
  686. <Param type="Camera3D" name="camera" desc="" />
  687. </Function>
  688. <Function name="EndMode3D" retType="void" paramCount="0" desc="Ends 3D mode and returns to default 2D orthographic mode">
  689. </Function>
  690. <Function name="BeginTextureMode" retType="void" paramCount="1" desc="Begin drawing to render texture">
  691. <Param type="RenderTexture2D" name="target" desc="" />
  692. </Function>
  693. <Function name="EndTextureMode" retType="void" paramCount="0" desc="Ends drawing to render texture">
  694. </Function>
  695. <Function name="BeginShaderMode" retType="void" paramCount="1" desc="Begin custom shader drawing">
  696. <Param type="Shader" name="shader" desc="" />
  697. </Function>
  698. <Function name="EndShaderMode" retType="void" paramCount="0" desc="End custom shader drawing (use default shader)">
  699. </Function>
  700. <Function name="BeginBlendMode" retType="void" paramCount="1" desc="Begin blending mode (alpha, additive, multiplied, subtract, custom)">
  701. <Param type="int" name="mode" desc="" />
  702. </Function>
  703. <Function name="EndBlendMode" retType="void" paramCount="0" desc="End blending mode (reset to default: alpha blending)">
  704. </Function>
  705. <Function name="BeginScissorMode" retType="void" paramCount="4" desc="Begin scissor mode (define screen area for following drawing)">
  706. <Param type="int" name="x" desc="" />
  707. <Param type="int" name="y" desc="" />
  708. <Param type="int" name="width" desc="" />
  709. <Param type="int" name="height" desc="" />
  710. </Function>
  711. <Function name="EndScissorMode" retType="void" paramCount="0" desc="End scissor mode">
  712. </Function>
  713. <Function name="BeginVrStereoMode" retType="void" paramCount="1" desc="Begin stereo rendering (requires VR simulator)">
  714. <Param type="VrStereoConfig" name="config" desc="" />
  715. </Function>
  716. <Function name="EndVrStereoMode" retType="void" paramCount="0" desc="End stereo rendering (requires VR simulator)">
  717. </Function>
  718. <Function name="LoadVrStereoConfig" retType="VrStereoConfig" paramCount="1" desc="Load VR stereo config for VR simulator device parameters">
  719. <Param type="VrDeviceInfo" name="device" desc="" />
  720. </Function>
  721. <Function name="UnloadVrStereoConfig" retType="void" paramCount="1" desc="Unload VR stereo config">
  722. <Param type="VrStereoConfig" name="config" desc="" />
  723. </Function>
  724. <Function name="LoadShader" retType="Shader" paramCount="2" desc="Load shader from files and bind default locations">
  725. <Param type="const char *" name="vsFileName" desc="" />
  726. <Param type="const char *" name="fsFileName" desc="" />
  727. </Function>
  728. <Function name="LoadShaderFromMemory" retType="Shader" paramCount="2" desc="Load shader from code strings and bind default locations">
  729. <Param type="const char *" name="vsCode" desc="" />
  730. <Param type="const char *" name="fsCode" desc="" />
  731. </Function>
  732. <Function name="GetShaderLocation" retType="int" paramCount="2" desc="Get shader uniform location">
  733. <Param type="Shader" name="shader" desc="" />
  734. <Param type="const char *" name="uniformName" desc="" />
  735. </Function>
  736. <Function name="GetShaderLocationAttrib" retType="int" paramCount="2" desc="Get shader attribute location">
  737. <Param type="Shader" name="shader" desc="" />
  738. <Param type="const char *" name="attribName" desc="" />
  739. </Function>
  740. <Function name="SetShaderValue" retType="void" paramCount="4" desc="Set shader uniform value">
  741. <Param type="Shader" name="shader" desc="" />
  742. <Param type="int" name="locIndex" desc="" />
  743. <Param type="const void *" name="value" desc="" />
  744. <Param type="int" name="uniformType" desc="" />
  745. </Function>
  746. <Function name="SetShaderValueV" retType="void" paramCount="5" desc="Set shader uniform value vector">
  747. <Param type="Shader" name="shader" desc="" />
  748. <Param type="int" name="locIndex" desc="" />
  749. <Param type="const void *" name="value" desc="" />
  750. <Param type="int" name="uniformType" desc="" />
  751. <Param type="int" name="count" desc="" />
  752. </Function>
  753. <Function name="SetShaderValueMatrix" retType="void" paramCount="3" desc="Set shader uniform value (matrix 4x4)">
  754. <Param type="Shader" name="shader" desc="" />
  755. <Param type="int" name="locIndex" desc="" />
  756. <Param type="Matrix" name="mat" desc="" />
  757. </Function>
  758. <Function name="SetShaderValueTexture" retType="void" paramCount="3" desc="Set shader uniform value for texture (sampler2d)">
  759. <Param type="Shader" name="shader" desc="" />
  760. <Param type="int" name="locIndex" desc="" />
  761. <Param type="Texture2D" name="texture" desc="" />
  762. </Function>
  763. <Function name="UnloadShader" retType="void" paramCount="1" desc="Unload shader from GPU memory (VRAM)">
  764. <Param type="Shader" name="shader" desc="" />
  765. </Function>
  766. <Function name="GetMouseRay" retType="Ray" paramCount="2" desc="Get a ray trace from mouse position">
  767. <Param type="Vector2" name="mousePosition" desc="" />
  768. <Param type="Camera" name="camera" desc="" />
  769. </Function>
  770. <Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)">
  771. <Param type="Camera" name="camera" desc="" />
  772. </Function>
  773. <Function name="GetCameraMatrix2D" retType="Matrix" paramCount="1" desc="Get camera 2d transform matrix">
  774. <Param type="Camera2D" name="camera" desc="" />
  775. </Function>
  776. <Function name="GetWorldToScreen" retType="Vector2" paramCount="2" desc="Get the screen space position for a 3d world space position">
  777. <Param type="Vector3" name="position" desc="" />
  778. <Param type="Camera" name="camera" desc="" />
  779. </Function>
  780. <Function name="GetWorldToScreenEx" retType="Vector2" paramCount="4" desc="Get size position for a 3d world space position">
  781. <Param type="Vector3" name="position" desc="" />
  782. <Param type="Camera" name="camera" desc="" />
  783. <Param type="int" name="width" desc="" />
  784. <Param type="int" name="height" desc="" />
  785. </Function>
  786. <Function name="GetWorldToScreen2D" retType="Vector2" paramCount="2" desc="Get the screen space position for a 2d camera world space position">
  787. <Param type="Vector2" name="position" desc="" />
  788. <Param type="Camera2D" name="camera" desc="" />
  789. </Function>
  790. <Function name="GetScreenToWorld2D" retType="Vector2" paramCount="2" desc="Get the world space position for a 2d camera screen space position">
  791. <Param type="Vector2" name="position" desc="" />
  792. <Param type="Camera2D" name="camera" desc="" />
  793. </Function>
  794. <Function name="SetTargetFPS" retType="void" paramCount="1" desc="Set target FPS (maximum)">
  795. <Param type="int" name="fps" desc="" />
  796. </Function>
  797. <Function name="GetFPS" retType="int" paramCount="0" desc="Get current FPS">
  798. </Function>
  799. <Function name="GetFrameTime" retType="float" paramCount="0" desc="Get time in seconds for last frame drawn (delta time)">
  800. </Function>
  801. <Function name="GetTime" retType="double" paramCount="0" desc="Get elapsed time in seconds since InitWindow()">
  802. </Function>
  803. <Function name="GetRandomValue" retType="int" paramCount="2" desc="Get a random value between min and max (both included)">
  804. <Param type="int" name="min" desc="" />
  805. <Param type="int" name="max" desc="" />
  806. </Function>
  807. <Function name="SetRandomSeed" retType="void" paramCount="1" desc="Set the seed for the random number generator">
  808. <Param type="unsigned int" name="seed" desc="" />
  809. </Function>
  810. <Function name="TakeScreenshot" retType="void" paramCount="1" desc="Takes a screenshot of current screen (filename extension defines format)">
  811. <Param type="const char *" name="fileName" desc="" />
  812. </Function>
  813. <Function name="SetConfigFlags" retType="void" paramCount="1" desc="Setup init configuration flags (view FLAGS)">
  814. <Param type="unsigned int" name="flags" desc="" />
  815. </Function>
  816. <Function name="TraceLog" retType="void" paramCount="3" desc="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)">
  817. <Param type="int" name="logLevel" desc="" />
  818. <Param type="const char *" name="text" desc="" />
  819. <Param type="" name="" desc="" />
  820. </Function>
  821. <Function name="SetTraceLogLevel" retType="void" paramCount="1" desc="Set the current threshold (minimum) log level">
  822. <Param type="int" name="logLevel" desc="" />
  823. </Function>
  824. <Function name="MemAlloc" retType="void *" paramCount="1" desc="Internal memory allocator">
  825. <Param type="int" name="size" desc="" />
  826. </Function>
  827. <Function name="MemRealloc" retType="void *" paramCount="2" desc="Internal memory reallocator">
  828. <Param type="void *" name="ptr" desc="" />
  829. <Param type="int" name="size" desc="" />
  830. </Function>
  831. <Function name="MemFree" retType="void" paramCount="1" desc="Internal memory free">
  832. <Param type="void *" name="ptr" desc="" />
  833. </Function>
  834. <Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log">
  835. <Param type="TraceLogCallback" name="callback" desc="" />
  836. </Function>
  837. <Function name="SetLoadFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data loader">
  838. <Param type="LoadFileDataCallback" name="callback" desc="" />
  839. </Function>
  840. <Function name="SetSaveFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data saver">
  841. <Param type="SaveFileDataCallback" name="callback" desc="" />
  842. </Function>
  843. <Function name="SetLoadFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data loader">
  844. <Param type="LoadFileTextCallback" name="callback" desc="" />
  845. </Function>
  846. <Function name="SetSaveFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data saver">
  847. <Param type="SaveFileTextCallback" name="callback" desc="" />
  848. </Function>
  849. <Function name="LoadFileData" retType="unsigned char *" paramCount="2" desc="Load file data as byte array (read)">
  850. <Param type="const char *" name="fileName" desc="" />
  851. <Param type="unsigned int *" name="bytesRead" desc="" />
  852. </Function>
  853. <Function name="UnloadFileData" retType="void" paramCount="1" desc="Unload file data allocated by LoadFileData()">
  854. <Param type="unsigned char *" name="data" desc="" />
  855. </Function>
  856. <Function name="SaveFileData" retType="bool" paramCount="3" desc="Save data to file from byte array (write), returns true on success">
  857. <Param type="const char *" name="fileName" desc="" />
  858. <Param type="void *" name="data" desc="" />
  859. <Param type="unsigned int" name="bytesToWrite" desc="" />
  860. </Function>
  861. <Function name="LoadFileText" retType="char *" paramCount="1" desc="Load text data from file (read), returns a '\0' terminated string">
  862. <Param type="const char *" name="fileName" desc="" />
  863. </Function>
  864. <Function name="UnloadFileText" retType="void" paramCount="1" desc="Unload file text data allocated by LoadFileText()">
  865. <Param type="char *" name="text" desc="" />
  866. </Function>
  867. <Function name="SaveFileText" retType="bool" paramCount="2" desc="Save text data to file (write), string must be '\0' terminated, returns true on success">
  868. <Param type="const char *" name="fileName" desc="" />
  869. <Param type="char *" name="text" desc="" />
  870. </Function>
  871. <Function name="FileExists" retType="bool" paramCount="1" desc="Check if file exists">
  872. <Param type="const char *" name="fileName" desc="" />
  873. </Function>
  874. <Function name="DirectoryExists" retType="bool" paramCount="1" desc="Check if a directory path exists">
  875. <Param type="const char *" name="dirPath" desc="" />
  876. </Function>
  877. <Function name="IsFileExtension" retType="bool" paramCount="2" desc="Check file extension (including point: .png, .wav)">
  878. <Param type="const char *" name="fileName" desc="" />
  879. <Param type="const char *" name="ext" desc="" />
  880. </Function>
  881. <Function name="GetFileExtension" retType="const char *" paramCount="1" desc="Get pointer to extension for a filename string (includes dot: '.png')">
  882. <Param type="const char *" name="fileName" desc="" />
  883. </Function>
  884. <Function name="GetFileName" retType="const char *" paramCount="1" desc="Get pointer to filename for a path string">
  885. <Param type="const char *" name="filePath" desc="" />
  886. </Function>
  887. <Function name="GetFileNameWithoutExt" retType="const char *" paramCount="1" desc="Get filename string without extension (uses static string)">
  888. <Param type="const char *" name="filePath" desc="" />
  889. </Function>
  890. <Function name="GetDirectoryPath" retType="const char *" paramCount="1" desc="Get full path for a given fileName with path (uses static string)">
  891. <Param type="const char *" name="filePath" desc="" />
  892. </Function>
  893. <Function name="GetPrevDirectoryPath" retType="const char *" paramCount="1" desc="Get previous directory path for a given path (uses static string)">
  894. <Param type="const char *" name="dirPath" desc="" />
  895. </Function>
  896. <Function name="GetWorkingDirectory" retType="const char *" paramCount="0" desc="Get current working directory (uses static string)">
  897. </Function>
  898. <Function name="GetDirectoryFiles" retType="char **" paramCount="2" desc="Get filenames in a directory path (memory should be freed)">
  899. <Param type="const char *" name="dirPath" desc="" />
  900. <Param type="int *" name="count" desc="" />
  901. </Function>
  902. <Function name="ClearDirectoryFiles" retType="void" paramCount="0" desc="Clear directory files paths buffers (free memory)">
  903. </Function>
  904. <Function name="ChangeDirectory" retType="bool" paramCount="1" desc="Change working directory, return true on success">
  905. <Param type="const char *" name="dir" desc="" />
  906. </Function>
  907. <Function name="IsFileDropped" retType="bool" paramCount="0" desc="Check if a file has been dropped into window">
  908. </Function>
  909. <Function name="GetDroppedFiles" retType="char **" paramCount="1" desc="Get dropped files names (memory should be freed)">
  910. <Param type="int *" name="count" desc="" />
  911. </Function>
  912. <Function name="ClearDroppedFiles" retType="void" paramCount="0" desc="Clear dropped files paths buffer (free memory)">
  913. </Function>
  914. <Function name="GetFileModTime" retType="long" paramCount="1" desc="Get file modification time (last write time)">
  915. <Param type="const char *" name="fileName" desc="" />
  916. </Function>
  917. <Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm)">
  918. <Param type="unsigned char *" name="data" desc="" />
  919. <Param type="int" name="dataLength" desc="" />
  920. <Param type="int *" name="compDataLength" desc="" />
  921. </Function>
  922. <Function name="DecompressData" retType="unsigned char *" paramCount="3" desc="Decompress data (DEFLATE algorithm)">
  923. <Param type="unsigned char *" name="compData" desc="" />
  924. <Param type="int" name="compDataLength" desc="" />
  925. <Param type="int *" name="dataLength" desc="" />
  926. </Function>
  927. <Function name="EncodeDataBase64" retType="char *" paramCount="3" desc="Encode data to Base64 string">
  928. <Param type="const unsigned char *" name="data" desc="" />
  929. <Param type="int" name="dataLength" desc="" />
  930. <Param type="int *" name="outputLength" desc="" />
  931. </Function>
  932. <Function name="DecodeDataBase64" retType="unsigned char *" paramCount="2" desc="Decode Base64 string data">
  933. <Param type="unsigned char *" name="data" desc="" />
  934. <Param type="int *" name="outputLength" desc="" />
  935. </Function>
  936. <Function name="SaveStorageValue" retType="bool" paramCount="2" desc="Save integer value to storage file (to defined position), returns true on success">
  937. <Param type="unsigned int" name="position" desc="" />
  938. <Param type="int" name="value" desc="" />
  939. </Function>
  940. <Function name="LoadStorageValue" retType="int" paramCount="1" desc="Load integer value from storage file (from defined position)">
  941. <Param type="unsigned int" name="position" desc="" />
  942. </Function>
  943. <Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)">
  944. <Param type="const char *" name="url" desc="" />
  945. </Function>
  946. <Function name="IsKeyPressed" retType="bool" paramCount="1" desc="Check if a key has been pressed once">
  947. <Param type="int" name="key" desc="" />
  948. </Function>
  949. <Function name="IsKeyDown" retType="bool" paramCount="1" desc="Check if a key is being pressed">
  950. <Param type="int" name="key" desc="" />
  951. </Function>
  952. <Function name="IsKeyReleased" retType="bool" paramCount="1" desc="Check if a key has been released once">
  953. <Param type="int" name="key" desc="" />
  954. </Function>
  955. <Function name="IsKeyUp" retType="bool" paramCount="1" desc="Check if a key is NOT being pressed">
  956. <Param type="int" name="key" desc="" />
  957. </Function>
  958. <Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
  959. <Param type="int" name="key" desc="" />
  960. </Function>
  961. <Function name="GetKeyPressed" retType="int" paramCount="0" desc="Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty">
  962. </Function>
  963. <Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty">
  964. </Function>
  965. <Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">
  966. <Param type="int" name="gamepad" desc="" />
  967. </Function>
  968. <Function name="GetGamepadName" retType="const char *" paramCount="1" desc="Get gamepad internal name id">
  969. <Param type="int" name="gamepad" desc="" />
  970. </Function>
  971. <Function name="IsGamepadButtonPressed" retType="bool" paramCount="2" desc="Check if a gamepad button has been pressed once">
  972. <Param type="int" name="gamepad" desc="" />
  973. <Param type="int" name="button" desc="" />
  974. </Function>
  975. <Function name="IsGamepadButtonDown" retType="bool" paramCount="2" desc="Check if a gamepad button is being pressed">
  976. <Param type="int" name="gamepad" desc="" />
  977. <Param type="int" name="button" desc="" />
  978. </Function>
  979. <Function name="IsGamepadButtonReleased" retType="bool" paramCount="2" desc="Check if a gamepad button has been released once">
  980. <Param type="int" name="gamepad" desc="" />
  981. <Param type="int" name="button" desc="" />
  982. </Function>
  983. <Function name="IsGamepadButtonUp" retType="bool" paramCount="2" desc="Check if a gamepad button is NOT being pressed">
  984. <Param type="int" name="gamepad" desc="" />
  985. <Param type="int" name="button" desc="" />
  986. </Function>
  987. <Function name="GetGamepadButtonPressed" retType="int" paramCount="0" desc="Get the last gamepad button pressed">
  988. </Function>
  989. <Function name="GetGamepadAxisCount" retType="int" paramCount="1" desc="Get gamepad axis count for a gamepad">
  990. <Param type="int" name="gamepad" desc="" />
  991. </Function>
  992. <Function name="GetGamepadAxisMovement" retType="float" paramCount="2" desc="Get axis movement value for a gamepad axis">
  993. <Param type="int" name="gamepad" desc="" />
  994. <Param type="int" name="axis" desc="" />
  995. </Function>
  996. <Function name="SetGamepadMappings" retType="int" paramCount="1" desc="Set internal gamepad mappings (SDL_GameControllerDB)">
  997. <Param type="const char *" name="mappings" desc="" />
  998. </Function>
  999. <Function name="IsMouseButtonPressed" retType="bool" paramCount="1" desc="Check if a mouse button has been pressed once">
  1000. <Param type="int" name="button" desc="" />
  1001. </Function>
  1002. <Function name="IsMouseButtonDown" retType="bool" paramCount="1" desc="Check if a mouse button is being pressed">
  1003. <Param type="int" name="button" desc="" />
  1004. </Function>
  1005. <Function name="IsMouseButtonReleased" retType="bool" paramCount="1" desc="Check if a mouse button has been released once">
  1006. <Param type="int" name="button" desc="" />
  1007. </Function>
  1008. <Function name="IsMouseButtonUp" retType="bool" paramCount="1" desc="Check if a mouse button is NOT being pressed">
  1009. <Param type="int" name="button" desc="" />
  1010. </Function>
  1011. <Function name="GetMouseX" retType="int" paramCount="0" desc="Get mouse position X">
  1012. </Function>
  1013. <Function name="GetMouseY" retType="int" paramCount="0" desc="Get mouse position Y">
  1014. </Function>
  1015. <Function name="GetMousePosition" retType="Vector2" paramCount="0" desc="Get mouse position XY">
  1016. </Function>
  1017. <Function name="GetMouseDelta" retType="Vector2" paramCount="0" desc="Get mouse delta between frames">
  1018. </Function>
  1019. <Function name="SetMousePosition" retType="void" paramCount="2" desc="Set mouse position XY">
  1020. <Param type="int" name="x" desc="" />
  1021. <Param type="int" name="y" desc="" />
  1022. </Function>
  1023. <Function name="SetMouseOffset" retType="void" paramCount="2" desc="Set mouse offset">
  1024. <Param type="int" name="offsetX" desc="" />
  1025. <Param type="int" name="offsetY" desc="" />
  1026. </Function>
  1027. <Function name="SetMouseScale" retType="void" paramCount="2" desc="Set mouse scaling">
  1028. <Param type="float" name="scaleX" desc="" />
  1029. <Param type="float" name="scaleY" desc="" />
  1030. </Function>
  1031. <Function name="GetMouseWheelMove" retType="float" paramCount="0" desc="Get mouse wheel movement Y">
  1032. </Function>
  1033. <Function name="SetMouseCursor" retType="void" paramCount="1" desc="Set mouse cursor">
  1034. <Param type="int" name="cursor" desc="" />
  1035. </Function>
  1036. <Function name="GetTouchX" retType="int" paramCount="0" desc="Get touch position X for touch point 0 (relative to screen size)">
  1037. </Function>
  1038. <Function name="GetTouchY" retType="int" paramCount="0" desc="Get touch position Y for touch point 0 (relative to screen size)">
  1039. </Function>
  1040. <Function name="GetTouchPosition" retType="Vector2" paramCount="1" desc="Get touch position XY for a touch point index (relative to screen size)">
  1041. <Param type="int" name="index" desc="" />
  1042. </Function>
  1043. <Function name="GetTouchPointId" retType="int" paramCount="1" desc="Get touch point identifier for given index">
  1044. <Param type="int" name="index" desc="" />
  1045. </Function>
  1046. <Function name="GetTouchPointCount" retType="int" paramCount="0" desc="Get number of touch points">
  1047. </Function>
  1048. <Function name="SetGesturesEnabled" retType="void" paramCount="1" desc="Enable a set of gestures using flags">
  1049. <Param type="unsigned int" name="flags" desc="" />
  1050. </Function>
  1051. <Function name="IsGestureDetected" retType="bool" paramCount="1" desc="Check if a gesture have been detected">
  1052. <Param type="int" name="gesture" desc="" />
  1053. </Function>
  1054. <Function name="GetGestureDetected" retType="int" paramCount="0" desc="Get latest detected gesture">
  1055. </Function>
  1056. <Function name="GetGestureHoldDuration" retType="float" paramCount="0" desc="Get gesture hold time in milliseconds">
  1057. </Function>
  1058. <Function name="GetGestureDragVector" retType="Vector2" paramCount="0" desc="Get gesture drag vector">
  1059. </Function>
  1060. <Function name="GetGestureDragAngle" retType="float" paramCount="0" desc="Get gesture drag angle">
  1061. </Function>
  1062. <Function name="GetGesturePinchVector" retType="Vector2" paramCount="0" desc="Get gesture pinch delta">
  1063. </Function>
  1064. <Function name="GetGesturePinchAngle" retType="float" paramCount="0" desc="Get gesture pinch angle">
  1065. </Function>
  1066. <Function name="SetCameraMode" retType="void" paramCount="2" desc="Set camera mode (multiple camera modes available)">
  1067. <Param type="Camera" name="camera" desc="" />
  1068. <Param type="int" name="mode" desc="" />
  1069. </Function>
  1070. <Function name="UpdateCamera" retType="void" paramCount="1" desc="Update camera position for selected mode">
  1071. <Param type="Camera *" name="camera" desc="" />
  1072. </Function>
  1073. <Function name="SetCameraPanControl" retType="void" paramCount="1" desc="Set camera pan key to combine with mouse movement (free camera)">
  1074. <Param type="int" name="keyPan" desc="" />
  1075. </Function>
  1076. <Function name="SetCameraAltControl" retType="void" paramCount="1" desc="Set camera alt key to combine with mouse movement (free camera)">
  1077. <Param type="int" name="keyAlt" desc="" />
  1078. </Function>
  1079. <Function name="SetCameraSmoothZoomControl" retType="void" paramCount="1" desc="Set camera smooth zoom key to combine with mouse (free camera)">
  1080. <Param type="int" name="keySmoothZoom" desc="" />
  1081. </Function>
  1082. <Function name="SetCameraMoveControls" retType="void" paramCount="6" desc="Set camera move controls (1st person and 3rd person cameras)">
  1083. <Param type="int" name="keyFront" desc="" />
  1084. <Param type="int" name="keyBack" desc="" />
  1085. <Param type="int" name="keyRight" desc="" />
  1086. <Param type="int" name="keyLeft" desc="" />
  1087. <Param type="int" name="keyUp" desc="" />
  1088. <Param type="int" name="keyDown" desc="" />
  1089. </Function>
  1090. <Function name="SetShapesTexture" retType="void" paramCount="2" desc="Set texture and rectangle to be used on shapes drawing">
  1091. <Param type="Texture2D" name="texture" desc="" />
  1092. <Param type="Rectangle" name="source" desc="" />
  1093. </Function>
  1094. <Function name="DrawPixel" retType="void" paramCount="3" desc="Draw a pixel">
  1095. <Param type="int" name="posX" desc="" />
  1096. <Param type="int" name="posY" desc="" />
  1097. <Param type="Color" name="color" desc="" />
  1098. </Function>
  1099. <Function name="DrawPixelV" retType="void" paramCount="2" desc="Draw a pixel (Vector version)">
  1100. <Param type="Vector2" name="position" desc="" />
  1101. <Param type="Color" name="color" desc="" />
  1102. </Function>
  1103. <Function name="DrawLine" retType="void" paramCount="5" desc="Draw a line">
  1104. <Param type="int" name="startPosX" desc="" />
  1105. <Param type="int" name="startPosY" desc="" />
  1106. <Param type="int" name="endPosX" desc="" />
  1107. <Param type="int" name="endPosY" desc="" />
  1108. <Param type="Color" name="color" desc="" />
  1109. </Function>
  1110. <Function name="DrawLineV" retType="void" paramCount="3" desc="Draw a line (Vector version)">
  1111. <Param type="Vector2" name="startPos" desc="" />
  1112. <Param type="Vector2" name="endPos" desc="" />
  1113. <Param type="Color" name="color" desc="" />
  1114. </Function>
  1115. <Function name="DrawLineEx" retType="void" paramCount="4" desc="Draw a line defining thickness">
  1116. <Param type="Vector2" name="startPos" desc="" />
  1117. <Param type="Vector2" name="endPos" desc="" />
  1118. <Param type="float" name="thick" desc="" />
  1119. <Param type="Color" name="color" desc="" />
  1120. </Function>
  1121. <Function name="DrawLineBezier" retType="void" paramCount="4" desc="Draw a line using cubic-bezier curves in-out">
  1122. <Param type="Vector2" name="startPos" desc="" />
  1123. <Param type="Vector2" name="endPos" desc="" />
  1124. <Param type="float" name="thick" desc="" />
  1125. <Param type="Color" name="color" desc="" />
  1126. </Function>
  1127. <Function name="DrawLineBezierQuad" retType="void" paramCount="5" desc="Draw line using quadratic bezier curves with a control point">
  1128. <Param type="Vector2" name="startPos" desc="" />
  1129. <Param type="Vector2" name="endPos" desc="" />
  1130. <Param type="Vector2" name="controlPos" desc="" />
  1131. <Param type="float" name="thick" desc="" />
  1132. <Param type="Color" name="color" desc="" />
  1133. </Function>
  1134. <Function name="DrawLineBezierCubic" retType="void" paramCount="6" desc="Draw line using cubic bezier curves with 2 control points">
  1135. <Param type="Vector2" name="startPos" desc="" />
  1136. <Param type="Vector2" name="endPos" desc="" />
  1137. <Param type="Vector2" name="startControlPos" desc="" />
  1138. <Param type="Vector2" name="endControlPos" desc="" />
  1139. <Param type="float" name="thick" desc="" />
  1140. <Param type="Color" name="color" desc="" />
  1141. </Function>
  1142. <Function name="DrawLineStrip" retType="void" paramCount="3" desc="Draw lines sequence">
  1143. <Param type="Vector2 *" name="points" desc="" />
  1144. <Param type="int" name="pointCount" desc="" />
  1145. <Param type="Color" name="color" desc="" />
  1146. </Function>
  1147. <Function name="DrawCircle" retType="void" paramCount="4" desc="Draw a color-filled circle">
  1148. <Param type="int" name="centerX" desc="" />
  1149. <Param type="int" name="centerY" desc="" />
  1150. <Param type="float" name="radius" desc="" />
  1151. <Param type="Color" name="color" desc="" />
  1152. </Function>
  1153. <Function name="DrawCircleSector" retType="void" paramCount="6" desc="Draw a piece of a circle">
  1154. <Param type="Vector2" name="center" desc="" />
  1155. <Param type="float" name="radius" desc="" />
  1156. <Param type="float" name="startAngle" desc="" />
  1157. <Param type="float" name="endAngle" desc="" />
  1158. <Param type="int" name="segments" desc="" />
  1159. <Param type="Color" name="color" desc="" />
  1160. </Function>
  1161. <Function name="DrawCircleSectorLines" retType="void" paramCount="6" desc="Draw circle sector outline">
  1162. <Param type="Vector2" name="center" desc="" />
  1163. <Param type="float" name="radius" desc="" />
  1164. <Param type="float" name="startAngle" desc="" />
  1165. <Param type="float" name="endAngle" desc="" />
  1166. <Param type="int" name="segments" desc="" />
  1167. <Param type="Color" name="color" desc="" />
  1168. </Function>
  1169. <Function name="DrawCircleGradient" retType="void" paramCount="5" desc="Draw a gradient-filled circle">
  1170. <Param type="int" name="centerX" desc="" />
  1171. <Param type="int" name="centerY" desc="" />
  1172. <Param type="float" name="radius" desc="" />
  1173. <Param type="Color" name="color1" desc="" />
  1174. <Param type="Color" name="color2" desc="" />
  1175. </Function>
  1176. <Function name="DrawCircleV" retType="void" paramCount="3" desc="Draw a color-filled circle (Vector version)">
  1177. <Param type="Vector2" name="center" desc="" />
  1178. <Param type="float" name="radius" desc="" />
  1179. <Param type="Color" name="color" desc="" />
  1180. </Function>
  1181. <Function name="DrawCircleLines" retType="void" paramCount="4" desc="Draw circle outline">
  1182. <Param type="int" name="centerX" desc="" />
  1183. <Param type="int" name="centerY" desc="" />
  1184. <Param type="float" name="radius" desc="" />
  1185. <Param type="Color" name="color" desc="" />
  1186. </Function>
  1187. <Function name="DrawEllipse" retType="void" paramCount="5" desc="Draw ellipse">
  1188. <Param type="int" name="centerX" desc="" />
  1189. <Param type="int" name="centerY" desc="" />
  1190. <Param type="float" name="radiusH" desc="" />
  1191. <Param type="float" name="radiusV" desc="" />
  1192. <Param type="Color" name="color" desc="" />
  1193. </Function>
  1194. <Function name="DrawEllipseLines" retType="void" paramCount="5" desc="Draw ellipse outline">
  1195. <Param type="int" name="centerX" desc="" />
  1196. <Param type="int" name="centerY" desc="" />
  1197. <Param type="float" name="radiusH" desc="" />
  1198. <Param type="float" name="radiusV" desc="" />
  1199. <Param type="Color" name="color" desc="" />
  1200. </Function>
  1201. <Function name="DrawRing" retType="void" paramCount="7" desc="Draw ring">
  1202. <Param type="Vector2" name="center" desc="" />
  1203. <Param type="float" name="innerRadius" desc="" />
  1204. <Param type="float" name="outerRadius" desc="" />
  1205. <Param type="float" name="startAngle" desc="" />
  1206. <Param type="float" name="endAngle" desc="" />
  1207. <Param type="int" name="segments" desc="" />
  1208. <Param type="Color" name="color" desc="" />
  1209. </Function>
  1210. <Function name="DrawRingLines" retType="void" paramCount="7" desc="Draw ring outline">
  1211. <Param type="Vector2" name="center" desc="" />
  1212. <Param type="float" name="innerRadius" desc="" />
  1213. <Param type="float" name="outerRadius" desc="" />
  1214. <Param type="float" name="startAngle" desc="" />
  1215. <Param type="float" name="endAngle" desc="" />
  1216. <Param type="int" name="segments" desc="" />
  1217. <Param type="Color" name="color" desc="" />
  1218. </Function>
  1219. <Function name="DrawRectangle" retType="void" paramCount="5" desc="Draw a color-filled rectangle">
  1220. <Param type="int" name="posX" desc="" />
  1221. <Param type="int" name="posY" desc="" />
  1222. <Param type="int" name="width" desc="" />
  1223. <Param type="int" name="height" desc="" />
  1224. <Param type="Color" name="color" desc="" />
  1225. </Function>
  1226. <Function name="DrawRectangleV" retType="void" paramCount="3" desc="Draw a color-filled rectangle (Vector version)">
  1227. <Param type="Vector2" name="position" desc="" />
  1228. <Param type="Vector2" name="size" desc="" />
  1229. <Param type="Color" name="color" desc="" />
  1230. </Function>
  1231. <Function name="DrawRectangleRec" retType="void" paramCount="2" desc="Draw a color-filled rectangle">
  1232. <Param type="Rectangle" name="rec" desc="" />
  1233. <Param type="Color" name="color" desc="" />
  1234. </Function>
  1235. <Function name="DrawRectanglePro" retType="void" paramCount="4" desc="Draw a color-filled rectangle with pro parameters">
  1236. <Param type="Rectangle" name="rec" desc="" />
  1237. <Param type="Vector2" name="origin" desc="" />
  1238. <Param type="float" name="rotation" desc="" />
  1239. <Param type="Color" name="color" desc="" />
  1240. </Function>
  1241. <Function name="DrawRectangleGradientV" retType="void" paramCount="6" desc="Draw a vertical-gradient-filled rectangle">
  1242. <Param type="int" name="posX" desc="" />
  1243. <Param type="int" name="posY" desc="" />
  1244. <Param type="int" name="width" desc="" />
  1245. <Param type="int" name="height" desc="" />
  1246. <Param type="Color" name="color1" desc="" />
  1247. <Param type="Color" name="color2" desc="" />
  1248. </Function>
  1249. <Function name="DrawRectangleGradientH" retType="void" paramCount="6" desc="Draw a horizontal-gradient-filled rectangle">
  1250. <Param type="int" name="posX" desc="" />
  1251. <Param type="int" name="posY" desc="" />
  1252. <Param type="int" name="width" desc="" />
  1253. <Param type="int" name="height" desc="" />
  1254. <Param type="Color" name="color1" desc="" />
  1255. <Param type="Color" name="color2" desc="" />
  1256. </Function>
  1257. <Function name="DrawRectangleGradientEx" retType="void" paramCount="5" desc="Draw a gradient-filled rectangle with custom vertex colors">
  1258. <Param type="Rectangle" name="rec" desc="" />
  1259. <Param type="Color" name="col1" desc="" />
  1260. <Param type="Color" name="col2" desc="" />
  1261. <Param type="Color" name="col3" desc="" />
  1262. <Param type="Color" name="col4" desc="" />
  1263. </Function>
  1264. <Function name="DrawRectangleLines" retType="void" paramCount="5" desc="Draw rectangle outline">
  1265. <Param type="int" name="posX" desc="" />
  1266. <Param type="int" name="posY" desc="" />
  1267. <Param type="int" name="width" desc="" />
  1268. <Param type="int" name="height" desc="" />
  1269. <Param type="Color" name="color" desc="" />
  1270. </Function>
  1271. <Function name="DrawRectangleLinesEx" retType="void" paramCount="3" desc="Draw rectangle outline with extended parameters">
  1272. <Param type="Rectangle" name="rec" desc="" />
  1273. <Param type="float" name="lineThick" desc="" />
  1274. <Param type="Color" name="color" desc="" />
  1275. </Function>
  1276. <Function name="DrawRectangleRounded" retType="void" paramCount="4" desc="Draw rectangle with rounded edges">
  1277. <Param type="Rectangle" name="rec" desc="" />
  1278. <Param type="float" name="roundness" desc="" />
  1279. <Param type="int" name="segments" desc="" />
  1280. <Param type="Color" name="color" desc="" />
  1281. </Function>
  1282. <Function name="DrawRectangleRoundedLines" retType="void" paramCount="5" desc="Draw rectangle with rounded edges outline">
  1283. <Param type="Rectangle" name="rec" desc="" />
  1284. <Param type="float" name="roundness" desc="" />
  1285. <Param type="int" name="segments" desc="" />
  1286. <Param type="float" name="lineThick" desc="" />
  1287. <Param type="Color" name="color" desc="" />
  1288. </Function>
  1289. <Function name="DrawTriangle" retType="void" paramCount="4" desc="Draw a color-filled triangle (vertex in counter-clockwise order!)">
  1290. <Param type="Vector2" name="v1" desc="" />
  1291. <Param type="Vector2" name="v2" desc="" />
  1292. <Param type="Vector2" name="v3" desc="" />
  1293. <Param type="Color" name="color" desc="" />
  1294. </Function>
  1295. <Function name="DrawTriangleLines" retType="void" paramCount="4" desc="Draw triangle outline (vertex in counter-clockwise order!)">
  1296. <Param type="Vector2" name="v1" desc="" />
  1297. <Param type="Vector2" name="v2" desc="" />
  1298. <Param type="Vector2" name="v3" desc="" />
  1299. <Param type="Color" name="color" desc="" />
  1300. </Function>
  1301. <Function name="DrawTriangleFan" retType="void" paramCount="3" desc="Draw a triangle fan defined by points (first vertex is the center)">
  1302. <Param type="Vector2 *" name="points" desc="" />
  1303. <Param type="int" name="pointCount" desc="" />
  1304. <Param type="Color" name="color" desc="" />
  1305. </Function>
  1306. <Function name="DrawTriangleStrip" retType="void" paramCount="3" desc="Draw a triangle strip defined by points">
  1307. <Param type="Vector2 *" name="points" desc="" />
  1308. <Param type="int" name="pointCount" desc="" />
  1309. <Param type="Color" name="color" desc="" />
  1310. </Function>
  1311. <Function name="DrawPoly" retType="void" paramCount="5" desc="Draw a regular polygon (Vector version)">
  1312. <Param type="Vector2" name="center" desc="" />
  1313. <Param type="int" name="sides" desc="" />
  1314. <Param type="float" name="radius" desc="" />
  1315. <Param type="float" name="rotation" desc="" />
  1316. <Param type="Color" name="color" desc="" />
  1317. </Function>
  1318. <Function name="DrawPolyLines" retType="void" paramCount="5" desc="Draw a polygon outline of n sides">
  1319. <Param type="Vector2" name="center" desc="" />
  1320. <Param type="int" name="sides" desc="" />
  1321. <Param type="float" name="radius" desc="" />
  1322. <Param type="float" name="rotation" desc="" />
  1323. <Param type="Color" name="color" desc="" />
  1324. </Function>
  1325. <Function name="DrawPolyLinesEx" retType="void" paramCount="6" desc="Draw a polygon outline of n sides with extended parameters">
  1326. <Param type="Vector2" name="center" desc="" />
  1327. <Param type="int" name="sides" desc="" />
  1328. <Param type="float" name="radius" desc="" />
  1329. <Param type="float" name="rotation" desc="" />
  1330. <Param type="float" name="lineThick" desc="" />
  1331. <Param type="Color" name="color" desc="" />
  1332. </Function>
  1333. <Function name="CheckCollisionRecs" retType="bool" paramCount="2" desc="Check collision between two rectangles">
  1334. <Param type="Rectangle" name="rec1" desc="" />
  1335. <Param type="Rectangle" name="rec2" desc="" />
  1336. </Function>
  1337. <Function name="CheckCollisionCircles" retType="bool" paramCount="4" desc="Check collision between two circles">
  1338. <Param type="Vector2" name="center1" desc="" />
  1339. <Param type="float" name="radius1" desc="" />
  1340. <Param type="Vector2" name="center2" desc="" />
  1341. <Param type="float" name="radius2" desc="" />
  1342. </Function>
  1343. <Function name="CheckCollisionCircleRec" retType="bool" paramCount="3" desc="Check collision between circle and rectangle">
  1344. <Param type="Vector2" name="center" desc="" />
  1345. <Param type="float" name="radius" desc="" />
  1346. <Param type="Rectangle" name="rec" desc="" />
  1347. </Function>
  1348. <Function name="CheckCollisionPointRec" retType="bool" paramCount="2" desc="Check if point is inside rectangle">
  1349. <Param type="Vector2" name="point" desc="" />
  1350. <Param type="Rectangle" name="rec" desc="" />
  1351. </Function>
  1352. <Function name="CheckCollisionPointCircle" retType="bool" paramCount="3" desc="Check if point is inside circle">
  1353. <Param type="Vector2" name="point" desc="" />
  1354. <Param type="Vector2" name="center" desc="" />
  1355. <Param type="float" name="radius" desc="" />
  1356. </Function>
  1357. <Function name="CheckCollisionPointTriangle" retType="bool" paramCount="4" desc="Check if point is inside a triangle">
  1358. <Param type="Vector2" name="point" desc="" />
  1359. <Param type="Vector2" name="p1" desc="" />
  1360. <Param type="Vector2" name="p2" desc="" />
  1361. <Param type="Vector2" name="p3" desc="" />
  1362. </Function>
  1363. <Function name="CheckCollisionLines" retType="bool" paramCount="5" desc="Check the collision between two lines defined by two points each, returns collision point by reference">
  1364. <Param type="Vector2" name="startPos1" desc="" />
  1365. <Param type="Vector2" name="endPos1" desc="" />
  1366. <Param type="Vector2" name="startPos2" desc="" />
  1367. <Param type="Vector2" name="endPos2" desc="" />
  1368. <Param type="Vector2 *" name="collisionPoint" desc="" />
  1369. </Function>
  1370. <Function name="CheckCollisionPointLine" retType="bool" paramCount="4" desc="Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]">
  1371. <Param type="Vector2" name="point" desc="" />
  1372. <Param type="Vector2" name="p1" desc="" />
  1373. <Param type="Vector2" name="p2" desc="" />
  1374. <Param type="int" name="threshold" desc="" />
  1375. </Function>
  1376. <Function name="GetCollisionRec" retType="Rectangle" paramCount="2" desc="Get collision rectangle for two rectangles collision">
  1377. <Param type="Rectangle" name="rec1" desc="" />
  1378. <Param type="Rectangle" name="rec2" desc="" />
  1379. </Function>
  1380. <Function name="LoadImage" retType="Image" paramCount="1" desc="Load image from file into CPU memory (RAM)">
  1381. <Param type="const char *" name="fileName" desc="" />
  1382. </Function>
  1383. <Function name="LoadImageRaw" retType="Image" paramCount="5" desc="Load image from RAW file data">
  1384. <Param type="const char *" name="fileName" desc="" />
  1385. <Param type="int" name="width" desc="" />
  1386. <Param type="int" name="height" desc="" />
  1387. <Param type="int" name="format" desc="" />
  1388. <Param type="int" name="headerSize" desc="" />
  1389. </Function>
  1390. <Function name="LoadImageAnim" retType="Image" paramCount="2" desc="Load image sequence from file (frames appended to image.data)">
  1391. <Param type="const char *" name="fileName" desc="" />
  1392. <Param type="int *" name="frames" desc="" />
  1393. </Function>
  1394. <Function name="LoadImageFromMemory" retType="Image" paramCount="3" desc="Load image from memory buffer, fileType refers to extension: i.e. '.png'">
  1395. <Param type="const char *" name="fileType" desc="" />
  1396. <Param type="const unsigned char *" name="fileData" desc="" />
  1397. <Param type="int" name="dataSize" desc="" />
  1398. </Function>
  1399. <Function name="LoadImageFromTexture" retType="Image" paramCount="1" desc="Load image from GPU texture data">
  1400. <Param type="Texture2D" name="texture" desc="" />
  1401. </Function>
  1402. <Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)">
  1403. </Function>
  1404. <Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)">
  1405. <Param type="Image" name="image" desc="" />
  1406. </Function>
  1407. <Function name="ExportImage" retType="bool" paramCount="2" desc="Export image data to file, returns true on success">
  1408. <Param type="Image" name="image" desc="" />
  1409. <Param type="const char *" name="fileName" desc="" />
  1410. </Function>
  1411. <Function name="ExportImageAsCode" retType="bool" paramCount="2" desc="Export image as code file defining an array of bytes, returns true on success">
  1412. <Param type="Image" name="image" desc="" />
  1413. <Param type="const char *" name="fileName" desc="" />
  1414. </Function>
  1415. <Function name="GenImageColor" retType="Image" paramCount="3" desc="Generate image: plain color">
  1416. <Param type="int" name="width" desc="" />
  1417. <Param type="int" name="height" desc="" />
  1418. <Param type="Color" name="color" desc="" />
  1419. </Function>
  1420. <Function name="GenImageGradientV" retType="Image" paramCount="4" desc="Generate image: vertical gradient">
  1421. <Param type="int" name="width" desc="" />
  1422. <Param type="int" name="height" desc="" />
  1423. <Param type="Color" name="top" desc="" />
  1424. <Param type="Color" name="bottom" desc="" />
  1425. </Function>
  1426. <Function name="GenImageGradientH" retType="Image" paramCount="4" desc="Generate image: horizontal gradient">
  1427. <Param type="int" name="width" desc="" />
  1428. <Param type="int" name="height" desc="" />
  1429. <Param type="Color" name="left" desc="" />
  1430. <Param type="Color" name="right" desc="" />
  1431. </Function>
  1432. <Function name="GenImageGradientRadial" retType="Image" paramCount="5" desc="Generate image: radial gradient">
  1433. <Param type="int" name="width" desc="" />
  1434. <Param type="int" name="height" desc="" />
  1435. <Param type="float" name="density" desc="" />
  1436. <Param type="Color" name="inner" desc="" />
  1437. <Param type="Color" name="outer" desc="" />
  1438. </Function>
  1439. <Function name="GenImageChecked" retType="Image" paramCount="6" desc="Generate image: checked">
  1440. <Param type="int" name="width" desc="" />
  1441. <Param type="int" name="height" desc="" />
  1442. <Param type="int" name="checksX" desc="" />
  1443. <Param type="int" name="checksY" desc="" />
  1444. <Param type="Color" name="col1" desc="" />
  1445. <Param type="Color" name="col2" desc="" />
  1446. </Function>
  1447. <Function name="GenImageWhiteNoise" retType="Image" paramCount="3" desc="Generate image: white noise">
  1448. <Param type="int" name="width" desc="" />
  1449. <Param type="int" name="height" desc="" />
  1450. <Param type="float" name="factor" desc="" />
  1451. </Function>
  1452. <Function name="GenImageCellular" retType="Image" paramCount="3" desc="Generate image: cellular algorithm, bigger tileSize means bigger cells">
  1453. <Param type="int" name="width" desc="" />
  1454. <Param type="int" name="height" desc="" />
  1455. <Param type="int" name="tileSize" desc="" />
  1456. </Function>
  1457. <Function name="ImageCopy" retType="Image" paramCount="1" desc="Create an image duplicate (useful for transformations)">
  1458. <Param type="Image" name="image" desc="" />
  1459. </Function>
  1460. <Function name="ImageFromImage" retType="Image" paramCount="2" desc="Create an image from another image piece">
  1461. <Param type="Image" name="image" desc="" />
  1462. <Param type="Rectangle" name="rec" desc="" />
  1463. </Function>
  1464. <Function name="ImageText" retType="Image" paramCount="3" desc="Create an image from text (default font)">
  1465. <Param type="const char *" name="text" desc="" />
  1466. <Param type="int" name="fontSize" desc="" />
  1467. <Param type="Color" name="color" desc="" />
  1468. </Function>
  1469. <Function name="ImageTextEx" retType="Image" paramCount="5" desc="Create an image from text (custom sprite font)">
  1470. <Param type="Font" name="font" desc="" />
  1471. <Param type="const char *" name="text" desc="" />
  1472. <Param type="float" name="fontSize" desc="" />
  1473. <Param type="float" name="spacing" desc="" />
  1474. <Param type="Color" name="tint" desc="" />
  1475. </Function>
  1476. <Function name="ImageFormat" retType="void" paramCount="2" desc="Convert image data to desired format">
  1477. <Param type="Image *" name="image" desc="" />
  1478. <Param type="int" name="newFormat" desc="" />
  1479. </Function>
  1480. <Function name="ImageToPOT" retType="void" paramCount="2" desc="Convert image to POT (power-of-two)">
  1481. <Param type="Image *" name="image" desc="" />
  1482. <Param type="Color" name="fill" desc="" />
  1483. </Function>
  1484. <Function name="ImageCrop" retType="void" paramCount="2" desc="Crop an image to a defined rectangle">
  1485. <Param type="Image *" name="image" desc="" />
  1486. <Param type="Rectangle" name="crop" desc="" />
  1487. </Function>
  1488. <Function name="ImageAlphaCrop" retType="void" paramCount="2" desc="Crop image depending on alpha value">
  1489. <Param type="Image *" name="image" desc="" />
  1490. <Param type="float" name="threshold" desc="" />
  1491. </Function>
  1492. <Function name="ImageAlphaClear" retType="void" paramCount="3" desc="Clear alpha channel to desired color">
  1493. <Param type="Image *" name="image" desc="" />
  1494. <Param type="Color" name="color" desc="" />
  1495. <Param type="float" name="threshold" desc="" />
  1496. </Function>
  1497. <Function name="ImageAlphaMask" retType="void" paramCount="2" desc="Apply alpha mask to image">
  1498. <Param type="Image *" name="image" desc="" />
  1499. <Param type="Image" name="alphaMask" desc="" />
  1500. </Function>
  1501. <Function name="ImageAlphaPremultiply" retType="void" paramCount="1" desc="Premultiply alpha channel">
  1502. <Param type="Image *" name="image" desc="" />
  1503. </Function>
  1504. <Function name="ImageResize" retType="void" paramCount="3" desc="Resize image (Bicubic scaling algorithm)">
  1505. <Param type="Image *" name="image" desc="" />
  1506. <Param type="int" name="newWidth" desc="" />
  1507. <Param type="int" name="newHeight" desc="" />
  1508. </Function>
  1509. <Function name="ImageResizeNN" retType="void" paramCount="3" desc="Resize image (Nearest-Neighbor scaling algorithm)">
  1510. <Param type="Image *" name="image" desc="" />
  1511. <Param type="int" name="newWidth" desc="" />
  1512. <Param type="int" name="newHeight" desc="" />
  1513. </Function>
  1514. <Function name="ImageResizeCanvas" retType="void" paramCount="6" desc="Resize canvas and fill with color">
  1515. <Param type="Image *" name="image" desc="" />
  1516. <Param type="int" name="newWidth" desc="" />
  1517. <Param type="int" name="newHeight" desc="" />
  1518. <Param type="int" name="offsetX" desc="" />
  1519. <Param type="int" name="offsetY" desc="" />
  1520. <Param type="Color" name="fill" desc="" />
  1521. </Function>
  1522. <Function name="ImageMipmaps" retType="void" paramCount="1" desc="Compute all mipmap levels for a provided image">
  1523. <Param type="Image *" name="image" desc="" />
  1524. </Function>
  1525. <Function name="ImageDither" retType="void" paramCount="5" desc="Dither image data to 16bpp or lower (Floyd-Steinberg dithering)">
  1526. <Param type="Image *" name="image" desc="" />
  1527. <Param type="int" name="rBpp" desc="" />
  1528. <Param type="int" name="gBpp" desc="" />
  1529. <Param type="int" name="bBpp" desc="" />
  1530. <Param type="int" name="aBpp" desc="" />
  1531. </Function>
  1532. <Function name="ImageFlipVertical" retType="void" paramCount="1" desc="Flip image vertically">
  1533. <Param type="Image *" name="image" desc="" />
  1534. </Function>
  1535. <Function name="ImageFlipHorizontal" retType="void" paramCount="1" desc="Flip image horizontally">
  1536. <Param type="Image *" name="image" desc="" />
  1537. </Function>
  1538. <Function name="ImageRotateCW" retType="void" paramCount="1" desc="Rotate image clockwise 90deg">
  1539. <Param type="Image *" name="image" desc="" />
  1540. </Function>
  1541. <Function name="ImageRotateCCW" retType="void" paramCount="1" desc="Rotate image counter-clockwise 90deg">
  1542. <Param type="Image *" name="image" desc="" />
  1543. </Function>
  1544. <Function name="ImageColorTint" retType="void" paramCount="2" desc="Modify image color: tint">
  1545. <Param type="Image *" name="image" desc="" />
  1546. <Param type="Color" name="color" desc="" />
  1547. </Function>
  1548. <Function name="ImageColorInvert" retType="void" paramCount="1" desc="Modify image color: invert">
  1549. <Param type="Image *" name="image" desc="" />
  1550. </Function>
  1551. <Function name="ImageColorGrayscale" retType="void" paramCount="1" desc="Modify image color: grayscale">
  1552. <Param type="Image *" name="image" desc="" />
  1553. </Function>
  1554. <Function name="ImageColorContrast" retType="void" paramCount="2" desc="Modify image color: contrast (-100 to 100)">
  1555. <Param type="Image *" name="image" desc="" />
  1556. <Param type="float" name="contrast" desc="" />
  1557. </Function>
  1558. <Function name="ImageColorBrightness" retType="void" paramCount="2" desc="Modify image color: brightness (-255 to 255)">
  1559. <Param type="Image *" name="image" desc="" />
  1560. <Param type="int" name="brightness" desc="" />
  1561. </Function>
  1562. <Function name="ImageColorReplace" retType="void" paramCount="3" desc="Modify image color: replace color">
  1563. <Param type="Image *" name="image" desc="" />
  1564. <Param type="Color" name="color" desc="" />
  1565. <Param type="Color" name="replace" desc="" />
  1566. </Function>
  1567. <Function name="LoadImageColors" retType="Color *" paramCount="1" desc="Load color data from image as a Color array (RGBA - 32bit)">
  1568. <Param type="Image" name="image" desc="" />
  1569. </Function>
  1570. <Function name="LoadImagePalette" retType="Color *" paramCount="3" desc="Load colors palette from image as a Color array (RGBA - 32bit)">
  1571. <Param type="Image" name="image" desc="" />
  1572. <Param type="int" name="maxPaletteSize" desc="" />
  1573. <Param type="int *" name="colorCount" desc="" />
  1574. </Function>
  1575. <Function name="UnloadImageColors" retType="void" paramCount="1" desc="Unload color data loaded with LoadImageColors()">
  1576. <Param type="Color *" name="colors" desc="" />
  1577. </Function>
  1578. <Function name="UnloadImagePalette" retType="void" paramCount="1" desc="Unload colors palette loaded with LoadImagePalette()">
  1579. <Param type="Color *" name="colors" desc="" />
  1580. </Function>
  1581. <Function name="GetImageAlphaBorder" retType="Rectangle" paramCount="2" desc="Get image alpha border rectangle">
  1582. <Param type="Image" name="image" desc="" />
  1583. <Param type="float" name="threshold" desc="" />
  1584. </Function>
  1585. <Function name="GetImageColor" retType="Color" paramCount="3" desc="Get image pixel color at (x, y) position">
  1586. <Param type="Image" name="image" desc="" />
  1587. <Param type="int" name="x" desc="" />
  1588. <Param type="int" name="y" desc="" />
  1589. </Function>
  1590. <Function name="ImageClearBackground" retType="void" paramCount="2" desc="Clear image background with given color">
  1591. <Param type="Image *" name="dst" desc="" />
  1592. <Param type="Color" name="color" desc="" />
  1593. </Function>
  1594. <Function name="ImageDrawPixel" retType="void" paramCount="4" desc="Draw pixel within an image">
  1595. <Param type="Image *" name="dst" desc="" />
  1596. <Param type="int" name="posX" desc="" />
  1597. <Param type="int" name="posY" desc="" />
  1598. <Param type="Color" name="color" desc="" />
  1599. </Function>
  1600. <Function name="ImageDrawPixelV" retType="void" paramCount="3" desc="Draw pixel within an image (Vector version)">
  1601. <Param type="Image *" name="dst" desc="" />
  1602. <Param type="Vector2" name="position" desc="" />
  1603. <Param type="Color" name="color" desc="" />
  1604. </Function>
  1605. <Function name="ImageDrawLine" retType="void" paramCount="6" desc="Draw line within an image">
  1606. <Param type="Image *" name="dst" desc="" />
  1607. <Param type="int" name="startPosX" desc="" />
  1608. <Param type="int" name="startPosY" desc="" />
  1609. <Param type="int" name="endPosX" desc="" />
  1610. <Param type="int" name="endPosY" desc="" />
  1611. <Param type="Color" name="color" desc="" />
  1612. </Function>
  1613. <Function name="ImageDrawLineV" retType="void" paramCount="4" desc="Draw line within an image (Vector version)">
  1614. <Param type="Image *" name="dst" desc="" />
  1615. <Param type="Vector2" name="start" desc="" />
  1616. <Param type="Vector2" name="end" desc="" />
  1617. <Param type="Color" name="color" desc="" />
  1618. </Function>
  1619. <Function name="ImageDrawCircle" retType="void" paramCount="5" desc="Draw circle within an image">
  1620. <Param type="Image *" name="dst" desc="" />
  1621. <Param type="int" name="centerX" desc="" />
  1622. <Param type="int" name="centerY" desc="" />
  1623. <Param type="int" name="radius" desc="" />
  1624. <Param type="Color" name="color" desc="" />
  1625. </Function>
  1626. <Function name="ImageDrawCircleV" retType="void" paramCount="4" desc="Draw circle within an image (Vector version)">
  1627. <Param type="Image *" name="dst" desc="" />
  1628. <Param type="Vector2" name="center" desc="" />
  1629. <Param type="int" name="radius" desc="" />
  1630. <Param type="Color" name="color" desc="" />
  1631. </Function>
  1632. <Function name="ImageDrawRectangle" retType="void" paramCount="6" desc="Draw rectangle within an image">
  1633. <Param type="Image *" name="dst" desc="" />
  1634. <Param type="int" name="posX" desc="" />
  1635. <Param type="int" name="posY" desc="" />
  1636. <Param type="int" name="width" desc="" />
  1637. <Param type="int" name="height" desc="" />
  1638. <Param type="Color" name="color" desc="" />
  1639. </Function>
  1640. <Function name="ImageDrawRectangleV" retType="void" paramCount="4" desc="Draw rectangle within an image (Vector version)">
  1641. <Param type="Image *" name="dst" desc="" />
  1642. <Param type="Vector2" name="position" desc="" />
  1643. <Param type="Vector2" name="size" desc="" />
  1644. <Param type="Color" name="color" desc="" />
  1645. </Function>
  1646. <Function name="ImageDrawRectangleRec" retType="void" paramCount="3" desc="Draw rectangle within an image">
  1647. <Param type="Image *" name="dst" desc="" />
  1648. <Param type="Rectangle" name="rec" desc="" />
  1649. <Param type="Color" name="color" desc="" />
  1650. </Function>
  1651. <Function name="ImageDrawRectangleLines" retType="void" paramCount="4" desc="Draw rectangle lines within an image">
  1652. <Param type="Image *" name="dst" desc="" />
  1653. <Param type="Rectangle" name="rec" desc="" />
  1654. <Param type="int" name="thick" desc="" />
  1655. <Param type="Color" name="color" desc="" />
  1656. </Function>
  1657. <Function name="ImageDraw" retType="void" paramCount="5" desc="Draw a source image within a destination image (tint applied to source)">
  1658. <Param type="Image *" name="dst" desc="" />
  1659. <Param type="Image" name="src" desc="" />
  1660. <Param type="Rectangle" name="srcRec" desc="" />
  1661. <Param type="Rectangle" name="dstRec" desc="" />
  1662. <Param type="Color" name="tint" desc="" />
  1663. </Function>
  1664. <Function name="ImageDrawText" retType="void" paramCount="6" desc="Draw text (using default font) within an image (destination)">
  1665. <Param type="Image *" name="dst" desc="" />
  1666. <Param type="const char *" name="text" desc="" />
  1667. <Param type="int" name="posX" desc="" />
  1668. <Param type="int" name="posY" desc="" />
  1669. <Param type="int" name="fontSize" desc="" />
  1670. <Param type="Color" name="color" desc="" />
  1671. </Function>
  1672. <Function name="ImageDrawTextEx" retType="void" paramCount="7" desc="Draw text (custom sprite font) within an image (destination)">
  1673. <Param type="Image *" name="dst" desc="" />
  1674. <Param type="Font" name="font" desc="" />
  1675. <Param type="const char *" name="text" desc="" />
  1676. <Param type="Vector2" name="position" desc="" />
  1677. <Param type="float" name="fontSize" desc="" />
  1678. <Param type="float" name="spacing" desc="" />
  1679. <Param type="Color" name="tint" desc="" />
  1680. </Function>
  1681. <Function name="LoadTexture" retType="Texture2D" paramCount="1" desc="Load texture from file into GPU memory (VRAM)">
  1682. <Param type="const char *" name="fileName" desc="" />
  1683. </Function>
  1684. <Function name="LoadTextureFromImage" retType="Texture2D" paramCount="1" desc="Load texture from image data">
  1685. <Param type="Image" name="image" desc="" />
  1686. </Function>
  1687. <Function name="LoadTextureCubemap" retType="TextureCubemap" paramCount="2" desc="Load cubemap from image, multiple image cubemap layouts supported">
  1688. <Param type="Image" name="image" desc="" />
  1689. <Param type="int" name="layout" desc="" />
  1690. </Function>
  1691. <Function name="LoadRenderTexture" retType="RenderTexture2D" paramCount="2" desc="Load texture for rendering (framebuffer)">
  1692. <Param type="int" name="width" desc="" />
  1693. <Param type="int" name="height" desc="" />
  1694. </Function>
  1695. <Function name="UnloadTexture" retType="void" paramCount="1" desc="Unload texture from GPU memory (VRAM)">
  1696. <Param type="Texture2D" name="texture" desc="" />
  1697. </Function>
  1698. <Function name="UnloadRenderTexture" retType="void" paramCount="1" desc="Unload render texture from GPU memory (VRAM)">
  1699. <Param type="RenderTexture2D" name="target" desc="" />
  1700. </Function>
  1701. <Function name="UpdateTexture" retType="void" paramCount="2" desc="Update GPU texture with new data">
  1702. <Param type="Texture2D" name="texture" desc="" />
  1703. <Param type="const void *" name="pixels" desc="" />
  1704. </Function>
  1705. <Function name="UpdateTextureRec" retType="void" paramCount="3" desc="Update GPU texture rectangle with new data">
  1706. <Param type="Texture2D" name="texture" desc="" />
  1707. <Param type="Rectangle" name="rec" desc="" />
  1708. <Param type="const void *" name="pixels" desc="" />
  1709. </Function>
  1710. <Function name="GenTextureMipmaps" retType="void" paramCount="1" desc="Generate GPU mipmaps for a texture">
  1711. <Param type="Texture2D *" name="texture" desc="" />
  1712. </Function>
  1713. <Function name="SetTextureFilter" retType="void" paramCount="2" desc="Set texture scaling filter mode">
  1714. <Param type="Texture2D" name="texture" desc="" />
  1715. <Param type="int" name="filter" desc="" />
  1716. </Function>
  1717. <Function name="SetTextureWrap" retType="void" paramCount="2" desc="Set texture wrapping mode">
  1718. <Param type="Texture2D" name="texture" desc="" />
  1719. <Param type="int" name="wrap" desc="" />
  1720. </Function>
  1721. <Function name="DrawTexture" retType="void" paramCount="4" desc="Draw a Texture2D">
  1722. <Param type="Texture2D" name="texture" desc="" />
  1723. <Param type="int" name="posX" desc="" />
  1724. <Param type="int" name="posY" desc="" />
  1725. <Param type="Color" name="tint" desc="" />
  1726. </Function>
  1727. <Function name="DrawTextureV" retType="void" paramCount="3" desc="Draw a Texture2D with position defined as Vector2">
  1728. <Param type="Texture2D" name="texture" desc="" />
  1729. <Param type="Vector2" name="position" desc="" />
  1730. <Param type="Color" name="tint" desc="" />
  1731. </Function>
  1732. <Function name="DrawTextureEx" retType="void" paramCount="5" desc="Draw a Texture2D with extended parameters">
  1733. <Param type="Texture2D" name="texture" desc="" />
  1734. <Param type="Vector2" name="position" desc="" />
  1735. <Param type="float" name="rotation" desc="" />
  1736. <Param type="float" name="scale" desc="" />
  1737. <Param type="Color" name="tint" desc="" />
  1738. </Function>
  1739. <Function name="DrawTextureRec" retType="void" paramCount="4" desc="Draw a part of a texture defined by a rectangle">
  1740. <Param type="Texture2D" name="texture" desc="" />
  1741. <Param type="Rectangle" name="source" desc="" />
  1742. <Param type="Vector2" name="position" desc="" />
  1743. <Param type="Color" name="tint" desc="" />
  1744. </Function>
  1745. <Function name="DrawTextureQuad" retType="void" paramCount="5" desc="Draw texture quad with tiling and offset parameters">
  1746. <Param type="Texture2D" name="texture" desc="" />
  1747. <Param type="Vector2" name="tiling" desc="" />
  1748. <Param type="Vector2" name="offset" desc="" />
  1749. <Param type="Rectangle" name="quad" desc="" />
  1750. <Param type="Color" name="tint" desc="" />
  1751. </Function>
  1752. <Function name="DrawTextureTiled" retType="void" paramCount="7" desc="Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.">
  1753. <Param type="Texture2D" name="texture" desc="" />
  1754. <Param type="Rectangle" name="source" desc="" />
  1755. <Param type="Rectangle" name="dest" desc="" />
  1756. <Param type="Vector2" name="origin" desc="" />
  1757. <Param type="float" name="rotation" desc="" />
  1758. <Param type="float" name="scale" desc="" />
  1759. <Param type="Color" name="tint" desc="" />
  1760. </Function>
  1761. <Function name="DrawTexturePro" retType="void" paramCount="6" desc="Draw a part of a texture defined by a rectangle with 'pro' parameters">
  1762. <Param type="Texture2D" name="texture" desc="" />
  1763. <Param type="Rectangle" name="source" desc="" />
  1764. <Param type="Rectangle" name="dest" desc="" />
  1765. <Param type="Vector2" name="origin" desc="" />
  1766. <Param type="float" name="rotation" desc="" />
  1767. <Param type="Color" name="tint" desc="" />
  1768. </Function>
  1769. <Function name="DrawTextureNPatch" retType="void" paramCount="6" desc="Draws a texture (or part of it) that stretches or shrinks nicely">
  1770. <Param type="Texture2D" name="texture" desc="" />
  1771. <Param type="NPatchInfo" name="nPatchInfo" desc="" />
  1772. <Param type="Rectangle" name="dest" desc="" />
  1773. <Param type="Vector2" name="origin" desc="" />
  1774. <Param type="float" name="rotation" desc="" />
  1775. <Param type="Color" name="tint" desc="" />
  1776. </Function>
  1777. <Function name="DrawTexturePoly" retType="void" paramCount="6" desc="Draw a textured polygon">
  1778. <Param type="Texture2D" name="texture" desc="" />
  1779. <Param type="Vector2" name="center" desc="" />
  1780. <Param type="Vector2 *" name="points" desc="" />
  1781. <Param type="Vector2 *" name="texcoords" desc="" />
  1782. <Param type="int" name="pointCount" desc="" />
  1783. <Param type="Color" name="tint" desc="" />
  1784. </Function>
  1785. <Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
  1786. <Param type="Color" name="color" desc="" />
  1787. <Param type="float" name="alpha" desc="" />
  1788. </Function>
  1789. <Function name="ColorToInt" retType="int" paramCount="1" desc="Get hexadecimal value for a Color">
  1790. <Param type="Color" name="color" desc="" />
  1791. </Function>
  1792. <Function name="ColorNormalize" retType="Vector4" paramCount="1" desc="Get Color normalized as float [0..1]">
  1793. <Param type="Color" name="color" desc="" />
  1794. </Function>
  1795. <Function name="ColorFromNormalized" retType="Color" paramCount="1" desc="Get Color from normalized values [0..1]">
  1796. <Param type="Vector4" name="normalized" desc="" />
  1797. </Function>
  1798. <Function name="ColorToHSV" retType="Vector3" paramCount="1" desc="Get HSV values for a Color, hue [0..360], saturation/value [0..1]">
  1799. <Param type="Color" name="color" desc="" />
  1800. </Function>
  1801. <Function name="ColorFromHSV" retType="Color" paramCount="3" desc="Get a Color from HSV values, hue [0..360], saturation/value [0..1]">
  1802. <Param type="float" name="hue" desc="" />
  1803. <Param type="float" name="saturation" desc="" />
  1804. <Param type="float" name="value" desc="" />
  1805. </Function>
  1806. <Function name="ColorAlpha" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
  1807. <Param type="Color" name="color" desc="" />
  1808. <Param type="float" name="alpha" desc="" />
  1809. </Function>
  1810. <Function name="ColorAlphaBlend" retType="Color" paramCount="3" desc="Get src alpha-blended into dst color with tint">
  1811. <Param type="Color" name="dst" desc="" />
  1812. <Param type="Color" name="src" desc="" />
  1813. <Param type="Color" name="tint" desc="" />
  1814. </Function>
  1815. <Function name="GetColor" retType="Color" paramCount="1" desc="Get Color structure from hexadecimal value">
  1816. <Param type="unsigned int" name="hexValue" desc="" />
  1817. </Function>
  1818. <Function name="GetPixelColor" retType="Color" paramCount="2" desc="Get Color from a source pixel pointer of certain format">
  1819. <Param type="void *" name="srcPtr" desc="" />
  1820. <Param type="int" name="format" desc="" />
  1821. </Function>
  1822. <Function name="SetPixelColor" retType="void" paramCount="3" desc="Set color formatted into destination pixel pointer">
  1823. <Param type="void *" name="dstPtr" desc="" />
  1824. <Param type="Color" name="color" desc="" />
  1825. <Param type="int" name="format" desc="" />
  1826. </Function>
  1827. <Function name="GetPixelDataSize" retType="int" paramCount="3" desc="Get pixel data size in bytes for certain format">
  1828. <Param type="int" name="width" desc="" />
  1829. <Param type="int" name="height" desc="" />
  1830. <Param type="int" name="format" desc="" />
  1831. </Function>
  1832. <Function name="GetFontDefault" retType="Font" paramCount="0" desc="Get the default Font">
  1833. </Function>
  1834. <Function name="LoadFont" retType="Font" paramCount="1" desc="Load font from file into GPU memory (VRAM)">
  1835. <Param type="const char *" name="fileName" desc="" />
  1836. </Function>
  1837. <Function name="LoadFontEx" retType="Font" paramCount="4" desc="Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set">
  1838. <Param type="const char *" name="fileName" desc="" />
  1839. <Param type="int" name="fontSize" desc="" />
  1840. <Param type="int *" name="fontChars" desc="" />
  1841. <Param type="int" name="glyphCount" desc="" />
  1842. </Function>
  1843. <Function name="LoadFontFromImage" retType="Font" paramCount="3" desc="Load font from Image (XNA style)">
  1844. <Param type="Image" name="image" desc="" />
  1845. <Param type="Color" name="key" desc="" />
  1846. <Param type="int" name="firstChar" desc="" />
  1847. </Function>
  1848. <Function name="LoadFontFromMemory" retType="Font" paramCount="6" desc="Load font from memory buffer, fileType refers to extension: i.e. '.ttf'">
  1849. <Param type="const char *" name="fileType" desc="" />
  1850. <Param type="const unsigned char *" name="fileData" desc="" />
  1851. <Param type="int" name="dataSize" desc="" />
  1852. <Param type="int" name="fontSize" desc="" />
  1853. <Param type="int *" name="fontChars" desc="" />
  1854. <Param type="int" name="glyphCount" desc="" />
  1855. </Function>
  1856. <Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use">
  1857. <Param type="const unsigned char *" name="fileData" desc="" />
  1858. <Param type="int" name="dataSize" desc="" />
  1859. <Param type="int" name="fontSize" desc="" />
  1860. <Param type="int *" name="fontChars" desc="" />
  1861. <Param type="int" name="glyphCount" desc="" />
  1862. <Param type="int" name="type" desc="" />
  1863. </Function>
  1864. <Function name="GenImageFontAtlas" retType="Image" paramCount="6" desc="Generate image font atlas using chars info">
  1865. <Param type="const GlyphInfo *" name="chars" desc="" />
  1866. <Param type="Rectangle **" name="recs" desc="" />
  1867. <Param type="int" name="glyphCount" desc="" />
  1868. <Param type="int" name="fontSize" desc="" />
  1869. <Param type="int" name="padding" desc="" />
  1870. <Param type="int" name="packMethod" desc="" />
  1871. </Function>
  1872. <Function name="UnloadFontData" retType="void" paramCount="2" desc="Unload font chars info data (RAM)">
  1873. <Param type="GlyphInfo *" name="chars" desc="" />
  1874. <Param type="int" name="glyphCount" desc="" />
  1875. </Function>
  1876. <Function name="UnloadFont" retType="void" paramCount="1" desc="Unload font from GPU memory (VRAM)">
  1877. <Param type="Font" name="font" desc="" />
  1878. </Function>
  1879. <Function name="ExportFontAsCode" retType="bool" paramCount="2" desc="Export font as code file, returns true on success">
  1880. <Param type="Font" name="font" desc="" />
  1881. <Param type="const char *" name="fileName" desc="" />
  1882. </Function>
  1883. <Function name="DrawFPS" retType="void" paramCount="2" desc="Draw current FPS">
  1884. <Param type="int" name="posX" desc="" />
  1885. <Param type="int" name="posY" desc="" />
  1886. </Function>
  1887. <Function name="DrawText" retType="void" paramCount="5" desc="Draw text (using default font)">
  1888. <Param type="const char *" name="text" desc="" />
  1889. <Param type="int" name="posX" desc="" />
  1890. <Param type="int" name="posY" desc="" />
  1891. <Param type="int" name="fontSize" desc="" />
  1892. <Param type="Color" name="color" desc="" />
  1893. </Function>
  1894. <Function name="DrawTextEx" retType="void" paramCount="6" desc="Draw text using font and additional parameters">
  1895. <Param type="Font" name="font" desc="" />
  1896. <Param type="const char *" name="text" desc="" />
  1897. <Param type="Vector2" name="position" desc="" />
  1898. <Param type="float" name="fontSize" desc="" />
  1899. <Param type="float" name="spacing" desc="" />
  1900. <Param type="Color" name="tint" desc="" />
  1901. </Function>
  1902. <Function name="DrawTextPro" retType="void" paramCount="8" desc="Draw text using Font and pro parameters (rotation)">
  1903. <Param type="Font" name="font" desc="" />
  1904. <Param type="const char *" name="text" desc="" />
  1905. <Param type="Vector2" name="position" desc="" />
  1906. <Param type="Vector2" name="origin" desc="" />
  1907. <Param type="float" name="rotation" desc="" />
  1908. <Param type="float" name="fontSize" desc="" />
  1909. <Param type="float" name="spacing" desc="" />
  1910. <Param type="Color" name="tint" desc="" />
  1911. </Function>
  1912. <Function name="DrawTextCodepoint" retType="void" paramCount="5" desc="Draw one character (codepoint)">
  1913. <Param type="Font" name="font" desc="" />
  1914. <Param type="int" name="codepoint" desc="" />
  1915. <Param type="Vector2" name="position" desc="" />
  1916. <Param type="float" name="fontSize" desc="" />
  1917. <Param type="Color" name="tint" desc="" />
  1918. </Function>
  1919. <Function name="MeasureText" retType="int" paramCount="2" desc="Measure string width for default font">
  1920. <Param type="const char *" name="text" desc="" />
  1921. <Param type="int" name="fontSize" desc="" />
  1922. </Function>
  1923. <Function name="MeasureTextEx" retType="Vector2" paramCount="4" desc="Measure string size for Font">
  1924. <Param type="Font" name="font" desc="" />
  1925. <Param type="const char *" name="text" desc="" />
  1926. <Param type="float" name="fontSize" desc="" />
  1927. <Param type="float" name="spacing" desc="" />
  1928. </Function>
  1929. <Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found">
  1930. <Param type="Font" name="font" desc="" />
  1931. <Param type="int" name="codepoint" desc="" />
  1932. </Function>
  1933. <Function name="GetGlyphInfo" retType="GlyphInfo" paramCount="2" desc="Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found">
  1934. <Param type="Font" name="font" desc="" />
  1935. <Param type="int" name="codepoint" desc="" />
  1936. </Function>
  1937. <Function name="GetGlyphAtlasRec" retType="Rectangle" paramCount="2" desc="Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found">
  1938. <Param type="Font" name="font" desc="" />
  1939. <Param type="int" name="codepoint" desc="" />
  1940. </Function>
  1941. <Function name="LoadCodepoints" retType="int *" paramCount="2" desc="Load all codepoints from a UTF-8 text string, codepoints count returned by parameter">
  1942. <Param type="const char *" name="text" desc="" />
  1943. <Param type="int *" name="count" desc="" />
  1944. </Function>
  1945. <Function name="UnloadCodepoints" retType="void" paramCount="1" desc="Unload codepoints data from memory">
  1946. <Param type="int *" name="codepoints" desc="" />
  1947. </Function>
  1948. <Function name="GetCodepointCount" retType="int" paramCount="1" desc="Get total number of codepoints in a UTF-8 encoded string">
  1949. <Param type="const char *" name="text" desc="" />
  1950. </Function>
  1951. <Function name="GetCodepoint" retType="int" paramCount="2" desc="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure">
  1952. <Param type="const char *" name="text" desc="" />
  1953. <Param type="int *" name="bytesProcessed" desc="" />
  1954. </Function>
  1955. <Function name="CodepointToUTF8" retType="const char *" paramCount="2" desc="Encode one codepoint into UTF-8 byte array (array length returned as parameter)">
  1956. <Param type="int" name="codepoint" desc="" />
  1957. <Param type="int *" name="byteSize" desc="" />
  1958. </Function>
  1959. <Function name="TextCodepointsToUTF8" retType="char *" paramCount="2" desc="Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)">
  1960. <Param type="int *" name="codepoints" desc="" />
  1961. <Param type="int" name="length" desc="" />
  1962. </Function>
  1963. <Function name="TextCopy" retType="int" paramCount="2" desc="Copy one string to another, returns bytes copied">
  1964. <Param type="char *" name="dst" desc="" />
  1965. <Param type="const char *" name="src" desc="" />
  1966. </Function>
  1967. <Function name="TextIsEqual" retType="bool" paramCount="2" desc="Check if two text string are equal">
  1968. <Param type="const char *" name="text1" desc="" />
  1969. <Param type="const char *" name="text2" desc="" />
  1970. </Function>
  1971. <Function name="TextLength" retType="unsigned int" paramCount="1" desc="Get text length, checks for '\0' ending">
  1972. <Param type="const char *" name="text" desc="" />
  1973. </Function>
  1974. <Function name="TextFormat" retType="const char *" paramCount="2" desc="Text formatting with variables (sprintf() style)">
  1975. <Param type="const char *" name="text" desc="" />
  1976. <Param type="" name="" desc="" />
  1977. </Function>
  1978. <Function name="TextSubtext" retType="const char *" paramCount="3" desc="Get a piece of a text string">
  1979. <Param type="const char *" name="text" desc="" />
  1980. <Param type="int" name="position" desc="" />
  1981. <Param type="int" name="length" desc="" />
  1982. </Function>
  1983. <Function name="TextReplace" retType="char *" paramCount="3" desc="Replace text string (WARNING: memory must be freed!)">
  1984. <Param type="char *" name="text" desc="" />
  1985. <Param type="const char *" name="replace" desc="" />
  1986. <Param type="const char *" name="by" desc="" />
  1987. </Function>
  1988. <Function name="TextInsert" retType="char *" paramCount="3" desc="Insert text in a position (WARNING: memory must be freed!)">
  1989. <Param type="const char *" name="text" desc="" />
  1990. <Param type="const char *" name="insert" desc="" />
  1991. <Param type="int" name="position" desc="" />
  1992. </Function>
  1993. <Function name="TextJoin" retType="const char *" paramCount="3" desc="Join text strings with delimiter">
  1994. <Param type="const char **" name="textList" desc="" />
  1995. <Param type="int" name="count" desc="" />
  1996. <Param type="const char *" name="delimiter" desc="" />
  1997. </Function>
  1998. <Function name="TextSplit" retType="const char **" paramCount="3" desc="Split text into multiple strings">
  1999. <Param type="const char *" name="text" desc="" />
  2000. <Param type="char" name="delimiter" desc="" />
  2001. <Param type="int *" name="count" desc="" />
  2002. </Function>
  2003. <Function name="TextAppend" retType="void" paramCount="3" desc="Append text at specific position and move cursor!">
  2004. <Param type="char *" name="text" desc="" />
  2005. <Param type="const char *" name="append" desc="" />
  2006. <Param type="int *" name="position" desc="" />
  2007. </Function>
  2008. <Function name="TextFindIndex" retType="int" paramCount="2" desc="Find first text occurrence within a string">
  2009. <Param type="const char *" name="text" desc="" />
  2010. <Param type="const char *" name="find" desc="" />
  2011. </Function>
  2012. <Function name="TextToUpper" retType="const char *" paramCount="1" desc="Get upper case version of provided string">
  2013. <Param type="const char *" name="text" desc="" />
  2014. </Function>
  2015. <Function name="TextToLower" retType="const char *" paramCount="1" desc="Get lower case version of provided string">
  2016. <Param type="const char *" name="text" desc="" />
  2017. </Function>
  2018. <Function name="TextToPascal" retType="const char *" paramCount="1" desc="Get Pascal case notation version of provided string">
  2019. <Param type="const char *" name="text" desc="" />
  2020. </Function>
  2021. <Function name="TextToInteger" retType="int" paramCount="1" desc="Get integer value from text (negative values not supported)">
  2022. <Param type="const char *" name="text" desc="" />
  2023. </Function>
  2024. <Function name="DrawLine3D" retType="void" paramCount="3" desc="Draw a line in 3D world space">
  2025. <Param type="Vector3" name="startPos" desc="" />
  2026. <Param type="Vector3" name="endPos" desc="" />
  2027. <Param type="Color" name="color" desc="" />
  2028. </Function>
  2029. <Function name="DrawPoint3D" retType="void" paramCount="2" desc="Draw a point in 3D space, actually a small line">
  2030. <Param type="Vector3" name="position" desc="" />
  2031. <Param type="Color" name="color" desc="" />
  2032. </Function>
  2033. <Function name="DrawCircle3D" retType="void" paramCount="5" desc="Draw a circle in 3D world space">
  2034. <Param type="Vector3" name="center" desc="" />
  2035. <Param type="float" name="radius" desc="" />
  2036. <Param type="Vector3" name="rotationAxis" desc="" />
  2037. <Param type="float" name="rotationAngle" desc="" />
  2038. <Param type="Color" name="color" desc="" />
  2039. </Function>
  2040. <Function name="DrawTriangle3D" retType="void" paramCount="4" desc="Draw a color-filled triangle (vertex in counter-clockwise order!)">
  2041. <Param type="Vector3" name="v1" desc="" />
  2042. <Param type="Vector3" name="v2" desc="" />
  2043. <Param type="Vector3" name="v3" desc="" />
  2044. <Param type="Color" name="color" desc="" />
  2045. </Function>
  2046. <Function name="DrawTriangleStrip3D" retType="void" paramCount="3" desc="Draw a triangle strip defined by points">
  2047. <Param type="Vector3 *" name="points" desc="" />
  2048. <Param type="int" name="pointCount" desc="" />
  2049. <Param type="Color" name="color" desc="" />
  2050. </Function>
  2051. <Function name="DrawCube" retType="void" paramCount="5" desc="Draw cube">
  2052. <Param type="Vector3" name="position" desc="" />
  2053. <Param type="float" name="width" desc="" />
  2054. <Param type="float" name="height" desc="" />
  2055. <Param type="float" name="length" desc="" />
  2056. <Param type="Color" name="color" desc="" />
  2057. </Function>
  2058. <Function name="DrawCubeV" retType="void" paramCount="3" desc="Draw cube (Vector version)">
  2059. <Param type="Vector3" name="position" desc="" />
  2060. <Param type="Vector3" name="size" desc="" />
  2061. <Param type="Color" name="color" desc="" />
  2062. </Function>
  2063. <Function name="DrawCubeWires" retType="void" paramCount="5" desc="Draw cube wires">
  2064. <Param type="Vector3" name="position" desc="" />
  2065. <Param type="float" name="width" desc="" />
  2066. <Param type="float" name="height" desc="" />
  2067. <Param type="float" name="length" desc="" />
  2068. <Param type="Color" name="color" desc="" />
  2069. </Function>
  2070. <Function name="DrawCubeWiresV" retType="void" paramCount="3" desc="Draw cube wires (Vector version)">
  2071. <Param type="Vector3" name="position" desc="" />
  2072. <Param type="Vector3" name="size" desc="" />
  2073. <Param type="Color" name="color" desc="" />
  2074. </Function>
  2075. <Function name="DrawCubeTexture" retType="void" paramCount="6" desc="Draw cube textured">
  2076. <Param type="Texture2D" name="texture" desc="" />
  2077. <Param type="Vector3" name="position" desc="" />
  2078. <Param type="float" name="width" desc="" />
  2079. <Param type="float" name="height" desc="" />
  2080. <Param type="float" name="length" desc="" />
  2081. <Param type="Color" name="color" desc="" />
  2082. </Function>
  2083. <Function name="DrawCubeTextureRec" retType="void" paramCount="7" desc="Draw cube with a region of a texture">
  2084. <Param type="Texture2D" name="texture" desc="" />
  2085. <Param type="Rectangle" name="source" desc="" />
  2086. <Param type="Vector3" name="position" desc="" />
  2087. <Param type="float" name="width" desc="" />
  2088. <Param type="float" name="height" desc="" />
  2089. <Param type="float" name="length" desc="" />
  2090. <Param type="Color" name="color" desc="" />
  2091. </Function>
  2092. <Function name="DrawSphere" retType="void" paramCount="3" desc="Draw sphere">
  2093. <Param type="Vector3" name="centerPos" desc="" />
  2094. <Param type="float" name="radius" desc="" />
  2095. <Param type="Color" name="color" desc="" />
  2096. </Function>
  2097. <Function name="DrawSphereEx" retType="void" paramCount="5" desc="Draw sphere with extended parameters">
  2098. <Param type="Vector3" name="centerPos" desc="" />
  2099. <Param type="float" name="radius" desc="" />
  2100. <Param type="int" name="rings" desc="" />
  2101. <Param type="int" name="slices" desc="" />
  2102. <Param type="Color" name="color" desc="" />
  2103. </Function>
  2104. <Function name="DrawSphereWires" retType="void" paramCount="5" desc="Draw sphere wires">
  2105. <Param type="Vector3" name="centerPos" desc="" />
  2106. <Param type="float" name="radius" desc="" />
  2107. <Param type="int" name="rings" desc="" />
  2108. <Param type="int" name="slices" desc="" />
  2109. <Param type="Color" name="color" desc="" />
  2110. </Function>
  2111. <Function name="DrawCylinder" retType="void" paramCount="6" desc="Draw a cylinder/cone">
  2112. <Param type="Vector3" name="position" desc="" />
  2113. <Param type="float" name="radiusTop" desc="" />
  2114. <Param type="float" name="radiusBottom" desc="" />
  2115. <Param type="float" name="height" desc="" />
  2116. <Param type="int" name="slices" desc="" />
  2117. <Param type="Color" name="color" desc="" />
  2118. </Function>
  2119. <Function name="DrawCylinderEx" retType="void" paramCount="6" desc="Draw a cylinder with base at startPos and top at endPos">
  2120. <Param type="Vector3" name="startPos" desc="" />
  2121. <Param type="Vector3" name="endPos" desc="" />
  2122. <Param type="float" name="startRadius" desc="" />
  2123. <Param type="float" name="endRadius" desc="" />
  2124. <Param type="int" name="sides" desc="" />
  2125. <Param type="Color" name="color" desc="" />
  2126. </Function>
  2127. <Function name="DrawCylinderWires" retType="void" paramCount="6" desc="Draw a cylinder/cone wires">
  2128. <Param type="Vector3" name="position" desc="" />
  2129. <Param type="float" name="radiusTop" desc="" />
  2130. <Param type="float" name="radiusBottom" desc="" />
  2131. <Param type="float" name="height" desc="" />
  2132. <Param type="int" name="slices" desc="" />
  2133. <Param type="Color" name="color" desc="" />
  2134. </Function>
  2135. <Function name="DrawCylinderWiresEx" retType="void" paramCount="6" desc="Draw a cylinder wires with base at startPos and top at endPos">
  2136. <Param type="Vector3" name="startPos" desc="" />
  2137. <Param type="Vector3" name="endPos" desc="" />
  2138. <Param type="float" name="startRadius" desc="" />
  2139. <Param type="float" name="endRadius" desc="" />
  2140. <Param type="int" name="sides" desc="" />
  2141. <Param type="Color" name="color" desc="" />
  2142. </Function>
  2143. <Function name="DrawPlane" retType="void" paramCount="3" desc="Draw a plane XZ">
  2144. <Param type="Vector3" name="centerPos" desc="" />
  2145. <Param type="Vector2" name="size" desc="" />
  2146. <Param type="Color" name="color" desc="" />
  2147. </Function>
  2148. <Function name="DrawRay" retType="void" paramCount="2" desc="Draw a ray line">
  2149. <Param type="Ray" name="ray" desc="" />
  2150. <Param type="Color" name="color" desc="" />
  2151. </Function>
  2152. <Function name="DrawGrid" retType="void" paramCount="2" desc="Draw a grid (centered at (0, 0, 0))">
  2153. <Param type="int" name="slices" desc="" />
  2154. <Param type="float" name="spacing" desc="" />
  2155. </Function>
  2156. <Function name="LoadModel" retType="Model" paramCount="1" desc="Load model from files (meshes and materials)">
  2157. <Param type="const char *" name="fileName" desc="" />
  2158. </Function>
  2159. <Function name="LoadModelFromMesh" retType="Model" paramCount="1" desc="Load model from generated mesh (default material)">
  2160. <Param type="Mesh" name="mesh" desc="" />
  2161. </Function>
  2162. <Function name="UnloadModel" retType="void" paramCount="1" desc="Unload model (including meshes) from memory (RAM and/or VRAM)">
  2163. <Param type="Model" name="model" desc="" />
  2164. </Function>
  2165. <Function name="UnloadModelKeepMeshes" retType="void" paramCount="1" desc="Unload model (but not meshes) from memory (RAM and/or VRAM)">
  2166. <Param type="Model" name="model" desc="" />
  2167. </Function>
  2168. <Function name="GetModelBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute model bounding box limits (considers all meshes)">
  2169. <Param type="Model" name="model" desc="" />
  2170. </Function>
  2171. <Function name="DrawModel" retType="void" paramCount="4" desc="Draw a model (with texture if set)">
  2172. <Param type="Model" name="model" desc="" />
  2173. <Param type="Vector3" name="position" desc="" />
  2174. <Param type="float" name="scale" desc="" />
  2175. <Param type="Color" name="tint" desc="" />
  2176. </Function>
  2177. <Function name="DrawModelEx" retType="void" paramCount="6" desc="Draw a model with extended parameters">
  2178. <Param type="Model" name="model" desc="" />
  2179. <Param type="Vector3" name="position" desc="" />
  2180. <Param type="Vector3" name="rotationAxis" desc="" />
  2181. <Param type="float" name="rotationAngle" desc="" />
  2182. <Param type="Vector3" name="scale" desc="" />
  2183. <Param type="Color" name="tint" desc="" />
  2184. </Function>
  2185. <Function name="DrawModelWires" retType="void" paramCount="4" desc="Draw a model wires (with texture if set)">
  2186. <Param type="Model" name="model" desc="" />
  2187. <Param type="Vector3" name="position" desc="" />
  2188. <Param type="float" name="scale" desc="" />
  2189. <Param type="Color" name="tint" desc="" />
  2190. </Function>
  2191. <Function name="DrawModelWiresEx" retType="void" paramCount="6" desc="Draw a model wires (with texture if set) with extended parameters">
  2192. <Param type="Model" name="model" desc="" />
  2193. <Param type="Vector3" name="position" desc="" />
  2194. <Param type="Vector3" name="rotationAxis" desc="" />
  2195. <Param type="float" name="rotationAngle" desc="" />
  2196. <Param type="Vector3" name="scale" desc="" />
  2197. <Param type="Color" name="tint" desc="" />
  2198. </Function>
  2199. <Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)">
  2200. <Param type="BoundingBox" name="box" desc="" />
  2201. <Param type="Color" name="color" desc="" />
  2202. </Function>
  2203. <Function name="DrawBillboard" retType="void" paramCount="5" desc="Draw a billboard texture">
  2204. <Param type="Camera" name="camera" desc="" />
  2205. <Param type="Texture2D" name="texture" desc="" />
  2206. <Param type="Vector3" name="position" desc="" />
  2207. <Param type="float" name="size" desc="" />
  2208. <Param type="Color" name="tint" desc="" />
  2209. </Function>
  2210. <Function name="DrawBillboardRec" retType="void" paramCount="6" desc="Draw a billboard texture defined by source">
  2211. <Param type="Camera" name="camera" desc="" />
  2212. <Param type="Texture2D" name="texture" desc="" />
  2213. <Param type="Rectangle" name="source" desc="" />
  2214. <Param type="Vector3" name="position" desc="" />
  2215. <Param type="Vector2" name="size" desc="" />
  2216. <Param type="Color" name="tint" desc="" />
  2217. </Function>
  2218. <Function name="DrawBillboardPro" retType="void" paramCount="9" desc="Draw a billboard texture defined by source and rotation">
  2219. <Param type="Camera" name="camera" desc="" />
  2220. <Param type="Texture2D" name="texture" desc="" />
  2221. <Param type="Rectangle" name="source" desc="" />
  2222. <Param type="Vector3" name="position" desc="" />
  2223. <Param type="Vector3" name="up" desc="" />
  2224. <Param type="Vector2" name="size" desc="" />
  2225. <Param type="Vector2" name="origin" desc="" />
  2226. <Param type="float" name="rotation" desc="" />
  2227. <Param type="Color" name="tint" desc="" />
  2228. </Function>
  2229. <Function name="UploadMesh" retType="void" paramCount="2" desc="Upload mesh vertex data in GPU and provide VAO/VBO ids">
  2230. <Param type="Mesh *" name="mesh" desc="" />
  2231. <Param type="bool" name="dynamic" desc="" />
  2232. </Function>
  2233. <Function name="UpdateMeshBuffer" retType="void" paramCount="5" desc="Update mesh vertex data in GPU for a specific buffer index">
  2234. <Param type="Mesh" name="mesh" desc="" />
  2235. <Param type="int" name="index" desc="" />
  2236. <Param type="void *" name="data" desc="" />
  2237. <Param type="int" name="dataSize" desc="" />
  2238. <Param type="int" name="offset" desc="" />
  2239. </Function>
  2240. <Function name="UnloadMesh" retType="void" paramCount="1" desc="Unload mesh data from CPU and GPU">
  2241. <Param type="Mesh" name="mesh" desc="" />
  2242. </Function>
  2243. <Function name="DrawMesh" retType="void" paramCount="3" desc="Draw a 3d mesh with material and transform">
  2244. <Param type="Mesh" name="mesh" desc="" />
  2245. <Param type="Material" name="material" desc="" />
  2246. <Param type="Matrix" name="transform" desc="" />
  2247. </Function>
  2248. <Function name="DrawMeshInstanced" retType="void" paramCount="4" desc="Draw multiple mesh instances with material and different transforms">
  2249. <Param type="Mesh" name="mesh" desc="" />
  2250. <Param type="Material" name="material" desc="" />
  2251. <Param type="Matrix *" name="transforms" desc="" />
  2252. <Param type="int" name="instances" desc="" />
  2253. </Function>
  2254. <Function name="ExportMesh" retType="bool" paramCount="2" desc="Export mesh data to file, returns true on success">
  2255. <Param type="Mesh" name="mesh" desc="" />
  2256. <Param type="const char *" name="fileName" desc="" />
  2257. </Function>
  2258. <Function name="GetMeshBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute mesh bounding box limits">
  2259. <Param type="Mesh" name="mesh" desc="" />
  2260. </Function>
  2261. <Function name="GenMeshTangents" retType="void" paramCount="1" desc="Compute mesh tangents">
  2262. <Param type="Mesh *" name="mesh" desc="" />
  2263. </Function>
  2264. <Function name="GenMeshBinormals" retType="void" paramCount="1" desc="Compute mesh binormals">
  2265. <Param type="Mesh *" name="mesh" desc="" />
  2266. </Function>
  2267. <Function name="GenMeshPoly" retType="Mesh" paramCount="2" desc="Generate polygonal mesh">
  2268. <Param type="int" name="sides" desc="" />
  2269. <Param type="float" name="radius" desc="" />
  2270. </Function>
  2271. <Function name="GenMeshPlane" retType="Mesh" paramCount="4" desc="Generate plane mesh (with subdivisions)">
  2272. <Param type="float" name="width" desc="" />
  2273. <Param type="float" name="length" desc="" />
  2274. <Param type="int" name="resX" desc="" />
  2275. <Param type="int" name="resZ" desc="" />
  2276. </Function>
  2277. <Function name="GenMeshCube" retType="Mesh" paramCount="3" desc="Generate cuboid mesh">
  2278. <Param type="float" name="width" desc="" />
  2279. <Param type="float" name="height" desc="" />
  2280. <Param type="float" name="length" desc="" />
  2281. </Function>
  2282. <Function name="GenMeshSphere" retType="Mesh" paramCount="3" desc="Generate sphere mesh (standard sphere)">
  2283. <Param type="float" name="radius" desc="" />
  2284. <Param type="int" name="rings" desc="" />
  2285. <Param type="int" name="slices" desc="" />
  2286. </Function>
  2287. <Function name="GenMeshHemiSphere" retType="Mesh" paramCount="3" desc="Generate half-sphere mesh (no bottom cap)">
  2288. <Param type="float" name="radius" desc="" />
  2289. <Param type="int" name="rings" desc="" />
  2290. <Param type="int" name="slices" desc="" />
  2291. </Function>
  2292. <Function name="GenMeshCylinder" retType="Mesh" paramCount="3" desc="Generate cylinder mesh">
  2293. <Param type="float" name="radius" desc="" />
  2294. <Param type="float" name="height" desc="" />
  2295. <Param type="int" name="slices" desc="" />
  2296. </Function>
  2297. <Function name="GenMeshCone" retType="Mesh" paramCount="3" desc="Generate cone/pyramid mesh">
  2298. <Param type="float" name="radius" desc="" />
  2299. <Param type="float" name="height" desc="" />
  2300. <Param type="int" name="slices" desc="" />
  2301. </Function>
  2302. <Function name="GenMeshTorus" retType="Mesh" paramCount="4" desc="Generate torus mesh">
  2303. <Param type="float" name="radius" desc="" />
  2304. <Param type="float" name="size" desc="" />
  2305. <Param type="int" name="radSeg" desc="" />
  2306. <Param type="int" name="sides" desc="" />
  2307. </Function>
  2308. <Function name="GenMeshKnot" retType="Mesh" paramCount="4" desc="Generate trefoil knot mesh">
  2309. <Param type="float" name="radius" desc="" />
  2310. <Param type="float" name="size" desc="" />
  2311. <Param type="int" name="radSeg" desc="" />
  2312. <Param type="int" name="sides" desc="" />
  2313. </Function>
  2314. <Function name="GenMeshHeightmap" retType="Mesh" paramCount="2" desc="Generate heightmap mesh from image data">
  2315. <Param type="Image" name="heightmap" desc="" />
  2316. <Param type="Vector3" name="size" desc="" />
  2317. </Function>
  2318. <Function name="GenMeshCubicmap" retType="Mesh" paramCount="2" desc="Generate cubes-based map mesh from image data">
  2319. <Param type="Image" name="cubicmap" desc="" />
  2320. <Param type="Vector3" name="cubeSize" desc="" />
  2321. </Function>
  2322. <Function name="LoadMaterials" retType="Material *" paramCount="2" desc="Load materials from model file">
  2323. <Param type="const char *" name="fileName" desc="" />
  2324. <Param type="int *" name="materialCount" desc="" />
  2325. </Function>
  2326. <Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)">
  2327. </Function>
  2328. <Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
  2329. <Param type="Material" name="material" desc="" />
  2330. </Function>
  2331. <Function name="SetMaterialTexture" retType="void" paramCount="3" desc="Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)">
  2332. <Param type="Material *" name="material" desc="" />
  2333. <Param type="int" name="mapType" desc="" />
  2334. <Param type="Texture2D" name="texture" desc="" />
  2335. </Function>
  2336. <Function name="SetModelMeshMaterial" retType="void" paramCount="3" desc="Set material for a mesh">
  2337. <Param type="Model *" name="model" desc="" />
  2338. <Param type="int" name="meshId" desc="" />
  2339. <Param type="int" name="materialId" desc="" />
  2340. </Function>
  2341. <Function name="LoadModelAnimations" retType="ModelAnimation *" paramCount="2" desc="Load model animations from file">
  2342. <Param type="const char *" name="fileName" desc="" />
  2343. <Param type="unsigned int *" name="animCount" desc="" />
  2344. </Function>
  2345. <Function name="UpdateModelAnimation" retType="void" paramCount="3" desc="Update model animation pose">
  2346. <Param type="Model" name="model" desc="" />
  2347. <Param type="ModelAnimation" name="anim" desc="" />
  2348. <Param type="int" name="frame" desc="" />
  2349. </Function>
  2350. <Function name="UnloadModelAnimation" retType="void" paramCount="1" desc="Unload animation data">
  2351. <Param type="ModelAnimation" name="anim" desc="" />
  2352. </Function>
  2353. <Function name="UnloadModelAnimations" retType="void" paramCount="2" desc="Unload animation array data">
  2354. <Param type="ModelAnimation*" name="animations" desc="" />
  2355. <Param type="unsigned int" name="count" desc="" />
  2356. </Function>
  2357. <Function name="IsModelAnimationValid" retType="bool" paramCount="2" desc="Check model animation skeleton match">
  2358. <Param type="Model" name="model" desc="" />
  2359. <Param type="ModelAnimation" name="anim" desc="" />
  2360. </Function>
  2361. <Function name="CheckCollisionSpheres" retType="bool" paramCount="4" desc="Check collision between two spheres">
  2362. <Param type="Vector3" name="center1" desc="" />
  2363. <Param type="float" name="radius1" desc="" />
  2364. <Param type="Vector3" name="center2" desc="" />
  2365. <Param type="float" name="radius2" desc="" />
  2366. </Function>
  2367. <Function name="CheckCollisionBoxes" retType="bool" paramCount="2" desc="Check collision between two bounding boxes">
  2368. <Param type="BoundingBox" name="box1" desc="" />
  2369. <Param type="BoundingBox" name="box2" desc="" />
  2370. </Function>
  2371. <Function name="CheckCollisionBoxSphere" retType="bool" paramCount="3" desc="Check collision between box and sphere">
  2372. <Param type="BoundingBox" name="box" desc="" />
  2373. <Param type="Vector3" name="center" desc="" />
  2374. <Param type="float" name="radius" desc="" />
  2375. </Function>
  2376. <Function name="GetRayCollisionSphere" retType="RayCollision" paramCount="3" desc="Get collision info between ray and sphere">
  2377. <Param type="Ray" name="ray" desc="" />
  2378. <Param type="Vector3" name="center" desc="" />
  2379. <Param type="float" name="radius" desc="" />
  2380. </Function>
  2381. <Function name="GetRayCollisionBox" retType="RayCollision" paramCount="2" desc="Get collision info between ray and box">
  2382. <Param type="Ray" name="ray" desc="" />
  2383. <Param type="BoundingBox" name="box" desc="" />
  2384. </Function>
  2385. <Function name="GetRayCollisionModel" retType="RayCollision" paramCount="2" desc="Get collision info between ray and model">
  2386. <Param type="Ray" name="ray" desc="" />
  2387. <Param type="Model" name="model" desc="" />
  2388. </Function>
  2389. <Function name="GetRayCollisionMesh" retType="RayCollision" paramCount="3" desc="Get collision info between ray and mesh">
  2390. <Param type="Ray" name="ray" desc="" />
  2391. <Param type="Mesh" name="mesh" desc="" />
  2392. <Param type="Matrix" name="transform" desc="" />
  2393. </Function>
  2394. <Function name="GetRayCollisionTriangle" retType="RayCollision" paramCount="4" desc="Get collision info between ray and triangle">
  2395. <Param type="Ray" name="ray" desc="" />
  2396. <Param type="Vector3" name="p1" desc="" />
  2397. <Param type="Vector3" name="p2" desc="" />
  2398. <Param type="Vector3" name="p3" desc="" />
  2399. </Function>
  2400. <Function name="GetRayCollisionQuad" retType="RayCollision" paramCount="5" desc="Get collision info between ray and quad">
  2401. <Param type="Ray" name="ray" desc="" />
  2402. <Param type="Vector3" name="p1" desc="" />
  2403. <Param type="Vector3" name="p2" desc="" />
  2404. <Param type="Vector3" name="p3" desc="" />
  2405. <Param type="Vector3" name="p4" desc="" />
  2406. </Function>
  2407. <Function name="InitAudioDevice" retType="void" paramCount="0" desc="Initialize audio device and context">
  2408. </Function>
  2409. <Function name="CloseAudioDevice" retType="void" paramCount="0" desc="Close the audio device and context">
  2410. </Function>
  2411. <Function name="IsAudioDeviceReady" retType="bool" paramCount="0" desc="Check if audio device has been initialized successfully">
  2412. </Function>
  2413. <Function name="SetMasterVolume" retType="void" paramCount="1" desc="Set master volume (listener)">
  2414. <Param type="float" name="volume" desc="" />
  2415. </Function>
  2416. <Function name="LoadWave" retType="Wave" paramCount="1" desc="Load wave data from file">
  2417. <Param type="const char *" name="fileName" desc="" />
  2418. </Function>
  2419. <Function name="LoadWaveFromMemory" retType="Wave" paramCount="3" desc="Load wave from memory buffer, fileType refers to extension: i.e. '.wav'">
  2420. <Param type="const char *" name="fileType" desc="" />
  2421. <Param type="const unsigned char *" name="fileData" desc="" />
  2422. <Param type="int" name="dataSize" desc="" />
  2423. </Function>
  2424. <Function name="LoadSound" retType="Sound" paramCount="1" desc="Load sound from file">
  2425. <Param type="const char *" name="fileName" desc="" />
  2426. </Function>
  2427. <Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data">
  2428. <Param type="Wave" name="wave" desc="" />
  2429. </Function>
  2430. <Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data">
  2431. <Param type="Sound" name="sound" desc="" />
  2432. <Param type="const void *" name="data" desc="" />
  2433. <Param type="int" name="sampleCount" desc="" />
  2434. </Function>
  2435. <Function name="UnloadWave" retType="void" paramCount="1" desc="Unload wave data">
  2436. <Param type="Wave" name="wave" desc="" />
  2437. </Function>
  2438. <Function name="UnloadSound" retType="void" paramCount="1" desc="Unload sound">
  2439. <Param type="Sound" name="sound" desc="" />
  2440. </Function>
  2441. <Function name="ExportWave" retType="bool" paramCount="2" desc="Export wave data to file, returns true on success">
  2442. <Param type="Wave" name="wave" desc="" />
  2443. <Param type="const char *" name="fileName" desc="" />
  2444. </Function>
  2445. <Function name="ExportWaveAsCode" retType="bool" paramCount="2" desc="Export wave sample data to code (.h), returns true on success">
  2446. <Param type="Wave" name="wave" desc="" />
  2447. <Param type="const char *" name="fileName" desc="" />
  2448. </Function>
  2449. <Function name="PlaySound" retType="void" paramCount="1" desc="Play a sound">
  2450. <Param type="Sound" name="sound" desc="" />
  2451. </Function>
  2452. <Function name="StopSound" retType="void" paramCount="1" desc="Stop playing a sound">
  2453. <Param type="Sound" name="sound" desc="" />
  2454. </Function>
  2455. <Function name="PauseSound" retType="void" paramCount="1" desc="Pause a sound">
  2456. <Param type="Sound" name="sound" desc="" />
  2457. </Function>
  2458. <Function name="ResumeSound" retType="void" paramCount="1" desc="Resume a paused sound">
  2459. <Param type="Sound" name="sound" desc="" />
  2460. </Function>
  2461. <Function name="PlaySoundMulti" retType="void" paramCount="1" desc="Play a sound (using multichannel buffer pool)">
  2462. <Param type="Sound" name="sound" desc="" />
  2463. </Function>
  2464. <Function name="StopSoundMulti" retType="void" paramCount="0" desc="Stop any sound playing (using multichannel buffer pool)">
  2465. </Function>
  2466. <Function name="GetSoundsPlaying" retType="int" paramCount="0" desc="Get number of sounds playing in the multichannel">
  2467. </Function>
  2468. <Function name="IsSoundPlaying" retType="bool" paramCount="1" desc="Check if a sound is currently playing">
  2469. <Param type="Sound" name="sound" desc="" />
  2470. </Function>
  2471. <Function name="SetSoundVolume" retType="void" paramCount="2" desc="Set volume for a sound (1.0 is max level)">
  2472. <Param type="Sound" name="sound" desc="" />
  2473. <Param type="float" name="volume" desc="" />
  2474. </Function>
  2475. <Function name="SetSoundPitch" retType="void" paramCount="2" desc="Set pitch for a sound (1.0 is base level)">
  2476. <Param type="Sound" name="sound" desc="" />
  2477. <Param type="float" name="pitch" desc="" />
  2478. </Function>
  2479. <Function name="WaveFormat" retType="void" paramCount="4" desc="Convert wave data to desired format">
  2480. <Param type="Wave *" name="wave" desc="" />
  2481. <Param type="int" name="sampleRate" desc="" />
  2482. <Param type="int" name="sampleSize" desc="" />
  2483. <Param type="int" name="channels" desc="" />
  2484. </Function>
  2485. <Function name="WaveCopy" retType="Wave" paramCount="1" desc="Copy a wave to a new wave">
  2486. <Param type="Wave" name="wave" desc="" />
  2487. </Function>
  2488. <Function name="WaveCrop" retType="void" paramCount="3" desc="Crop a wave to defined samples range">
  2489. <Param type="Wave *" name="wave" desc="" />
  2490. <Param type="int" name="initSample" desc="" />
  2491. <Param type="int" name="finalSample" desc="" />
  2492. </Function>
  2493. <Function name="LoadWaveSamples" retType="float *" paramCount="1" desc="Load samples data from wave as a floats array">
  2494. <Param type="Wave" name="wave" desc="" />
  2495. </Function>
  2496. <Function name="UnloadWaveSamples" retType="void" paramCount="1" desc="Unload samples data loaded with LoadWaveSamples()">
  2497. <Param type="float *" name="samples" desc="" />
  2498. </Function>
  2499. <Function name="LoadMusicStream" retType="Music" paramCount="1" desc="Load music stream from file">
  2500. <Param type="const char *" name="fileName" desc="" />
  2501. </Function>
  2502. <Function name="LoadMusicStreamFromMemory" retType="Music" paramCount="3" desc="Load music stream from data">
  2503. <Param type="const char *" name="fileType" desc="" />
  2504. <Param type="unsigned char *" name="data" desc="" />
  2505. <Param type="int" name="dataSize" desc="" />
  2506. </Function>
  2507. <Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream">
  2508. <Param type="Music" name="music" desc="" />
  2509. </Function>
  2510. <Function name="PlayMusicStream" retType="void" paramCount="1" desc="Start music playing">
  2511. <Param type="Music" name="music" desc="" />
  2512. </Function>
  2513. <Function name="IsMusicStreamPlaying" retType="bool" paramCount="1" desc="Check if music is playing">
  2514. <Param type="Music" name="music" desc="" />
  2515. </Function>
  2516. <Function name="UpdateMusicStream" retType="void" paramCount="1" desc="Updates buffers for music streaming">
  2517. <Param type="Music" name="music" desc="" />
  2518. </Function>
  2519. <Function name="StopMusicStream" retType="void" paramCount="1" desc="Stop music playing">
  2520. <Param type="Music" name="music" desc="" />
  2521. </Function>
  2522. <Function name="PauseMusicStream" retType="void" paramCount="1" desc="Pause music playing">
  2523. <Param type="Music" name="music" desc="" />
  2524. </Function>
  2525. <Function name="ResumeMusicStream" retType="void" paramCount="1" desc="Resume playing paused music">
  2526. <Param type="Music" name="music" desc="" />
  2527. </Function>
  2528. <Function name="SeekMusicStream" retType="void" paramCount="2" desc="Seek music to a position (in seconds)">
  2529. <Param type="Music" name="music" desc="" />
  2530. <Param type="float" name="position" desc="" />
  2531. </Function>
  2532. <Function name="SetMusicVolume" retType="void" paramCount="2" desc="Set volume for music (1.0 is max level)">
  2533. <Param type="Music" name="music" desc="" />
  2534. <Param type="float" name="volume" desc="" />
  2535. </Function>
  2536. <Function name="SetMusicPitch" retType="void" paramCount="2" desc="Set pitch for a music (1.0 is base level)">
  2537. <Param type="Music" name="music" desc="" />
  2538. <Param type="float" name="pitch" desc="" />
  2539. </Function>
  2540. <Function name="GetMusicTimeLength" retType="float" paramCount="1" desc="Get music time length (in seconds)">
  2541. <Param type="Music" name="music" desc="" />
  2542. </Function>
  2543. <Function name="GetMusicTimePlayed" retType="float" paramCount="1" desc="Get current music time played (in seconds)">
  2544. <Param type="Music" name="music" desc="" />
  2545. </Function>
  2546. <Function name="LoadAudioStream" retType="AudioStream" paramCount="3" desc="Load audio stream (to stream raw audio pcm data)">
  2547. <Param type="unsigned int" name="sampleRate" desc="" />
  2548. <Param type="unsigned int" name="sampleSize" desc="" />
  2549. <Param type="unsigned int" name="channels" desc="" />
  2550. </Function>
  2551. <Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory">
  2552. <Param type="AudioStream" name="stream" desc="" />
  2553. </Function>
  2554. <Function name="UpdateAudioStream" retType="void" paramCount="3" desc="Update audio stream buffers with data">
  2555. <Param type="AudioStream" name="stream" desc="" />
  2556. <Param type="const void *" name="data" desc="" />
  2557. <Param type="int" name="frameCount" desc="" />
  2558. </Function>
  2559. <Function name="IsAudioStreamProcessed" retType="bool" paramCount="1" desc="Check if any audio stream buffers requires refill">
  2560. <Param type="AudioStream" name="stream" desc="" />
  2561. </Function>
  2562. <Function name="PlayAudioStream" retType="void" paramCount="1" desc="Play audio stream">
  2563. <Param type="AudioStream" name="stream" desc="" />
  2564. </Function>
  2565. <Function name="PauseAudioStream" retType="void" paramCount="1" desc="Pause audio stream">
  2566. <Param type="AudioStream" name="stream" desc="" />
  2567. </Function>
  2568. <Function name="ResumeAudioStream" retType="void" paramCount="1" desc="Resume audio stream">
  2569. <Param type="AudioStream" name="stream" desc="" />
  2570. </Function>
  2571. <Function name="IsAudioStreamPlaying" retType="bool" paramCount="1" desc="Check if audio stream is playing">
  2572. <Param type="AudioStream" name="stream" desc="" />
  2573. </Function>
  2574. <Function name="StopAudioStream" retType="void" paramCount="1" desc="Stop audio stream">
  2575. <Param type="AudioStream" name="stream" desc="" />
  2576. </Function>
  2577. <Function name="SetAudioStreamVolume" retType="void" paramCount="2" desc="Set volume for audio stream (1.0 is max level)">
  2578. <Param type="AudioStream" name="stream" desc="" />
  2579. <Param type="float" name="volume" desc="" />
  2580. </Function>
  2581. <Function name="SetAudioStreamPitch" retType="void" paramCount="2" desc="Set pitch for audio stream (1.0 is base level)">
  2582. <Param type="AudioStream" name="stream" desc="" />
  2583. <Param type="float" name="pitch" desc="" />
  2584. </Function>
  2585. <Function name="SetAudioStreamBufferSizeDefault" retType="void" paramCount="1" desc="Default size for new audio streams">
  2586. <Param type="int" name="size" desc="" />
  2587. </Function>
  2588. </Functions>
  2589. </raylibAPI>