Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file raylib_types.ml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494moduleDescriptions(F:Cstubs.Types.TYPE)=structopenCtypesopenFmoduleVector2=structtypet=[`Vector2]lett:tstructuretyp=structure"Vector2"letx=fieldt"x"floatlety=fieldt"y"floatlet()=sealtendmoduleVector3=structtypet=[`Vector3]lett:tstructuretyp=structure"Vector3"letx=fieldt"x"floatlety=fieldt"y"floatletz=fieldt"z"floatlet()=sealtendmoduleVector4=structtypet=[`Vector4]lett:tstructuretyp=structure"Vector4"letx=fieldt"x"floatlety=fieldt"y"floatletz=fieldt"z"floatletw=fieldt"w"floatlet()=sealtendmoduleMatrix=structtypet=[`Matrix]lett:tstructuretyp=structure"Matrix"letm0=fieldt"m0"floatletm4=fieldt"m4"floatletm8=fieldt"m8"floatletm12=fieldt"m12"floatletm1=fieldt"m1"floatletm5=fieldt"m5"floatletm9=fieldt"m9"floatletm13=fieldt"m13"floatletm2=fieldt"m2"floatletm6=fieldt"m6"floatletm10=fieldt"m10"floatletm14=fieldt"m14"floatletm3=fieldt"m3"floatletm7=fieldt"m7"floatletm11=fieldt"m11"floatletm15=fieldt"m15"floatlet()=sealtendmoduleColor=structtypet=[`Color]lett:tstructuretyp=structure"Color"letr=fieldt"r"uint8_tletg=fieldt"g"uint8_tletb=fieldt"b"uint8_tleta=fieldt"a"uint8_tlet()=sealtendmoduleRectangle=structtypet=[`Rectangle]lett:tstructuretyp=structure"Rectangle"letx=fieldt"x"floatlety=fieldt"y"floatletwidth=fieldt"width"floatletheight=fieldt"height"floatlet()=sealtendmodulePixelFormat=structtypet=|UncompressedGrayscale|UncompressedGrayAlpha|UncompressedR5G6B5|UncompressedR8G8B8|UncompressedR5G5B5A1|UncompressedR4G4B4A4|UncompressedR8G8B8A8|UncompressedR32|UncompressedR32G32B32|UncompressedR32G32B32A32|CompressedDxt1Rgb|CompressedDxt1Rgba|CompressedDxt3Rgba|CompressedDxt5Rgba|CompressedEtc1Rgb|CompressedEtc2Rgb|CompressedEtc2EacRgba|CompressedPvrtRgb|CompressedPvrtRgba|CompressedAstc4X4Rgba|CompressedAstc8X8Rgbalett=enum~typedef:true"PixelFormat"[(UncompressedGrayscale,constant"UNCOMPRESSED_GRAYSCALE"int64_t);(UncompressedGrayAlpha,constant"UNCOMPRESSED_GRAY_ALPHA"int64_t);(UncompressedR5G6B5,constant"UNCOMPRESSED_R5G6B5"int64_t);(UncompressedR8G8B8,constant"UNCOMPRESSED_R8G8B8"int64_t);(UncompressedR5G5B5A1,constant"UNCOMPRESSED_R5G5B5A1"int64_t);(UncompressedR4G4B4A4,constant"UNCOMPRESSED_R4G4B4A4"int64_t);(UncompressedR8G8B8A8,constant"UNCOMPRESSED_R8G8B8A8"int64_t);(UncompressedR32,constant"UNCOMPRESSED_R32"int64_t);(UncompressedR32G32B32,constant"UNCOMPRESSED_R32G32B32"int64_t);(UncompressedR32G32B32A32,constant"UNCOMPRESSED_R32G32B32A32"int64_t);(CompressedDxt1Rgb,constant"COMPRESSED_DXT1_RGB"int64_t);(CompressedDxt1Rgba,constant"COMPRESSED_DXT1_RGBA"int64_t);(CompressedDxt3Rgba,constant"COMPRESSED_DXT3_RGBA"int64_t);(CompressedDxt5Rgba,constant"COMPRESSED_DXT5_RGBA"int64_t);(CompressedEtc1Rgb,constant"COMPRESSED_ETC1_RGB"int64_t);(CompressedEtc2Rgb,constant"COMPRESSED_ETC2_RGB"int64_t);(CompressedEtc2EacRgba,constant"COMPRESSED_ETC2_EAC_RGBA"int64_t);(CompressedPvrtRgb,constant"COMPRESSED_PVRT_RGB"int64_t);(CompressedPvrtRgba,constant"COMPRESSED_PVRT_RGBA"int64_t);(CompressedAstc4X4Rgba,constant"COMPRESSED_ASTC_4x4_RGBA"int64_t);(CompressedAstc8X8Rgba,constant"COMPRESSED_ASTC_8x8_RGBA"int64_t);]endmoduleImage=structtypet=[`Image]lett:tstructuretyp=structure"Image"letdata=fieldt"data"(ptrvoid)letwidth=fieldt"width"intletheight=fieldt"height"intletmipmaps=fieldt"mipmaps"intletformat=fieldt"format"PixelFormat.tlet()=sealtendmoduleTexture2D=structtypet=[`Texture2D]lett:tstructuretyp=structure"Texture2D"letid=fieldt"id"intletwidth=fieldt"width"intletheight=fieldt"height"intletmipmaps=fieldt"mipmaps"intletformat=fieldt"format"PixelFormat.tlet()=sealtendmoduleRenderTexture2D=structtypet=[`RenderTexture2D]lett:tstructuretyp=structure"RenderTexture2D"lettexture=fieldt"texture"Texture2D.tletdepth=fieldt"depth"Texture2D.tletdepth_texture=fieldt"depthTexture"boollet()=sealtendmoduleNPatchType=structtypet=NinePatch|ThreePatchVertical|ThreePatchHorizontallett=enum~typedef:true"NPatchType"[(NinePatch,constant"NPT_9PATCH"int64_t);(ThreePatchVertical,constant"NPT_3PATCH_VERTICAL"int64_t);(ThreePatchHorizontal,constant"NPT_3PATCH_HORIZONTAL"int64_t);]endmoduleNPatchInfo=structtypet=[`NPatchInfo]lett:tstructuretyp=structure"NPatchInfo"letsource_rec=fieldt"sourceRec"Rectangle.tletleft=fieldt"left"intlettop=fieldt"top"intletright=fieldt"right"intletbottom=fieldt"bottom"intlettyp=fieldt"type"NPatchType.tlet()=sealtendmoduleCharInfo=structtypet=[`CharInfo]lett:tstructuretyp=structure"CharInfo"letvalue=fieldt"value"intletoffset_x=fieldt"offsetX"intletoffset_y=fieldt"offsetY"intletadvance_x=fieldt"advanceX"intletimage=fieldt"image"Image.tlet()=sealtendmoduleFont=structtypet=[`Font]lett:tstructuretyp=structure"Font"letbase_size=fieldt"baseSize"intletchars_count=fieldt"charsCount"intlettexture=fieldt"texture"Texture2D.tletrecs=fieldt"recs"(ptrRectangle.t)letchars=fieldt"chars"(ptrCharInfo.t)let()=sealtendmoduleCameraType=structtypet=Perspective|Orthographiclett=enum~typedef:true"CameraType"[(Perspective,constant"CAMERA_PERSPECTIVE"int64_t);(Orthographic,constant"CAMERA_ORTHOGRAPHIC"int64_t);]endmoduleCamera3D=structtypet=[`Camera3D]lett:tstructuretyp=structure"Camera3D"letposition=fieldt"position"Vector3.tlettarget=fieldt"target"Vector3.tletup=fieldt"up"Vector3.tletfovy=fieldt"fovy"floatlettyp=fieldt"type"CameraType.tlet()=sealtendmoduleCamera2D=structtypet=[`Camera2D]lett:tstructuretyp=structure"Camera2D"letoffset=fieldt"offset"Vector2.tlettarget=fieldt"target"Vector2.tletrotation=fieldt"rotation"floatletzoom=fieldt"zoom"floatlet()=sealtend(* we are getting lazy. will update fields once/if we need them *)moduleMesh=structtypet=[`Mesh]lett:tstructuretyp=structure"Mesh"let()=sealtendmoduleShader=structtypet=[`Shader]lett:tstructuretyp=structure"Shader"let()=sealtendmoduleMaterialMap=structtypet=[`MaterialMap]lett:tstructuretyp=structure"MaterialMap"let()=sealtendmoduleMaterial=structtypet=[`Material]lett:tstructuretyp=structure"Material"let()=sealtendmoduleTransform=structtypet=[`Transform]lett:tstructuretyp=structure"Transform"let()=sealtendmoduleBoneInfo=structtypet=[`BoneInfo]lett:tstructuretyp=structure"BoneInfo"let()=sealtendmoduleModel=structtypet=[`Model]lett:tstructuretyp=structure"Model"let()=sealtendmoduleModelAnimation=structtypet=[`ModelAnimation]lett:tstructuretyp=structure"ModelAnimation"let()=sealtendmoduleRay=structtypet=[`Ray]lett:tstructuretyp=structure"Ray"letposition=fieldt"position"Vector3.tletdirection=fieldt"direction"Vector3.tlet()=sealtendmoduleRayHitInfo=structtypet=[`RayHitInfo]lett:tstructuretyp=structure"RayHitInfo"lethit=fieldt"hit"boolletdistance=fieldt"distance"floatletposition=fieldt"position"Vector3.tletnormal=fieldt"normal"Vector3.tlet()=sealtendmoduleBoundingBox=structtypet=[`BoundingBox]lett:tstructuretyp=structure"BoundingBox"letmin=fieldt"min"Vector3.tletmax=fieldt"max"Vector3.tlet()=sealtendmoduleWave=structtypet=[`Wave]lett:tstructuretyp=structure"Wave"let()=sealtendmoduleAudioStream=structtypet=[`AudioStream]lett:tstructuretyp=structure"AudioStream"let()=sealtendmoduleSound=structtypet=[`Sound]lett:tstructuretyp=structure"Sound"let()=sealtendmoduleMusic=structtypet=[`Music]lett:tstructuretyp=structure"Music"let()=sealtendmoduleConfigFlag=structlett=uint32_tletreserved=constant"FLAG_RESERVED"uint32_tletfullscreen=constant"FLAG_FULLSCREEN_MODE"uint32_tletresizable=constant"FLAG_WINDOW_RESIZABLE"uint32_tletundecorated=constant"FLAG_WINDOW_UNDECORATED"uint32_tlettransparent=constant"FLAG_WINDOW_TRANSPARENT"uint32_tlethidden=constant"FLAG_WINDOW_HIDDEN"uint32_tletalways_run=constant"FLAG_WINDOW_ALWAYS_RUN"uint32_tletmsaa_4x_hint=constant"FLAG_MSAA_4X_HINT"uint32_tletvsync_hint=constant"FLAG_VSYNC_HINT"uint32_tlet(+)=Unsigned.UInt32.logorendend