Versions in this module Expand all Collapse all v1 v1.0.1 Oct 30, 2019 v1.0.0 Oct 30, 2019 Changes in this version + const Deg2rad + const FlagFullscreenMode + const FlagMsaa4xHint + const FlagShowLogo + const FlagVsyncHint + const FlagWindowDecorated + const FlagWindowResizable + const FlagWindowTransparent + const GamepadPlayer1 + const GamepadPlayer2 + const GamepadPlayer3 + const GamepadPlayer4 + const GamepadPs3AxisL2 + const GamepadPs3AxisLeftX + const GamepadPs3AxisLeftY + const GamepadPs3AxisR2 + const GamepadPs3AxisRightX + const GamepadPs3AxisRightY + const GamepadPs3ButtonCircle + const GamepadPs3ButtonCross + const GamepadPs3ButtonDown + const GamepadPs3ButtonL1 + const GamepadPs3ButtonL2 + const GamepadPs3ButtonLeft + const GamepadPs3ButtonPs + const GamepadPs3ButtonR1 + const GamepadPs3ButtonR2 + const GamepadPs3ButtonRight + const GamepadPs3ButtonSelect + const GamepadPs3ButtonSquare + const GamepadPs3ButtonStart + const GamepadPs3ButtonTriangle + const GamepadPs3ButtonUp + const GamepadXboxAxisLeftX + const GamepadXboxAxisLeftY + const GamepadXboxAxisLt + const GamepadXboxAxisRightX + const GamepadXboxAxisRightY + const GamepadXboxAxisRt + const GamepadXboxButtonA + const GamepadXboxButtonB + const GamepadXboxButtonDown + const GamepadXboxButtonHome + const GamepadXboxButtonLb + const GamepadXboxButtonLeft + const GamepadXboxButtonRb + const GamepadXboxButtonRight + const GamepadXboxButtonSelect + const GamepadXboxButtonStart + const GamepadXboxButtonUp + const GamepadXboxButtonX + const GamepadXboxButtonY + const KeyA + const KeyB + const KeyBack + const KeyBackSlash + const KeyBackspace + const KeyC + const KeyCapsLock + const KeyD + const KeyDelete + const KeyDown + const KeyE + const KeyEight + const KeyEnd + const KeyEnter + const KeyEscape + const KeyF + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF2 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyFive + const KeyFour + const KeyG + const KeyGrave + const KeyH + const KeyHome + const KeyI + const KeyInsert + const KeyJ + const KeyK + const KeyL + const KeyLeft + const KeyLeftAlt + const KeyLeftControl + const KeyLeftShift + const KeyM + const KeyMenu + const KeyN + const KeyNine + const KeyNumLock + const KeyO + const KeyOne + const KeyP + const KeyPageDown + const KeyPageUp + const KeyPause + const KeyPrintScreen + const KeyQ + const KeyR + const KeyRight + const KeyRightAlt + const KeyRightControl + const KeyRightShift + const KeyS + const KeyScrollLock + const KeySeven + const KeySix + const KeySlash + const KeySpace + const KeyT + const KeyTab + const KeyThree + const KeyTwo + const KeyU + const KeyUp + const KeyV + const KeyVolumeDown + const KeyVolumeUp + const KeyW + const KeyX + const KeyY + const KeyZ + const KeyZero + const LocColorAmbient + const LocColorDiffuse + const LocColorSpecular + const LocMapAlbedo + const LocMapBrdf + const LocMapCubemap + const LocMapDiffuse + const LocMapEmission + const LocMapHeight + const LocMapIrradiance + const LocMapMetalness + const LocMapNormal + const LocMapOcclusion + const LocMapPrefilter + const LocMapRoughness + const LocMapSpecular + const LocMatrixModel + const LocMatrixMvp + const LocMatrixProjection + const LocMatrixView + const LocVectorView + const LocVertexColor + const LocVertexNormal + const LocVertexPosition + const LocVertexTangent + const LocVertexTexcoord01 + const LocVertexTexcoord02 + const LogDebug + const LogError + const LogInfo + const LogOther + const LogWarning + const MapAlbedo + const MapBrdf + const MapCubemap + const MapDiffuse + const MapEmission + const MapHeight + const MapIrradiance + const MapMetalness + const MapNormal + const MapOcclusion + const MapPrefilter + const MapRoughness + const MapSpecular + const MaxMaterialMaps + const MaxShaderLocations + const MaxTouchPoints + const MouseLeftButton + const MouseMiddleButton + const MouseRightButton + const Pi + const Rad2deg + var Beige = NewColor(211, 176, 131, 255) + var Black = NewColor(0, 0, 0, 255) + var Blank = NewColor(0, 0, 0, 0) + var Blue = NewColor(0, 121, 241, 255) + var Brown = NewColor(127, 106, 79, 255) + var DarkBlue = NewColor(0, 82, 172, 255) + var DarkBrown = NewColor(76, 63, 47, 255) + var DarkGray = NewColor(80, 80, 80, 255) + var DarkGreen = NewColor(0, 117, 44, 255) + var DarkPurple = NewColor(112, 31, 126, 255) + var Gold = NewColor(255, 203, 0, 255) + var Gray = NewColor(130, 130, 130, 255) + var Green = NewColor(0, 228, 48, 255) + var LightGray = NewColor(200, 200, 200, 255) + var Lime = NewColor(0, 158, 47, 255) + var Magenta = NewColor(255, 0, 255, 255) + var Maroon = NewColor(190, 33, 55, 255) + var Orange = NewColor(255, 161, 0, 255) + var Pink = NewColor(255, 109, 194, 255) + var Purple = NewColor(200, 122, 255, 255) + var RayWhite = NewColor(245, 245, 245, 255) + var Red = NewColor(230, 41, 55, 255) + var SkyBlue = NewColor(102, 191, 255, 255) + var Violet = NewColor(135, 60, 190, 255) + var White = NewColor(255, 255, 255, 255) + var Yellow = NewColor(253, 249, 0, 255) + func BeginBlendMode(mode BlendMode) + func BeginDrawing() + func BeginMode2D(camera Camera2D) + func BeginMode3D(camera Camera) + func BeginShaderMode(shader Shader) + func BeginTextureMode(target RenderTexture2D) + func BeginVrDrawing() + func CheckCollisionBoxSphere(box BoundingBox, centerSphere Vector3, radiusSphere float32) bool + func CheckCollisionBoxes(box1 BoundingBox, box2 BoundingBox) bool + func CheckCollisionCircleRec(center Vector2, radius float32, rec Rectangle) bool + func CheckCollisionCircles(center1 Vector2, radius1 float32, center2 Vector2, radius2 float32) bool + func CheckCollisionPointCircle(point Vector2, center Vector2, radius float32) bool + func CheckCollisionPointRec(point Vector2, rec Rectangle) bool + func CheckCollisionPointTriangle(point, p1, p2, p3 Vector2) bool + func CheckCollisionRayBox(ray Ray, box BoundingBox) bool + func CheckCollisionRaySphere(ray Ray, spherePosition Vector3, sphereRadius float32) bool + func CheckCollisionRaySphereEx(ray Ray, spherePosition Vector3, sphereRadius float32, collisionPoint Vector3) bool + func CheckCollisionRecs(rec1, rec2 Rectangle) bool + func CheckCollisionSpheres(centerA Vector3, radiusA float32, centerB Vector3, radiusB float32) bool + func ClearBackground(color Color) + func ClearDroppedFiles() + func CloseAudioDevice() + func CloseAudioStream(stream AudioStream) + func CloseVrSimulator() + func CloseWindow() + func ColorToInt(color Color) int32 + func DisableCursor() + func DrawBillboard(camera Camera, texture Texture2D, center Vector3, size float32, tint Color) + func DrawBillboardRec(camera Camera, texture Texture2D, sourceRec Rectangle, center Vector3, ...) + func DrawBoundingBox(box BoundingBox, color Color) + func DrawCircle(centerX, centerY int32, radius float32, color Color) + func DrawCircle3D(center Vector3, radius float32, rotationAxis Vector3, rotationAngle float32, ...) + func DrawCircleGradient(centerX, centerY int32, radius float32, color1, color2 Color) + func DrawCircleLines(centerX, centerY int32, radius float32, color Color) + func DrawCircleV(center Vector2, radius float32, color Color) + func DrawCube(position Vector3, width float32, height float32, length float32, color Color) + func DrawCubeTexture(texture Texture2D, position Vector3, width float32, height float32, ...) + func DrawCubeV(position Vector3, size Vector3, color Color) + func DrawCubeWires(position Vector3, width float32, height float32, length float32, color Color) + func DrawCylinder(position Vector3, radiusTop float32, radiusBottom float32, height float32, ...) + func DrawCylinderWires(position Vector3, radiusTop float32, radiusBottom float32, height float32, ...) + func DrawFPS(posX int32, posY int32) + func DrawGizmo(position Vector3) + func DrawGrid(slices int32, spacing float32) + func DrawLine(startPosX, startPosY, endPosX, endPosY int32, color Color) + func DrawLine3D(startPos Vector3, endPos Vector3, color Color) + func DrawLineBezier(startPos, endPos Vector2, thick float32, color Color) + func DrawLineEx(startPos, endPos Vector2, thick float32, color Color) + func DrawLineV(startPos, endPos Vector2, color Color) + func DrawModel(model Model, position Vector3, scale float32, tint Color) + func DrawModelEx(model Model, position Vector3, rotationAxis Vector3, rotationAngle float32, ...) + func DrawModelWires(model Model, position Vector3, scale float32, tint Color) + func DrawModelWiresEx(model Model, position Vector3, rotationAxis Vector3, rotationAngle float32, ...) + func DrawPixel(posX, posY int32, color Color) + func DrawPixelV(position Vector2, color Color) + func DrawPlane(centerPos Vector3, size Vector2, color Color) + func DrawPoly(center Vector2, sides int32, radius, rotation float32, color Color) + func DrawPolyEx(points []Vector2, numPoints int32, color Color) + func DrawPolyExLines(points []Vector2, numPoints int32, color Color) + func DrawRay(ray Ray, color Color) + func DrawRectangle(posX, posY, width, height int32, color Color) + func DrawRectangleGradientEx(rec Rectangle, color1, color2, color3, color4 Color) + func DrawRectangleGradientH(posX, posY, width, height int32, color1, color2 Color) + func DrawRectangleGradientV(posX, posY, width, height int32, color1, color2 Color) + func DrawRectangleLines(posX, posY, width, height int32, color Color) + func DrawRectangleLinesEx(rec Rectangle, lineThick int32, color Color) + func DrawRectanglePro(rec Rectangle, origin Vector2, rotation float32, color Color) + func DrawRectangleRec(rec Rectangle, color Color) + func DrawRectangleV(position Vector2, size Vector2, color Color) + func DrawSphere(centerPos Vector3, radius float32, color Color) + func DrawSphereEx(centerPos Vector3, radius float32, rings int32, slices int32, color Color) + func DrawSphereWires(centerPos Vector3, radius float32, rings int32, slices int32, color Color) + func DrawText(text string, posX int32, posY int32, fontSize int32, color Color) + func DrawTextEx(font Font, text string, position Vector2, fontSize float32, spacing float32, ...) + func DrawTexture(texture Texture2D, posX int32, posY int32, tint Color) + func DrawTextureEx(texture Texture2D, position Vector2, rotation, scale float32, tint Color) + func DrawTexturePro(texture Texture2D, sourceRec, destRec Rectangle, origin Vector2, ...) + func DrawTextureRec(texture Texture2D, sourceRec Rectangle, position Vector2, tint Color) + func DrawTextureV(texture Texture2D, position Vector2, tint Color) + func DrawTriangle(v1, v2, v3 Vector2, color Color) + func DrawTriangleLines(v1, v2, v3 Vector2, color Color) + func EnableCursor() + func EndBlendMode() + func EndDrawing() + func EndMode2D() + func EndMode3D() + func EndShaderMode() + func EndTextureMode() + func EndVrDrawing() + func ExportImage(name string, image Image) + func ExportMesh(fileName string, mesh Mesh) + func GenTextureMipmaps(texture *Texture2D) + func GetDroppedFiles(count *int32) []string + func GetFPS() float32 + func GetFrameTime() float32 + func GetGamepadAxisCount(gamepad int32) int32 + func GetGamepadAxisMovement(gamepad, axis int32) float32 + func GetGamepadButtonPressed() int32 + func GetGamepadName(gamepad int32) string + func GetGestureDragAngle() float32 + func GetGestureHoldDuration() float32 + func GetGesturePinchAngle() float32 + func GetKeyPressed() int32 + func GetMouseWheelMove() int32 + func GetMouseX() int32 + func GetMouseY() int32 + func GetMusicTimeLength(music Music) float32 + func GetMusicTimePlayed(music Music) float32 + func GetPixelDataSize(width, height, format int32) int32 + func GetRandomValue(min, max int32) int32 + func GetScreenHeight() int32 + func GetScreenWidth() int32 + func GetShaderLocation(shader Shader, uniformName string) int32 + func GetTime() float32 + func GetTouchPointsCount() int32 + func GetTouchX() int32 + func GetTouchY() int32 + func GetWaveData(wave Wave) []float32 + func HideCursor() + func HomeDir() string + func ImageAlphaClear(image *Image, color Color, threshold float32) + func ImageAlphaCrop(image *Image, threshold float32) + func ImageAlphaMask(image, alphaMask *Image) + func ImageAlphaPremultiply(image *Image) + func ImageColorBrightness(image *Image, brightness int32) + func ImageColorContrast(image *Image, contrast float32) + func ImageColorGrayscale(image *Image) + func ImageColorInvert(image *Image) + func ImageColorTint(image *Image, color Color) + func ImageCrop(image *Image, crop Rectangle) + func ImageDither(image *Image, rBpp, gBpp, bBpp, aBpp int32) + func ImageDraw(dst, src *Image, srcRec, dstRec Rectangle) + func ImageDrawRectangle(dst *Image, position Vector2, rec Rectangle, color Color) + func ImageDrawText(dst *Image, position Vector2, text string, fontSize int32, color Color) + func ImageDrawTextEx(dst *Image, position Vector2, font Font, text string, ...) + func ImageFlipHorizontal(image *Image) + func ImageFlipVertical(image *Image) + func ImageFormat(image *Image, newFormat PixelFormat) + func ImageMipmaps(image *Image) + func ImageResize(image *Image, newWidth, newHeight int32) + func ImageResizeNN(image *Image, newWidth, newHeight int32) + func ImageToPOT(image *Image, fillColor Color) + func InitAudioDevice() + func InitVrSimulator(vrDeviceInfo VrDeviceInfo) + func InitWindow(width int32, height int32, title string) + func IsAudioBufferProcessed(stream AudioStream) bool + func IsAudioDeviceReady() bool + func IsCursorHidden() bool + func IsFileDropped() bool + func IsGamepadAvailable(gamepad int32) bool + func IsGamepadButtonDown(gamepad, button int32) bool + func IsGamepadButtonPressed(gamepad, button int32) bool + func IsGamepadButtonReleased(gamepad, button int32) bool + func IsGamepadButtonUp(gamepad, button int32) bool + func IsGamepadName(gamepad int32, name string) bool + func IsGestureDetected(gesture Gestures) bool + func IsKeyDown(key int32) bool + func IsKeyPressed(key int32) bool + func IsKeyReleased(key int32) bool + func IsKeyUp(key int32) bool + func IsMouseButtonDown(button int32) bool + func IsMouseButtonPressed(button int32) bool + func IsMouseButtonReleased(button int32) bool + func IsMouseButtonUp(button int32) bool + func IsMusicPlaying(music Music) bool + func IsSoundPlaying(sound Sound) bool + func IsVrSimulatorReady() bool + func IsWindowMinimized() bool + func IsWindowReady() bool + func MatrixToFloat(mat Matrix) []float32 + func MeasureText(text string, fontSize int32) int32 + func PauseAudioStream(stream AudioStream) + func PauseMusicStream(music Music) + func PauseSound(sound Sound) + func PlayAudioStream(stream AudioStream) + func PlayMusicStream(music Music) + func PlaySound(sound Sound) + func ResumeAudioStream(stream AudioStream) + func ResumeMusicStream(music Music) + func ResumeSound(sound Sound) + func SetCallbackFunc(func()) + func SetCameraAltControl(altKey int32) + func SetCameraMode(camera Camera, mode CameraMode) + func SetCameraMoveControls(frontKey int32, backKey int32, rightKey int32, leftKey int32, upKey int32, ...) + func SetCameraPanControl(panKey int32) + func SetCameraSmoothZoomControl(szKey int32) + func SetConfigFlags(flags byte) + func SetExitKey(key int32) + func SetGesturesEnabled(gestureFlags uint32) + func SetMasterVolume(volume float32) + func SetMatrixModelview(view Matrix) + func SetMatrixProjection(proj Matrix) + func SetMousePosition(position Vector2) + func SetMouseScale(scale float32) + func SetMusicLoopCount(music Music, count int32) + func SetMusicPitch(music Music, pitch float32) + func SetMusicVolume(music Music, volume float32) + func SetShaderValue(shader Shader, uniformLoc int32, value []float32, size int32) + func SetShaderValueMatrix(shader Shader, uniformLoc int32, mat Matrix) + func SetShaderValuei(shader Shader, uniformLoc int32, value []int32, size int32) + func SetSoundPitch(sound Sound, pitch float32) + func SetSoundVolume(sound Sound, volume float32) + func SetTargetFPS(fps int32) + func SetTextureFilter(texture Texture2D, filterMode TextureFilterMode) + func SetTextureWrap(texture Texture2D, wrapMode TextureWrapMode) + func SetTraceLog(typeFlags int) + func SetWindowIcon(image Image) + func SetWindowMinSize(w, h int32) + func SetWindowMonitor(monitor int32) + func SetWindowPosition(x, y int32) + func SetWindowSize(w, h int32) + func SetWindowTitle(title string) + func ShowCursor() + func ShowLogo() + func StopAudioStream(stream AudioStream) + func StopMusicStream(music Music) + func StopSound(sound Sound) + func StorageLoadValue(position int32) int32 + func StorageSaveValue(position, value int32) + func TakeScreenshot(name string) + func ToggleFullscreen() + func ToggleVrMode() + func TraceLog(msgType int, text string, v ...interface{}) + func UnloadFont(font Font) + func UnloadImage(image *Image) + func UnloadMaterial(material Material) + func UnloadMesh(mesh *Mesh) + func UnloadModel(model Model) + func UnloadMusicStream(music Music) + func UnloadRenderTexture(target RenderTexture2D) + func UnloadShader(shader Shader) + func UnloadSound(sound Sound) + func UnloadTexture(texture Texture2D) + func UnloadWave(wave Wave) + func UpdateAudioStream(stream AudioStream, data []float32, samplesCount int32) + func UpdateCamera(camera *Camera) + func UpdateMusicStream(music Music) + func UpdateSound(sound Sound, data []byte, samplesCount int32) + func UpdateTexture(texture Texture2D, pixels []Color) + func UpdateVrTracking(camera *Camera) + func Vector3ToFloat(vec Vector3) []float32 + func WaveCrop(wave Wave, initSample int32, finalSample int32) + func WaveFormat(wave Wave, sampleRate int32, sampleSize int32, channels int32) + func WindowShouldClose() bool + type Asset interface + func OpenAsset(name string) (Asset, error) + type AudioStream struct + Buffers [2]uint32 + Channels uint32 + Format int32 + SampleRate uint32 + SampleSize uint32 + Source uint32 + func InitAudioStream(sampleRate uint32, sampleSize uint32, channels uint32) AudioStream + func NewAudioStream(sampleRate, sampleSize, channels uint32, format int32, source uint32, ...) AudioStream + type BlendMode int32 + const BlendAdditive + const BlendAlpha + const BlendMultiplied + type BoundingBox struct + Max Vector3 + Min Vector3 + func MeshBoundingBox(mesh Mesh) BoundingBox + func NewBoundingBox(min, max Vector3) BoundingBox + type Camera = Camera3D + type Camera2D struct + Offset Vector2 + Rotation float32 + Target Vector2 + Zoom float32 + func NewCamera2D(offset, target Vector2, rotation, zoom float32) Camera2D + type Camera3D struct + Fovy float32 + Position Vector3 + Target Vector3 + Type CameraType + Up Vector3 + func NewCamera3D(pos, target, up Vector3, fovy float32, ct CameraType) Camera3D + type CameraMode int32 + const CameraCustom + const CameraFirstPerson + const CameraFree + const CameraOrbital + const CameraThirdPerson + type CameraType int32 + const CameraOrthographic + const CameraPerspective + type CharInfo struct + AdvanceX int32 + OffsetX int32 + OffsetY int32 + Rec Rectangle + Value int32 + func NewCharInfo(value int32, rec Rectangle, offsetX, offsetY, advanceX int32) CharInfo + type Color struct + A uint8 + B uint8 + G uint8 + R uint8 + func Fade(color Color, alpha float32) Color + func GetColor(hexValue int32) Color + func GetImageData(img *Image) []Color + func NewColor(r, g, b, a uint8) Color + type Font struct + BaseSize int32 + Chars *CharInfo + CharsCount int32 + Texture Texture2D + func GetDefaultFont() Font + func LoadFont(fileName string) Font + func LoadFontEx(fileName string, fontSize int32, charsCount int32, fontChars *int32) Font + func NewFont(texture Texture2D, baseSize, charsCount int32, chars *CharInfo) Font + type Gestures int32 + const GestureDoubletap + const GestureDrag + const GestureHold + const GestureNone + const GesturePinchIn + const GesturePinchOut + const GestureSwipeDown + const GestureSwipeLeft + const GestureSwipeRight + const GestureSwipeUp + const GestureTap + func GetGestureDetected() Gestures + type Image struct + Format PixelFormat + Height int32 + Mipmaps int32 + Width int32 + func GenImageCellular(width, height, tileSize int) *Image + func GenImageChecked(width, height, checksX, checksY int, col1, col2 Color) *Image + func GenImageColor(width, height int, color Color) *Image + func GenImageGradientH(width, height int, left, right Color) *Image + func GenImageGradientRadial(width, height int, density float32, inner, outer Color) *Image + func GenImageGradientV(width, height int, top, bottom Color) *Image + func GenImagePerlinNoise(width, height, offsetX, offsetY int, scale float32) *Image + func GenImageWhiteNoise(width, height int, factor float32) *Image + func GetTextureData(texture Texture2D) *Image + func ImageCopy(image *Image) *Image + func ImageText(text string, fontSize int32, color Color) *Image + func ImageTextEx(font Font, text string, fontSize, spacing float32, tint Color) *Image + func LoadImage(fileName string) *Image + func LoadImageEx(pixels []Color, width, height int32) *Image + func LoadImagePro(data []byte, width, height int32, format PixelFormat) *Image + func LoadImageRaw(fileName string, width, height int32, format PixelFormat, headerSize int32) *Image + func NewImage(data []byte, width, height, mipmaps int32, format PixelFormat) *Image + func NewImageFromImage(img image.Image) *Image + func (i *Image) ToImage() image.Image + type Mat2 struct + M00 float32 + M01 float32 + M10 float32 + M11 float32 + func NewMat2(m0, m1, m10, m11 float32) Mat2 + type Material struct + Maps [MaxMaterialMaps]MaterialMap + Params *[]float32 + Shader Shader + func LoadMaterial(fileName string) Material + func LoadMaterialDefault() Material + func NewMaterial(shader Shader, maps [MaxMaterialMaps]MaterialMap, params *[]float32) Material + type MaterialMap struct + Color Color + Texture Texture2D + Value float32 + type Matrix struct + M0 float32 + M1 float32 + M10 float32 + M11 float32 + M12 float32 + M13 float32 + M14 float32 + M15 float32 + M2 float32 + M3 float32 + M4 float32 + M5 float32 + M6 float32 + M7 float32 + M8 float32 + M9 float32 + func GetCameraMatrix(camera Camera) Matrix + func NewMatrix(m0, m4, m8, m12, m1, m5, m9, m13, m2, m6, m10, m14, m3, m7, m11, m15 float32) Matrix + type Mesh struct + Colors *[]uint8 + Indices *[]uint16 + Normals *[]float32 + Tangents *[]float32 + Texcoords *[]float32 + Texcoords2 *[]float32 + TriangleCount int32 + VaoID uint32 + VboID [7]uint32 + VertexCount int32 + Vertices *[]float32 + func GenMeshCube(width, height, length float32) Mesh + func GenMeshCubicmap(cubicmap Image, size Vector3) Mesh + func GenMeshCylinder(radius, height float32, slices int) Mesh + func GenMeshHeightmap(heightmap Image, size Vector3) Mesh + func GenMeshHemiSphere(radius float32, rings, slices int) Mesh + func GenMeshKnot(radius, size float32, radSeg, sides int) Mesh + func GenMeshPlane(width, length float32, resX, resZ int) Mesh + func GenMeshSphere(radius float32, rings, slices int) Mesh + func GenMeshTorus(radius, size float32, radSeg, sides int) Mesh + func LoadMesh(fileName string) Mesh + func NewMesh(vertexCount, triangleCount int32, ...) Mesh + type Model struct + Material Material + Mesh Mesh + Transform Matrix + func LoadModel(fileName string) Model + func LoadModelFromMesh(data Mesh) Model + func NewModel(mesh Mesh, transform Matrix, material Material) Model + type Music struct + CtxType uint32 + LoopCount int32 + SamplesLeft uint32 + Stream AudioStream + TotalSamples uint32 + func LoadMusicStream(fileName string) Music + type PixelFormat int32 + const CompressedAstc4x4Rgba + const CompressedAstc8x8Rgba + const CompressedDxt1Rgb + const CompressedDxt1Rgba + const CompressedDxt3Rgba + const CompressedDxt5Rgba + const CompressedEtc1Rgb + const CompressedEtc2EacRgba + const CompressedEtc2Rgb + const CompressedPvrtRgb + const CompressedPvrtRgba + const UncompressedGrayAlpha + const UncompressedGrayscale + const UncompressedR32 + const UncompressedR32g32b32 + const UncompressedR32g32b32a32 + const UncompressedR4g4b4a4 + const UncompressedR5g5b5a1 + const UncompressedR5g6b5 + const UncompressedR8g8b8 + const UncompressedR8g8b8a8 + type Quaternion struct + W float32 + X float32 + Y float32 + Z float32 + func NewQuaternion(x, y, z, w float32) Quaternion + type Ray struct + Direction Vector3 + Position Vector3 + func GetMouseRay(mousePosition Vector2, camera Camera) Ray + func NewRay(position, direction Vector3) Ray + type Rectangle struct + Height float32 + Width float32 + X float32 + Y float32 + func GetCollisionRec(rec1, rec2 Rectangle) Rectangle + func NewRectangle(x, y, width, height float32) Rectangle + func (r *Rectangle) ToInt32() RectangleInt32 + type RectangleInt32 struct + Height int32 + Width int32 + X int32 + Y int32 + func (r *RectangleInt32) ToFloat32() Rectangle + type RenderTexture2D struct + Depth Texture2D + ID uint32 + Texture Texture2D + func LoadRenderTexture(width, height int32) RenderTexture2D + func NewRenderTexture2D(id uint32, texture, depth Texture2D) RenderTexture2D + type Shader struct + ID uint32 + Locs [MaxShaderLocations]int32 + func GetShaderDefault() Shader + func LoadShader(vsFileName string, fsFileName string) Shader + func LoadShaderCode(vsCode string, fsCode string) Shader + func NewShader(id uint32, locs [MaxShaderLocations]int32) Shader + type Sound struct + Buffer uint32 + Format int32 + Source uint32 + func LoadSound(fileName string) Sound + func LoadSoundFromWave(wave Wave) Sound + func NewSound(source, buffer uint32, format int32) Sound + type Texture2D struct + Format PixelFormat + Height int32 + ID uint32 + Mipmaps int32 + Width int32 + func GenTextureBRDF(shader Shader, cubemap Texture2D, size int) Texture2D + func GenTextureCubemap(shader Shader, skyHDR Texture2D, size int) Texture2D + func GenTextureIrradiance(shader Shader, cubemap Texture2D, size int) Texture2D + func GenTexturePrefilter(shader Shader, cubemap Texture2D, size int) Texture2D + func GetTextureDefault() *Texture2D + func LoadTexture(fileName string) Texture2D + func LoadTextureFromImage(image *Image) Texture2D + func NewTexture2D(id uint32, width, height, mipmaps int32, format PixelFormat) Texture2D + type TextureFilterMode int32 + const FilterAnisotropic16x + const FilterAnisotropic4x + const FilterAnisotropic8x + const FilterBilinear + const FilterPoint + const FilterTrilinear + type TextureWrapMode int32 + const WrapClamp + const WrapMirror + const WrapRepeat + type Vector2 struct + X float32 + Y float32 + func GetGestureDragVector() Vector2 + func GetGesturePinchVector() Vector2 + func GetMousePosition() Vector2 + func GetTouchPosition(index int32) Vector2 + func GetWorldToScreen(position Vector3, camera Camera) Vector2 + func MeasureTextEx(font Font, text string, fontSize float32, spacing float32) Vector2 + func NewVector2(x, y float32) Vector2 + type Vector3 struct + X float32 + Y float32 + Z float32 + func ColorToHSV(color Color) Vector3 + func NewVector3(X, Y, Z float32) Vector3 + type Vector4 struct + W float32 + X float32 + Y float32 + Z float32 + func ColorNormalize(color Color) Vector4 + func NewVector4(X, Y, Z, W float32) Vector4 + type VrDevice int32 + const HmdDefaultDevice + const HmdOculusGo + const HmdOculusRiftCv1 + const HmdOculusRiftDk2 + const HmdSonyPsvr + const HmdValveHtcVive + type VrDeviceInfo struct + func GetVrDeviceInfo(vrDevice VrDevice) VrDeviceInfo + func NewVrDeviceInfo(hResolution, vResolution int, ...) VrDeviceInfo + type Wave struct + Channels uint32 + SampleCount uint32 + SampleRate uint32 + SampleSize uint32 + func LoadWave(fileName string) Wave + func LoadWaveEx(data []byte, sampleCount int32, sampleRate int32, sampleSize int32, ...) Wave + func NewWave(sampleCount, sampleRate, sampleSize, channels uint32, data []byte) Wave + func WaveCopy(wave Wave) Wave