diff --git a/dynamic/raylib/enums.py b/dynamic/raylib/enums.py index e69de29..1e66663 100644 --- a/dynamic/raylib/enums.py +++ b/dynamic/raylib/enums.py @@ -0,0 +1,714 @@ +from enum import IntEnum + +class ConfigFlags(IntEnum): + FLAG_VSYNC_HINT = 64 + FLAG_FULLSCREEN_MODE = 2 + FLAG_WINDOW_RESIZABLE = 4 + FLAG_WINDOW_UNDECORATED = 8 + FLAG_WINDOW_HIDDEN = 128 + FLAG_WINDOW_MINIMIZED = 512 + FLAG_WINDOW_MAXIMIZED = 1024 + FLAG_WINDOW_UNFOCUSED = 2048 + FLAG_WINDOW_TOPMOST = 4096 + FLAG_WINDOW_ALWAYS_RUN = 256 + FLAG_WINDOW_TRANSPARENT = 16 + FLAG_WINDOW_HIGHDPI = 8192 + FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384 + FLAG_BORDERLESS_WINDOWED_MODE = 32768 + FLAG_MSAA_4X_HINT = 32 + FLAG_INTERLACED_HINT = 65536 + +class TraceLogLevel(IntEnum): + LOG_ALL = 0 + LOG_TRACE = 1 + LOG_DEBUG = 2 + LOG_INFO = 3 + LOG_WARNING = 4 + LOG_ERROR = 5 + LOG_FATAL = 6 + LOG_NONE = 7 + +class KeyboardKey(IntEnum): + KEY_NULL = 0 + KEY_APOSTROPHE = 39 + KEY_COMMA = 44 + KEY_MINUS = 45 + KEY_PERIOD = 46 + KEY_SLASH = 47 + KEY_ZERO = 48 + KEY_ONE = 49 + KEY_TWO = 50 + KEY_THREE = 51 + KEY_FOUR = 52 + KEY_FIVE = 53 + KEY_SIX = 54 + KEY_SEVEN = 55 + KEY_EIGHT = 56 + KEY_NINE = 57 + KEY_SEMICOLON = 59 + KEY_EQUAL = 61 + KEY_A = 65 + KEY_B = 66 + KEY_C = 67 + KEY_D = 68 + KEY_E = 69 + KEY_F = 70 + KEY_G = 71 + KEY_H = 72 + KEY_I = 73 + KEY_J = 74 + KEY_K = 75 + KEY_L = 76 + KEY_M = 77 + KEY_N = 78 + KEY_O = 79 + KEY_P = 80 + KEY_Q = 81 + KEY_R = 82 + KEY_S = 83 + KEY_T = 84 + KEY_U = 85 + KEY_V = 86 + KEY_W = 87 + KEY_X = 88 + KEY_Y = 89 + KEY_Z = 90 + KEY_LEFT_BRACKET = 91 + KEY_BACKSLASH = 92 + KEY_RIGHT_BRACKET = 93 + KEY_GRAVE = 96 + KEY_SPACE = 32 + KEY_ESCAPE = 256 + KEY_ENTER = 257 + KEY_TAB = 258 + KEY_BACKSPACE = 259 + KEY_INSERT = 260 + KEY_DELETE = 261 + KEY_RIGHT = 262 + KEY_LEFT = 263 + KEY_DOWN = 264 + KEY_UP = 265 + KEY_PAGE_UP = 266 + KEY_PAGE_DOWN = 267 + KEY_HOME = 268 + KEY_END = 269 + KEY_CAPS_LOCK = 280 + KEY_SCROLL_LOCK = 281 + KEY_NUM_LOCK = 282 + KEY_PRINT_SCREEN = 283 + KEY_PAUSE = 284 + KEY_F1 = 290 + KEY_F2 = 291 + KEY_F3 = 292 + KEY_F4 = 293 + KEY_F5 = 294 + KEY_F6 = 295 + KEY_F7 = 296 + KEY_F8 = 297 + KEY_F9 = 298 + KEY_F10 = 299 + KEY_F11 = 300 + KEY_F12 = 301 + KEY_LEFT_SHIFT = 340 + KEY_LEFT_CONTROL = 341 + KEY_LEFT_ALT = 342 + KEY_LEFT_SUPER = 343 + KEY_RIGHT_SHIFT = 344 + KEY_RIGHT_CONTROL = 345 + KEY_RIGHT_ALT = 346 + KEY_RIGHT_SUPER = 347 + KEY_KB_MENU = 348 + KEY_KP_0 = 320 + KEY_KP_1 = 321 + KEY_KP_2 = 322 + KEY_KP_3 = 323 + KEY_KP_4 = 324 + KEY_KP_5 = 325 + KEY_KP_6 = 326 + KEY_KP_7 = 327 + KEY_KP_8 = 328 + KEY_KP_9 = 329 + KEY_KP_DECIMAL = 330 + KEY_KP_DIVIDE = 331 + KEY_KP_MULTIPLY = 332 + KEY_KP_SUBTRACT = 333 + KEY_KP_ADD = 334 + KEY_KP_ENTER = 335 + KEY_KP_EQUAL = 336 + KEY_BACK = 4 + KEY_MENU = 82 + KEY_VOLUME_UP = 24 + KEY_VOLUME_DOWN = 25 + +class MouseButton(IntEnum): + MOUSE_BUTTON_LEFT = 0 + MOUSE_BUTTON_RIGHT = 1 + MOUSE_BUTTON_MIDDLE = 2 + MOUSE_BUTTON_SIDE = 3 + MOUSE_BUTTON_EXTRA = 4 + MOUSE_BUTTON_FORWARD = 5 + MOUSE_BUTTON_BACK = 6 + +class MouseCursor(IntEnum): + MOUSE_CURSOR_DEFAULT = 0 + MOUSE_CURSOR_ARROW = 1 + MOUSE_CURSOR_IBEAM = 2 + MOUSE_CURSOR_CROSSHAIR = 3 + MOUSE_CURSOR_POINTING_HAND = 4 + MOUSE_CURSOR_RESIZE_EW = 5 + MOUSE_CURSOR_RESIZE_NS = 6 + MOUSE_CURSOR_RESIZE_NWSE = 7 + MOUSE_CURSOR_RESIZE_NESW = 8 + MOUSE_CURSOR_RESIZE_ALL = 9 + MOUSE_CURSOR_NOT_ALLOWED = 10 + +class GamepadButton(IntEnum): + GAMEPAD_BUTTON_UNKNOWN = 0 + GAMEPAD_BUTTON_LEFT_FACE_UP = 1 + GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2 + GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3 + GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4 + GAMEPAD_BUTTON_RIGHT_FACE_UP = 5 + GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 + GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7 + GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 + GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9 + GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10 + GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 + GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12 + GAMEPAD_BUTTON_MIDDLE_LEFT = 13 + GAMEPAD_BUTTON_MIDDLE = 14 + GAMEPAD_BUTTON_MIDDLE_RIGHT = 15 + GAMEPAD_BUTTON_LEFT_THUMB = 16 + GAMEPAD_BUTTON_RIGHT_THUMB = 17 + +class GamepadAxis(IntEnum): + GAMEPAD_AXIS_LEFT_X = 0 + GAMEPAD_AXIS_LEFT_Y = 1 + GAMEPAD_AXIS_RIGHT_X = 2 + GAMEPAD_AXIS_RIGHT_Y = 3 + GAMEPAD_AXIS_LEFT_TRIGGER = 4 + GAMEPAD_AXIS_RIGHT_TRIGGER = 5 + +class MaterialMapIndex(IntEnum): + MATERIAL_MAP_ALBEDO = 0 + MATERIAL_MAP_METALNESS = 1 + MATERIAL_MAP_NORMAL = 2 + MATERIAL_MAP_ROUGHNESS = 3 + MATERIAL_MAP_OCCLUSION = 4 + MATERIAL_MAP_EMISSION = 5 + MATERIAL_MAP_HEIGHT = 6 + MATERIAL_MAP_CUBEMAP = 7 + MATERIAL_MAP_IRRADIANCE = 8 + MATERIAL_MAP_PREFILTER = 9 + MATERIAL_MAP_BRDF = 10 + +class ShaderLocationIndex(IntEnum): + SHADER_LOC_VERTEX_POSITION = 0 + SHADER_LOC_VERTEX_TEXCOORD01 = 1 + SHADER_LOC_VERTEX_TEXCOORD02 = 2 + SHADER_LOC_VERTEX_NORMAL = 3 + SHADER_LOC_VERTEX_TANGENT = 4 + SHADER_LOC_VERTEX_COLOR = 5 + SHADER_LOC_MATRIX_MVP = 6 + SHADER_LOC_MATRIX_VIEW = 7 + SHADER_LOC_MATRIX_PROJECTION = 8 + SHADER_LOC_MATRIX_MODEL = 9 + SHADER_LOC_MATRIX_NORMAL = 10 + SHADER_LOC_VECTOR_VIEW = 11 + SHADER_LOC_COLOR_DIFFUSE = 12 + SHADER_LOC_COLOR_SPECULAR = 13 + SHADER_LOC_COLOR_AMBIENT = 14 + SHADER_LOC_MAP_ALBEDO = 15 + SHADER_LOC_MAP_METALNESS = 16 + SHADER_LOC_MAP_NORMAL = 17 + SHADER_LOC_MAP_ROUGHNESS = 18 + SHADER_LOC_MAP_OCCLUSION = 19 + SHADER_LOC_MAP_EMISSION = 20 + SHADER_LOC_MAP_HEIGHT = 21 + SHADER_LOC_MAP_CUBEMAP = 22 + SHADER_LOC_MAP_IRRADIANCE = 23 + SHADER_LOC_MAP_PREFILTER = 24 + SHADER_LOC_MAP_BRDF = 25 + +class ShaderUniformDataType(IntEnum): + SHADER_UNIFORM_FLOAT = 0 + SHADER_UNIFORM_VEC2 = 1 + SHADER_UNIFORM_VEC3 = 2 + SHADER_UNIFORM_VEC4 = 3 + SHADER_UNIFORM_INT = 4 + SHADER_UNIFORM_IVEC2 = 5 + SHADER_UNIFORM_IVEC3 = 6 + SHADER_UNIFORM_IVEC4 = 7 + SHADER_UNIFORM_SAMPLER2D = 8 + +class ShaderAttributeDataType(IntEnum): + SHADER_ATTRIB_FLOAT = 0 + SHADER_ATTRIB_VEC2 = 1 + SHADER_ATTRIB_VEC3 = 2 + SHADER_ATTRIB_VEC4 = 3 + +class PixelFormat(IntEnum): + PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1 + PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2 + PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3 + PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4 + PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5 + PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6 + PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7 + PIXELFORMAT_UNCOMPRESSED_R32 = 8 + PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9 + PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10 + PIXELFORMAT_UNCOMPRESSED_R16 = 11 + PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12 + PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13 + PIXELFORMAT_COMPRESSED_DXT1_RGB = 14 + PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15 + PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16 + PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17 + PIXELFORMAT_COMPRESSED_ETC1_RGB = 18 + PIXELFORMAT_COMPRESSED_ETC2_RGB = 19 + PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20 + PIXELFORMAT_COMPRESSED_PVRT_RGB = 21 + PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22 + PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23 + PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24 + +class TextureFilter(IntEnum): + TEXTURE_FILTER_POINT = 0 + TEXTURE_FILTER_BILINEAR = 1 + TEXTURE_FILTER_TRILINEAR = 2 + TEXTURE_FILTER_ANISOTROPIC_4X = 3 + TEXTURE_FILTER_ANISOTROPIC_8X = 4 + TEXTURE_FILTER_ANISOTROPIC_16X = 5 + +class TextureWrap(IntEnum): + TEXTURE_WRAP_REPEAT = 0 + TEXTURE_WRAP_CLAMP = 1 + TEXTURE_WRAP_MIRROR_REPEAT = 2 + TEXTURE_WRAP_MIRROR_CLAMP = 3 + +class CubemapLayout(IntEnum): + CUBEMAP_LAYOUT_AUTO_DETECT = 0 + CUBEMAP_LAYOUT_LINE_VERTICAL = 1 + CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2 + CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3 + CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4 + CUBEMAP_LAYOUT_PANORAMA = 5 + +class FontType(IntEnum): + FONT_DEFAULT = 0 + FONT_BITMAP = 1 + FONT_SDF = 2 + +class BlendMode(IntEnum): + BLEND_ALPHA = 0 + BLEND_ADDITIVE = 1 + BLEND_MULTIPLIED = 2 + BLEND_ADD_COLORS = 3 + BLEND_SUBTRACT_COLORS = 4 + BLEND_ALPHA_PREMULTIPLY = 5 + BLEND_CUSTOM = 6 + BLEND_CUSTOM_SEPARATE = 7 + +class Gesture(IntEnum): + GESTURE_NONE = 0 + GESTURE_TAP = 1 + GESTURE_DOUBLETAP = 2 + GESTURE_HOLD = 4 + GESTURE_DRAG = 8 + GESTURE_SWIPE_RIGHT = 16 + GESTURE_SWIPE_LEFT = 32 + GESTURE_SWIPE_UP = 64 + GESTURE_SWIPE_DOWN = 128 + GESTURE_PINCH_IN = 256 + GESTURE_PINCH_OUT = 512 + +class CameraMode(IntEnum): + CAMERA_CUSTOM = 0 + CAMERA_FREE = 1 + CAMERA_ORBITAL = 2 + CAMERA_FIRST_PERSON = 3 + CAMERA_THIRD_PERSON = 4 + +class CameraProjection(IntEnum): + CAMERA_PERSPECTIVE = 0 + CAMERA_ORTHOGRAPHIC = 1 + +class NPatchLayout(IntEnum): + NPATCH_NINE_PATCH = 0 + NPATCH_THREE_PATCH_VERTICAL = 1 + NPATCH_THREE_PATCH_HORIZONTAL = 2 + +class GuiState(IntEnum): + STATE_NORMAL = 0 + STATE_FOCUSED = 1 + STATE_PRESSED = 2 + STATE_DISABLED = 3 + +class GuiTextAlignment(IntEnum): + TEXT_ALIGN_LEFT = 0 + TEXT_ALIGN_CENTER = 1 + TEXT_ALIGN_RIGHT = 2 + +class GuiTextAlignmentVertical(IntEnum): + TEXT_ALIGN_TOP = 0 + TEXT_ALIGN_MIDDLE = 1 + TEXT_ALIGN_BOTTOM = 2 + +class GuiTextWrapMode(IntEnum): + TEXT_WRAP_NONE = 0 + TEXT_WRAP_CHAR = 1 + TEXT_WRAP_WORD = 2 + +class GuiControl(IntEnum): + DEFAULT = 0 + LABEL = 1 + BUTTON = 2 + TOGGLE = 3 + SLIDER = 4 + PROGRESSBAR = 5 + CHECKBOX = 6 + COMBOBOX = 7 + DROPDOWNBOX = 8 + TEXTBOX = 9 + VALUEBOX = 10 + SPINNER = 11 + LISTVIEW = 12 + COLORPICKER = 13 + SCROLLBAR = 14 + STATUSBAR = 15 + +class GuiControlProperty(IntEnum): + BORDER_COLOR_NORMAL = 0 + BASE_COLOR_NORMAL = 1 + TEXT_COLOR_NORMAL = 2 + BORDER_COLOR_FOCUSED = 3 + BASE_COLOR_FOCUSED = 4 + TEXT_COLOR_FOCUSED = 5 + BORDER_COLOR_PRESSED = 6 + BASE_COLOR_PRESSED = 7 + TEXT_COLOR_PRESSED = 8 + BORDER_COLOR_DISABLED = 9 + BASE_COLOR_DISABLED = 10 + TEXT_COLOR_DISABLED = 11 + BORDER_WIDTH = 12 + TEXT_PADDING = 13 + TEXT_ALIGNMENT = 14 + +class GuiDefaultProperty(IntEnum): + TEXT_SIZE = 16 + TEXT_SPACING = 17 + LINE_COLOR = 18 + BACKGROUND_COLOR = 19 + TEXT_LINE_SPACING = 20 + TEXT_ALIGNMENT_VERTICAL = 21 + TEXT_WRAP_MODE = 22 + +class GuiToggleProperty(IntEnum): + GROUP_PADDING = 16 + +class GuiSliderProperty(IntEnum): + SLIDER_WIDTH = 16 + SLIDER_PADDING = 17 + +class GuiProgressBarProperty(IntEnum): + PROGRESS_PADDING = 16 + +class GuiScrollBarProperty(IntEnum): + ARROWS_SIZE = 16 + ARROWS_VISIBLE = 17 + SCROLL_SLIDER_PADDING = 18 + SCROLL_SLIDER_SIZE = 19 + SCROLL_PADDING = 20 + SCROLL_SPEED = 21 + +class GuiCheckBoxProperty(IntEnum): + CHECK_PADDING = 16 + +class GuiComboBoxProperty(IntEnum): + COMBO_BUTTON_WIDTH = 16 + COMBO_BUTTON_SPACING = 17 + +class GuiDropdownBoxProperty(IntEnum): + ARROW_PADDING = 16 + DROPDOWN_ITEMS_SPACING = 17 + +class GuiTextBoxProperty(IntEnum): + TEXT_READONLY = 16 + +class GuiSpinnerProperty(IntEnum): + SPIN_BUTTON_WIDTH = 16 + SPIN_BUTTON_SPACING = 17 + +class GuiListViewProperty(IntEnum): + LIST_ITEMS_HEIGHT = 16 + LIST_ITEMS_SPACING = 17 + SCROLLBAR_WIDTH = 18 + SCROLLBAR_SIDE = 19 + +class GuiColorPickerProperty(IntEnum): + COLOR_SELECTOR_SIZE = 16 + HUEBAR_WIDTH = 17 + HUEBAR_PADDING = 18 + HUEBAR_SELECTOR_HEIGHT = 19 + HUEBAR_SELECTOR_OVERFLOW = 20 + +class GuiIconName(IntEnum): + ICON_NONE = 0 + ICON_FOLDER_FILE_OPEN = 1 + ICON_FILE_SAVE_CLASSIC = 2 + ICON_FOLDER_OPEN = 3 + ICON_FOLDER_SAVE = 4 + ICON_FILE_OPEN = 5 + ICON_FILE_SAVE = 6 + ICON_FILE_EXPORT = 7 + ICON_FILE_ADD = 8 + ICON_FILE_DELETE = 9 + ICON_FILETYPE_TEXT = 10 + ICON_FILETYPE_AUDIO = 11 + ICON_FILETYPE_IMAGE = 12 + ICON_FILETYPE_PLAY = 13 + ICON_FILETYPE_VIDEO = 14 + ICON_FILETYPE_INFO = 15 + ICON_FILE_COPY = 16 + ICON_FILE_CUT = 17 + ICON_FILE_PASTE = 18 + ICON_CURSOR_HAND = 19 + ICON_CURSOR_POINTER = 20 + ICON_CURSOR_CLASSIC = 21 + ICON_PENCIL = 22 + ICON_PENCIL_BIG = 23 + ICON_BRUSH_CLASSIC = 24 + ICON_BRUSH_PAINTER = 25 + ICON_WATER_DROP = 26 + ICON_COLOR_PICKER = 27 + ICON_RUBBER = 28 + ICON_COLOR_BUCKET = 29 + ICON_TEXT_T = 30 + ICON_TEXT_A = 31 + ICON_SCALE = 32 + ICON_RESIZE = 33 + ICON_FILTER_POINT = 34 + ICON_FILTER_BILINEAR = 35 + ICON_CROP = 36 + ICON_CROP_ALPHA = 37 + ICON_SQUARE_TOGGLE = 38 + ICON_SYMMETRY = 39 + ICON_SYMMETRY_HORIZONTAL = 40 + ICON_SYMMETRY_VERTICAL = 41 + ICON_LENS = 42 + ICON_LENS_BIG = 43 + ICON_EYE_ON = 44 + ICON_EYE_OFF = 45 + ICON_FILTER_TOP = 46 + ICON_FILTER = 47 + ICON_TARGET_POINT = 48 + ICON_TARGET_SMALL = 49 + ICON_TARGET_BIG = 50 + ICON_TARGET_MOVE = 51 + ICON_CURSOR_MOVE = 52 + ICON_CURSOR_SCALE = 53 + ICON_CURSOR_SCALE_RIGHT = 54 + ICON_CURSOR_SCALE_LEFT = 55 + ICON_UNDO = 56 + ICON_REDO = 57 + ICON_REREDO = 58 + ICON_MUTATE = 59 + ICON_ROTATE = 60 + ICON_REPEAT = 61 + ICON_SHUFFLE = 62 + ICON_EMPTYBOX = 63 + ICON_TARGET = 64 + ICON_TARGET_SMALL_FILL = 65 + ICON_TARGET_BIG_FILL = 66 + ICON_TARGET_MOVE_FILL = 67 + ICON_CURSOR_MOVE_FILL = 68 + ICON_CURSOR_SCALE_FILL = 69 + ICON_CURSOR_SCALE_RIGHT_FILL = 70 + ICON_CURSOR_SCALE_LEFT_FILL = 71 + ICON_UNDO_FILL = 72 + ICON_REDO_FILL = 73 + ICON_REREDO_FILL = 74 + ICON_MUTATE_FILL = 75 + ICON_ROTATE_FILL = 76 + ICON_REPEAT_FILL = 77 + ICON_SHUFFLE_FILL = 78 + ICON_EMPTYBOX_SMALL = 79 + ICON_BOX = 80 + ICON_BOX_TOP = 81 + ICON_BOX_TOP_RIGHT = 82 + ICON_BOX_RIGHT = 83 + ICON_BOX_BOTTOM_RIGHT = 84 + ICON_BOX_BOTTOM = 85 + ICON_BOX_BOTTOM_LEFT = 86 + ICON_BOX_LEFT = 87 + ICON_BOX_TOP_LEFT = 88 + ICON_BOX_CENTER = 89 + ICON_BOX_CIRCLE_MASK = 90 + ICON_POT = 91 + ICON_ALPHA_MULTIPLY = 92 + ICON_ALPHA_CLEAR = 93 + ICON_DITHERING = 94 + ICON_MIPMAPS = 95 + ICON_BOX_GRID = 96 + ICON_GRID = 97 + ICON_BOX_CORNERS_SMALL = 98 + ICON_BOX_CORNERS_BIG = 99 + ICON_FOUR_BOXES = 100 + ICON_GRID_FILL = 101 + ICON_BOX_MULTISIZE = 102 + ICON_ZOOM_SMALL = 103 + ICON_ZOOM_MEDIUM = 104 + ICON_ZOOM_BIG = 105 + ICON_ZOOM_ALL = 106 + ICON_ZOOM_CENTER = 107 + ICON_BOX_DOTS_SMALL = 108 + ICON_BOX_DOTS_BIG = 109 + ICON_BOX_CONCENTRIC = 110 + ICON_BOX_GRID_BIG = 111 + ICON_OK_TICK = 112 + ICON_CROSS = 113 + ICON_ARROW_LEFT = 114 + ICON_ARROW_RIGHT = 115 + ICON_ARROW_DOWN = 116 + ICON_ARROW_UP = 117 + ICON_ARROW_LEFT_FILL = 118 + ICON_ARROW_RIGHT_FILL = 119 + ICON_ARROW_DOWN_FILL = 120 + ICON_ARROW_UP_FILL = 121 + ICON_AUDIO = 122 + ICON_FX = 123 + ICON_WAVE = 124 + ICON_WAVE_SINUS = 125 + ICON_WAVE_SQUARE = 126 + ICON_WAVE_TRIANGULAR = 127 + ICON_CROSS_SMALL = 128 + ICON_PLAYER_PREVIOUS = 129 + ICON_PLAYER_PLAY_BACK = 130 + ICON_PLAYER_PLAY = 131 + ICON_PLAYER_PAUSE = 132 + ICON_PLAYER_STOP = 133 + ICON_PLAYER_NEXT = 134 + ICON_PLAYER_RECORD = 135 + ICON_MAGNET = 136 + ICON_LOCK_CLOSE = 137 + ICON_LOCK_OPEN = 138 + ICON_CLOCK = 139 + ICON_TOOLS = 140 + ICON_GEAR = 141 + ICON_GEAR_BIG = 142 + ICON_BIN = 143 + ICON_HAND_POINTER = 144 + ICON_LASER = 145 + ICON_COIN = 146 + ICON_EXPLOSION = 147 + ICON_1UP = 148 + ICON_PLAYER = 149 + ICON_PLAYER_JUMP = 150 + ICON_KEY = 151 + ICON_DEMON = 152 + ICON_TEXT_POPUP = 153 + ICON_GEAR_EX = 154 + ICON_CRACK = 155 + ICON_CRACK_POINTS = 156 + ICON_STAR = 157 + ICON_DOOR = 158 + ICON_EXIT = 159 + ICON_MODE_2D = 160 + ICON_MODE_3D = 161 + ICON_CUBE = 162 + ICON_CUBE_FACE_TOP = 163 + ICON_CUBE_FACE_LEFT = 164 + ICON_CUBE_FACE_FRONT = 165 + ICON_CUBE_FACE_BOTTOM = 166 + ICON_CUBE_FACE_RIGHT = 167 + ICON_CUBE_FACE_BACK = 168 + ICON_CAMERA = 169 + ICON_SPECIAL = 170 + ICON_LINK_NET = 171 + ICON_LINK_BOXES = 172 + ICON_LINK_MULTI = 173 + ICON_LINK = 174 + ICON_LINK_BROKE = 175 + ICON_TEXT_NOTES = 176 + ICON_NOTEBOOK = 177 + ICON_SUITCASE = 178 + ICON_SUITCASE_ZIP = 179 + ICON_MAILBOX = 180 + ICON_MONITOR = 181 + ICON_PRINTER = 182 + ICON_PHOTO_CAMERA = 183 + ICON_PHOTO_CAMERA_FLASH = 184 + ICON_HOUSE = 185 + ICON_HEART = 186 + ICON_CORNER = 187 + ICON_VERTICAL_BARS = 188 + ICON_VERTICAL_BARS_FILL = 189 + ICON_LIFE_BARS = 190 + ICON_INFO = 191 + ICON_CROSSLINE = 192 + ICON_HELP = 193 + ICON_FILETYPE_ALPHA = 194 + ICON_FILETYPE_HOME = 195 + ICON_LAYERS_VISIBLE = 196 + ICON_LAYERS = 197 + ICON_WINDOW = 198 + ICON_HIDPI = 199 + ICON_FILETYPE_BINARY = 200 + ICON_HEX = 201 + ICON_SHIELD = 202 + ICON_FILE_NEW = 203 + ICON_FOLDER_ADD = 204 + ICON_ALARM = 205 + ICON_CPU = 206 + ICON_ROM = 207 + ICON_STEP_OVER = 208 + ICON_STEP_INTO = 209 + ICON_STEP_OUT = 210 + ICON_RESTART = 211 + ICON_BREAKPOINT_ON = 212 + ICON_BREAKPOINT_OFF = 213 + ICON_BURGER_MENU = 214 + ICON_CASE_SENSITIVE = 215 + ICON_REG_EXP = 216 + ICON_FOLDER = 217 + ICON_FILE = 218 + ICON_SAND_TIMER = 219 + ICON_220 = 220 + ICON_221 = 221 + ICON_222 = 222 + ICON_223 = 223 + ICON_224 = 224 + ICON_225 = 225 + ICON_226 = 226 + ICON_227 = 227 + ICON_228 = 228 + ICON_229 = 229 + ICON_230 = 230 + ICON_231 = 231 + ICON_232 = 232 + ICON_233 = 233 + ICON_234 = 234 + ICON_235 = 235 + ICON_236 = 236 + ICON_237 = 237 + ICON_238 = 238 + ICON_239 = 239 + ICON_240 = 240 + ICON_241 = 241 + ICON_242 = 242 + ICON_243 = 243 + ICON_244 = 244 + ICON_245 = 245 + ICON_246 = 246 + ICON_247 = 247 + ICON_248 = 248 + ICON_249 = 249 + ICON_250 = 250 + ICON_251 = 251 + ICON_252 = 252 + ICON_253 = 253 + ICON_254 = 254 + ICON_255 = 255 + diff --git a/pyray/__init__.pyi b/pyray/__init__.pyi index 024297f..5db239a 100644 --- a/pyray/__init__.pyi +++ b/pyray/__init__.pyi @@ -1,3 +1,4460 @@ +from typing import Any + + +def pointer(struct): + ... + +def attach_audio_mixed_processor(processor: Any,) -> None: + """Attach audio stream processor to the entire audio pipeline, receives the samples as s""" + ... +def attach_audio_stream_processor(stream: AudioStream,processor: Any,) -> None: + """Attach audio stream processor to stream, receives the samples as s""" + ... +def begin_blend_mode(mode: int,) -> None: + """Begin blending mode (alpha, additive, multiplied, subtract, custom)""" + ... +def begin_drawing() -> None: + """Setup canvas (framebuffer) to start drawing""" + ... +def begin_mode_2d(camera: Camera2D,) -> None: + """Begin 2D mode with custom camera (2D)""" + ... +def begin_mode_3d(camera: Camera3D,) -> None: + """Begin 3D mode with custom camera (3D)""" + ... +def begin_scissor_mode(x: int,y: int,width: int,height: int,) -> None: + """Begin scissor mode (define screen area for following drawing)""" + ... +def begin_shader_mode(shader: Shader,) -> None: + """Begin custom shader drawing""" + ... +def begin_texture_mode(target: RenderTexture,) -> None: + """Begin drawing to render texture""" + ... +def begin_vr_stereo_mode(config: VrStereoConfig,) -> None: + """Begin stereo rendering (requires VR simulator)""" + ... +def change_directory(dir: str,) -> bool: + """Change working directory, return true on success""" + ... +def check_collision_box_sphere(box: BoundingBox,center: Vector3,radius: float,) -> bool: + """Check collision between box and sphere""" + ... +def check_collision_boxes(box1: BoundingBox,box2: BoundingBox,) -> bool: + """Check collision between two bounding boxes""" + ... +def check_collision_circle_rec(center: Vector2,radius: float,rec: Rectangle,) -> bool: + """Check collision between circle and rectangle""" + ... +def check_collision_circles(center1: Vector2,radius1: float,center2: Vector2,radius2: float,) -> bool: + """Check collision between two circles""" + ... +def check_collision_lines(startPos1: Vector2,endPos1: Vector2,startPos2: Vector2,endPos2: Vector2,collisionPoint: Any,) -> bool: + """Check the collision between two lines defined by two points each, returns collision point by reference""" + ... +def check_collision_point_circle(point: Vector2,center: Vector2,radius: float,) -> bool: + """Check if point is inside circle""" + ... +def check_collision_point_line(point: Vector2,p1: Vector2,p2: Vector2,threshold: int,) -> bool: + """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]""" + ... +def check_collision_point_poly(point: Vector2,points: Any,pointCount: int,) -> bool: + """Check if point is within a polygon described by array of vertices""" + ... +def check_collision_point_rec(point: Vector2,rec: Rectangle,) -> bool: + """Check if point is inside rectangle""" + ... +def check_collision_point_triangle(point: Vector2,p1: Vector2,p2: Vector2,p3: Vector2,) -> bool: + """Check if point is inside a triangle""" + ... +def check_collision_recs(rec1: Rectangle,rec2: Rectangle,) -> bool: + """Check collision between two rectangles""" + ... +def check_collision_spheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool: + """Check collision between two spheres""" + ... +def clamp(float_0: float,float_1: float,float_2: float,) -> float: + """float Clamp(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def clear_background(color: Color,) -> None: + """Set background color (framebuffer clear color)""" + ... +def clear_window_state(flags: int,) -> None: + """Clear window configuration state flags""" + ... +def close_audio_device() -> None: + """Close the audio device and context""" + ... +def close_physics() -> None: + """void ClosePhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def close_window() -> None: + """Close window and unload OpenGL context""" + ... +def codepoint_to_utf8(codepoint: int,utf8Size: Any,) -> str: + """Encode one codepoint into UTF-8 byte array (array length returned as parameter)""" + ... +def color_alpha(color: Color,alpha: float,) -> Color: + """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" + ... +def color_alpha_blend(dst: Color,src: Color,tint: Color,) -> Color: + """Get src alpha-blended into dst color with tint""" + ... +def color_brightness(color: Color,factor: float,) -> Color: + """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f""" + ... +def color_contrast(color: Color,contrast: float,) -> Color: + """Get color with contrast correction, contrast values between -1.0f and 1.0f""" + ... +def color_from_hsv(hue: float,saturation: float,value: float,) -> Color: + """Get a Color from HSV values, hue [0..360], saturation/value [0..1]""" + ... +def color_from_normalized(normalized: Vector4,) -> Color: + """Get Color from normalized values [0..1]""" + ... +def color_normalize(color: Color,) -> Vector4: + """Get Color normalized as float [0..1]""" + ... +def color_tint(color: Color,tint: Color,) -> Color: + """Get color multiplied with another color""" + ... +def color_to_hsv(color: Color,) -> Vector3: + """Get HSV values for a Color, hue [0..360], saturation/value [0..1]""" + ... +def color_to_int(color: Color,) -> int: + """Get hexadecimal value for a Color""" + ... +def compress_data(data: str,dataSize: int,compDataSize: Any,) -> str: + """Compress data (DEFLATE algorithm), memory must be MemFree()""" + ... +def create_physics_body_circle(Vector2_0: Vector2,float_1: float,float_2: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyCircle(struct Vector2, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def create_physics_body_polygon(Vector2_0: Vector2,float_1: float,int_2: int,float_3: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyPolygon(struct Vector2, float, int, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def create_physics_body_rectangle(Vector2_0: Vector2,float_1: float,float_2: float,float_3: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyRectangle(struct Vector2, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def decode_data_base64(data: str,outputSize: Any,) -> str: + """Decode Base64 string data, memory must be MemFree()""" + ... +def decompress_data(compData: str,compDataSize: int,dataSize: Any,) -> str: + """Decompress data (DEFLATE algorithm), memory must be MemFree()""" + ... +def destroy_physics_body(PhysicsBodyData_pointer_0: Any,) -> None: + """void DestroyPhysicsBody(struct PhysicsBodyData *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def detach_audio_mixed_processor(processor: Any,) -> None: + """Detach audio stream processor from the entire audio pipeline""" + ... +def detach_audio_stream_processor(stream: AudioStream,processor: Any,) -> None: + """Detach audio stream processor from stream""" + ... +def directory_exists(dirPath: str,) -> bool: + """Check if a directory path exists""" + ... +def disable_cursor() -> None: + """Disables cursor (lock cursor)""" + ... +def disable_event_waiting() -> None: + """Disable waiting for events on EndDrawing(), automatic events polling""" + ... +def draw_billboard(camera: Camera3D,texture: Texture,position: Vector3,size: float,tint: Color,) -> None: + """Draw a billboard texture""" + ... +def draw_billboard_pro(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,up: Vector3,size: Vector2,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draw a billboard texture defined by source and rotation""" + ... +def draw_billboard_rec(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,size: Vector2,tint: Color,) -> None: + """Draw a billboard texture defined by source""" + ... +def draw_bounding_box(box: BoundingBox,color: Color,) -> None: + """Draw bounding box (wires)""" + ... +def draw_capsule(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None: + """Draw a capsule with the center of its sphere caps at startPos and endPos""" + ... +def draw_capsule_wires(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None: + """Draw capsule wireframe with the center of its sphere caps at startPos and endPos""" + ... +def draw_circle(centerX: int,centerY: int,radius: float,color: Color,) -> None: + """Draw a color-filled circle""" + ... +def draw_circle_3d(center: Vector3,radius: float,rotationAxis: Vector3,rotationAngle: float,color: Color,) -> None: + """Draw a circle in 3D world space""" + ... +def draw_circle_gradient(centerX: int,centerY: int,radius: float,color1: Color,color2: Color,) -> None: + """Draw a gradient-filled circle""" + ... +def draw_circle_lines(centerX: int,centerY: int,radius: float,color: Color,) -> None: + """Draw circle outline""" + ... +def draw_circle_lines_v(center: Vector2,radius: float,color: Color,) -> None: + """Draw circle outline (Vector version)""" + ... +def draw_circle_sector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw a piece of a circle""" + ... +def draw_circle_sector_lines(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw circle sector outline""" + ... +def draw_circle_v(center: Vector2,radius: float,color: Color,) -> None: + """Draw a color-filled circle (Vector version)""" + ... +def draw_cube(position: Vector3,width: float,height: float,length: float,color: Color,) -> None: + """Draw cube""" + ... +def draw_cube_v(position: Vector3,size: Vector3,color: Color,) -> None: + """Draw cube (Vector version)""" + ... +def draw_cube_wires(position: Vector3,width: float,height: float,length: float,color: Color,) -> None: + """Draw cube wires""" + ... +def draw_cube_wires_v(position: Vector3,size: Vector3,color: Color,) -> None: + """Draw cube wires (Vector version)""" + ... +def draw_cylinder(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None: + """Draw a cylinder/cone""" + ... +def draw_cylinder_ex(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None: + """Draw a cylinder with base at startPos and top at endPos""" + ... +def draw_cylinder_wires(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None: + """Draw a cylinder/cone wires""" + ... +def draw_cylinder_wires_ex(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None: + """Draw a cylinder wires with base at startPos and top at endPos""" + ... +def draw_ellipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None: + """Draw ellipse""" + ... +def draw_ellipse_lines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None: + """Draw ellipse outline""" + ... +def draw_fps(posX: int,posY: int,) -> None: + """Draw current FPS""" + ... +def draw_grid(slices: int,spacing: float,) -> None: + """Draw a grid (centered at (0, 0, 0))""" + ... +def draw_line(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None: + """Draw a line""" + ... +def draw_line_3d(startPos: Vector3,endPos: Vector3,color: Color,) -> None: + """Draw a line in 3D world space""" + ... +def draw_line_bezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None: + """Draw line segment cubic-bezier in-out interpolation""" + ... +def draw_line_ex(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None: + """Draw a line (using triangles/quads)""" + ... +def draw_line_strip(points: Any,pointCount: int,color: Color,) -> None: + """Draw lines sequence (using gl lines)""" + ... +def draw_line_v(startPos: Vector2,endPos: Vector2,color: Color,) -> None: + """Draw a line (using gl lines)""" + ... +def draw_mesh(mesh: Mesh,material: Material,transform: Matrix,) -> None: + """Draw a 3d mesh with material and transform""" + ... +def draw_mesh_instanced(mesh: Mesh,material: Material,transforms: Any,instances: int,) -> None: + """Draw multiple mesh instances with material and different transforms""" + ... +def draw_model(model: Model,position: Vector3,scale: float,tint: Color,) -> None: + """Draw a model (with texture if set)""" + ... +def draw_model_ex(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None: + """Draw a model with extended parameters""" + ... +def draw_model_wires(model: Model,position: Vector3,scale: float,tint: Color,) -> None: + """Draw a model wires (with texture if set)""" + ... +def draw_model_wires_ex(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None: + """Draw a model wires (with texture if set) with extended parameters""" + ... +def draw_pixel(posX: int,posY: int,color: Color,) -> None: + """Draw a pixel""" + ... +def draw_pixel_v(position: Vector2,color: Color,) -> None: + """Draw a pixel (Vector version)""" + ... +def draw_plane(centerPos: Vector3,size: Vector2,color: Color,) -> None: + """Draw a plane XZ""" + ... +def draw_point_3d(position: Vector3,color: Color,) -> None: + """Draw a point in 3D space, actually a small line""" + ... +def draw_poly(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None: + """Draw a regular polygon (Vector version)""" + ... +def draw_poly_lines(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None: + """Draw a polygon outline of n sides""" + ... +def draw_poly_lines_ex(center: Vector2,sides: int,radius: float,rotation: float,lineThick: float,color: Color,) -> None: + """Draw a polygon outline of n sides with extended parameters""" + ... +def draw_ray(ray: Ray,color: Color,) -> None: + """Draw a ray line""" + ... +def draw_rectangle(posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw a color-filled rectangle""" + ... +def draw_rectangle_gradient_ex(rec: Rectangle,col1: Color,col2: Color,col3: Color,col4: Color,) -> None: + """Draw a gradient-filled rectangle with custom vertex colors""" + ... +def draw_rectangle_gradient_h(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None: + """Draw a horizontal-gradient-filled rectangle""" + ... +def draw_rectangle_gradient_v(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None: + """Draw a vertical-gradient-filled rectangle""" + ... +def draw_rectangle_lines(posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw rectangle outline""" + ... +def draw_rectangle_lines_ex(rec: Rectangle,lineThick: float,color: Color,) -> None: + """Draw rectangle outline with extended parameters""" + ... +def draw_rectangle_pro(rec: Rectangle,origin: Vector2,rotation: float,color: Color,) -> None: + """Draw a color-filled rectangle with pro parameters""" + ... +def draw_rectangle_rec(rec: Rectangle,color: Color,) -> None: + """Draw a color-filled rectangle""" + ... +def draw_rectangle_rounded(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None: + """Draw rectangle with rounded edges""" + ... +def draw_rectangle_rounded_lines(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None: + """Draw rectangle with rounded edges outline""" + ... +def draw_rectangle_v(position: Vector2,size: Vector2,color: Color,) -> None: + """Draw a color-filled rectangle (Vector version)""" + ... +def draw_ring(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw ring""" + ... +def draw_ring_lines(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw ring outline""" + ... +def draw_sphere(centerPos: Vector3,radius: float,color: Color,) -> None: + """Draw sphere""" + ... +def draw_sphere_ex(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None: + """Draw sphere with extended parameters""" + ... +def draw_sphere_wires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None: + """Draw sphere wires""" + ... +def draw_spline_basis(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: B-Spline, minimum 4 points""" + ... +def draw_spline_bezier_cubic(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]""" + ... +def draw_spline_bezier_quadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]""" + ... +def draw_spline_catmull_rom(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Catmull-Rom, minimum 4 points""" + ... +def draw_spline_linear(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Linear, minimum 2 points""" + ... +def draw_spline_segment_basis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: B-Spline, 4 points""" + ... +def draw_spline_segment_bezier_cubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Cubic Bezier, 2 points, 2 control points""" + ... +def draw_spline_segment_bezier_quadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Quadratic Bezier, 2 points, 1 control point""" + ... +def draw_spline_segment_catmull_rom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Catmull-Rom, 4 points""" + ... +def draw_spline_segment_linear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Linear, 2 points""" + ... +def draw_text(text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None: + """Draw text (using default font)""" + ... +def draw_text_codepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None: + """Draw one character (codepoint)""" + ... +def draw_text_codepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw multiple character (codepoint)""" + ... +def draw_text_ex(font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text using font and additional parameters""" + ... +def draw_text_pro(font: Font,text: str,position: Vector2,origin: Vector2,rotation: float,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text using Font and pro parameters (rotation)""" + ... +def draw_texture(texture: Texture,posX: int,posY: int,tint: Color,) -> None: + """Draw a Texture2D""" + ... +def draw_texture_ex(texture: Texture,position: Vector2,rotation: float,scale: float,tint: Color,) -> None: + """Draw a Texture2D with extended parameters""" + ... +def draw_texture_n_patch(texture: Texture,nPatchInfo: NPatchInfo,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draws a texture (or part of it) that stretches or shrinks nicely""" + ... +def draw_texture_pro(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draw a part of a texture defined by a rectangle with 'pro' parameters""" + ... +def draw_texture_rec(texture: Texture,source: Rectangle,position: Vector2,tint: Color,) -> None: + """Draw a part of a texture defined by a rectangle""" + ... +def draw_texture_v(texture: Texture,position: Vector2,tint: Color,) -> None: + """Draw a Texture2D with position defined as Vector2""" + ... +def draw_triangle(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None: + """Draw a color-filled triangle (vertex in counter-clockwise order!)""" + ... +def draw_triangle_3d(v1: Vector3,v2: Vector3,v3: Vector3,color: Color,) -> None: + """Draw a color-filled triangle (vertex in counter-clockwise order!)""" + ... +def draw_triangle_fan(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle fan defined by points (first vertex is the center)""" + ... +def draw_triangle_lines(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None: + """Draw triangle outline (vertex in counter-clockwise order!)""" + ... +def draw_triangle_strip(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle strip defined by points""" + ... +def draw_triangle_strip_3d(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle strip defined by points""" + ... +def enable_cursor() -> None: + """Enables cursor (unlock cursor)""" + ... +def enable_event_waiting() -> None: + """Enable waiting for events on EndDrawing(), no automatic event polling""" + ... +def encode_data_base64(data: str,dataSize: int,outputSize: Any,) -> str: + """Encode data to Base64 string, memory must be MemFree()""" + ... +def end_blend_mode() -> None: + """End blending mode (reset to default: alpha blending)""" + ... +def end_drawing() -> None: + """End canvas drawing and swap buffers (double buffering)""" + ... +def end_mode_2d() -> None: + """Ends 2D mode with custom camera""" + ... +def end_mode_3d() -> None: + """Ends 3D mode and returns to default 2D orthographic mode""" + ... +def end_scissor_mode() -> None: + """End scissor mode""" + ... +def end_shader_mode() -> None: + """End custom shader drawing (use default shader)""" + ... +def end_texture_mode() -> None: + """Ends drawing to render texture""" + ... +def end_vr_stereo_mode() -> None: + """End stereo rendering (requires VR simulator)""" + ... +def export_automation_event_list(list: AutomationEventList,fileName: str,) -> bool: + """Export automation events list as text file""" + ... +def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool: + """Export data to code (.h), returns true on success""" + ... +def export_font_as_code(font: Font,fileName: str,) -> bool: + """Export font as code file, returns true on success""" + ... +def export_image(image: Image,fileName: str,) -> bool: + """Export image data to file, returns true on success""" + ... +def export_image_as_code(image: Image,fileName: str,) -> bool: + """Export image as code file defining an array of bytes, returns true on success""" + ... +def export_image_to_memory(image: Image,fileType: str,fileSize: Any,) -> str: + """Export image to memory buffer""" + ... +def export_mesh(mesh: Mesh,fileName: str,) -> bool: + """Export mesh data to file, returns true on success""" + ... +def export_wave(wave: Wave,fileName: str,) -> bool: + """Export wave data to file, returns true on success""" + ... +def export_wave_as_code(wave: Wave,fileName: str,) -> bool: + """Export wave sample data to code (.h), returns true on success""" + ... +def fade(color: Color,alpha: float,) -> Color: + """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" + ... +def file_exists(fileName: str,) -> bool: + """Check if file exists""" + ... +def float_equals(float_0: float,float_1: float,) -> int: + """int FloatEquals(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gen_image_cellular(width: int,height: int,tileSize: int,) -> Image: + """Generate image: cellular algorithm, bigger tileSize means bigger cells""" + ... +def gen_image_checked(width: int,height: int,checksX: int,checksY: int,col1: Color,col2: Color,) -> Image: + """Generate image: checked""" + ... +def gen_image_color(width: int,height: int,color: Color,) -> Image: + """Generate image: plain color""" + ... +def gen_image_font_atlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image: + """Generate image font atlas using chars info""" + ... +def gen_image_gradient_linear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image: + """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient""" + ... +def gen_image_gradient_radial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image: + """Generate image: radial gradient""" + ... +def gen_image_gradient_square(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image: + """Generate image: square gradient""" + ... +def gen_image_perlin_noise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image: + """Generate image: perlin noise""" + ... +def gen_image_text(width: int,height: int,text: str,) -> Image: + """Generate image: grayscale image from text data""" + ... +def gen_image_white_noise(width: int,height: int,factor: float,) -> Image: + """Generate image: white noise""" + ... +def gen_mesh_cone(radius: float,height: float,slices: int,) -> Mesh: + """Generate cone/pyramid mesh""" + ... +def gen_mesh_cube(width: float,height: float,length: float,) -> Mesh: + """Generate cuboid mesh""" + ... +def gen_mesh_cubicmap(cubicmap: Image,cubeSize: Vector3,) -> Mesh: + """Generate cubes-based map mesh from image data""" + ... +def gen_mesh_cylinder(radius: float,height: float,slices: int,) -> Mesh: + """Generate cylinder mesh""" + ... +def gen_mesh_heightmap(heightmap: Image,size: Vector3,) -> Mesh: + """Generate heightmap mesh from image data""" + ... +def gen_mesh_hemi_sphere(radius: float,rings: int,slices: int,) -> Mesh: + """Generate half-sphere mesh (no bottom cap)""" + ... +def gen_mesh_knot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: + """Generate trefoil knot mesh""" + ... +def gen_mesh_plane(width: float,length: float,resX: int,resZ: int,) -> Mesh: + """Generate plane mesh (with subdivisions)""" + ... +def gen_mesh_poly(sides: int,radius: float,) -> Mesh: + """Generate polygonal mesh""" + ... +def gen_mesh_sphere(radius: float,rings: int,slices: int,) -> Mesh: + """Generate sphere mesh (standard sphere)""" + ... +def gen_mesh_tangents(mesh: Any,) -> None: + """Compute mesh tangents""" + ... +def gen_mesh_torus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: + """Generate torus mesh""" + ... +def gen_texture_mipmaps(texture: Any,) -> None: + """Generate GPU mipmaps for a texture""" + ... +def get_application_directory() -> str: + """Get the directory of the running application (uses static string)""" + ... +def get_camera_matrix(camera: Camera3D,) -> Matrix: + """Get camera transform matrix (view matrix)""" + ... +def get_camera_matrix_2d(camera: Camera2D,) -> Matrix: + """Get camera 2d transform matrix""" + ... +def get_char_pressed() -> int: + """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty""" + ... +def get_clipboard_text() -> str: + """Get clipboard text content""" + ... +def get_codepoint(text: str,codepointSize: Any,) -> int: + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def get_codepoint_count(text: str,) -> int: + """Get total number of codepoints in a UTF-8 encoded string""" + ... +def get_codepoint_next(text: str,codepointSize: Any,) -> int: + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def get_codepoint_previous(text: str,codepointSize: Any,) -> int: + """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def get_collision_rec(rec1: Rectangle,rec2: Rectangle,) -> Rectangle: + """Get collision rectangle for two rectangles collision""" + ... +def get_color(hexValue: int,) -> Color: + """Get Color structure from hexadecimal value""" + ... +def get_current_monitor() -> int: + """Get current connected monitor""" + ... +def get_directory_path(filePath: str,) -> str: + """Get full path for a given fileName with path (uses static string)""" + ... +def get_fps() -> int: + """Get current FPS""" + ... +def get_file_extension(fileName: str,) -> str: + """Get pointer to extension for a filename string (includes dot: '.png')""" + ... +def get_file_length(fileName: str,) -> int: + """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)""" + ... +def get_file_mod_time(fileName: str,) -> int: + """Get file modification time (last write time)""" + ... +def get_file_name(filePath: str,) -> str: + """Get pointer to filename for a path string""" + ... +def get_file_name_without_ext(filePath: str,) -> str: + """Get filename string without extension (uses static string)""" + ... +def get_font_default() -> Font: + """Get the default Font""" + ... +def get_frame_time() -> float: + """Get time in seconds for last frame drawn (delta time)""" + ... +def get_gamepad_axis_count(gamepad: int,) -> int: + """Get gamepad axis count for a gamepad""" + ... +def get_gamepad_axis_movement(gamepad: int,axis: int,) -> float: + """Get axis movement value for a gamepad axis""" + ... +def get_gamepad_button_pressed() -> int: + """Get the last gamepad button pressed""" + ... +def get_gamepad_name(gamepad: int,) -> str: + """Get gamepad internal name id""" + ... +def get_gesture_detected() -> int: + """Get latest detected gesture""" + ... +def get_gesture_drag_angle() -> float: + """Get gesture drag angle""" + ... +def get_gesture_drag_vector() -> Vector2: + """Get gesture drag vector""" + ... +def get_gesture_hold_duration() -> float: + """Get gesture hold time in milliseconds""" + ... +def get_gesture_pinch_angle() -> float: + """Get gesture pinch angle""" + ... +def get_gesture_pinch_vector() -> Vector2: + """Get gesture pinch delta""" + ... +def get_glyph_atlas_rec(font: Font,codepoint: int,) -> Rectangle: + """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found""" + ... +def get_glyph_index(font: Font,codepoint: int,) -> int: + """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found""" + ... +def get_glyph_info(font: Font,codepoint: int,) -> GlyphInfo: + """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found""" + ... +def get_image_alpha_border(image: Image,threshold: float,) -> Rectangle: + """Get image alpha border rectangle""" + ... +def get_image_color(image: Image,x: int,y: int,) -> Color: + """Get image pixel color at (x, y) position""" + ... +def get_key_pressed() -> int: + """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty""" + ... +def get_master_volume() -> float: + """Get master volume (listener)""" + ... +def get_mesh_bounding_box(mesh: Mesh,) -> BoundingBox: + """Compute mesh bounding box limits""" + ... +def get_model_bounding_box(model: Model,) -> BoundingBox: + """Compute model bounding box limits (considers all meshes)""" + ... +def get_monitor_count() -> int: + """Get number of connected monitors""" + ... +def get_monitor_height(monitor: int,) -> int: + """Get specified monitor height (current video mode used by monitor)""" + ... +def get_monitor_name(monitor: int,) -> str: + """Get the human-readable, UTF-8 encoded name of the specified monitor""" + ... +def get_monitor_physical_height(monitor: int,) -> int: + """Get specified monitor physical height in millimetres""" + ... +def get_monitor_physical_width(monitor: int,) -> int: + """Get specified monitor physical width in millimetres""" + ... +def get_monitor_position(monitor: int,) -> Vector2: + """Get specified monitor position""" + ... +def get_monitor_refresh_rate(monitor: int,) -> int: + """Get specified monitor refresh rate""" + ... +def get_monitor_width(monitor: int,) -> int: + """Get specified monitor width (current video mode used by monitor)""" + ... +def get_mouse_delta() -> Vector2: + """Get mouse delta between frames""" + ... +def get_mouse_position() -> Vector2: + """Get mouse position XY""" + ... +def get_mouse_ray(mousePosition: Vector2,camera: Camera3D,) -> Ray: + """Get a ray trace from mouse position""" + ... +def get_mouse_wheel_move() -> float: + """Get mouse wheel movement for X or Y, whichever is larger""" + ... +def get_mouse_wheel_move_v() -> Vector2: + """Get mouse wheel movement for both X and Y""" + ... +def get_mouse_x() -> int: + """Get mouse position X""" + ... +def get_mouse_y() -> int: + """Get mouse position Y""" + ... +def get_music_time_length(music: Music,) -> float: + """Get music time length (in seconds)""" + ... +def get_music_time_played(music: Music,) -> float: + """Get current music time played (in seconds)""" + ... +def get_physics_bodies_count() -> int: + """int GetPhysicsBodiesCount(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def get_physics_body(int_0: int,) -> Any: + """struct PhysicsBodyData *GetPhysicsBody(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def get_physics_shape_type(int_0: int,) -> int: + """int GetPhysicsShapeType(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def get_physics_shape_vertex(PhysicsBodyData_pointer_0: Any,int_1: int,) -> Vector2: + """struct Vector2 GetPhysicsShapeVertex(struct PhysicsBodyData *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def get_physics_shape_vertices_count(int_0: int,) -> int: + """int GetPhysicsShapeVerticesCount(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def get_pixel_color(srcPtr: Any,format: int,) -> Color: + """Get Color from a source pixel pointer of certain format""" + ... +def get_pixel_data_size(width: int,height: int,format: int,) -> int: + """Get pixel data size in bytes for certain format""" + ... +def get_prev_directory_path(dirPath: str,) -> str: + """Get previous directory path for a given path (uses static string)""" + ... +def get_random_value(min: int,max: int,) -> int: + """Get a random value between min and max (both included)""" + ... +def get_ray_collision_box(ray: Ray,box: BoundingBox,) -> RayCollision: + """Get collision info between ray and box""" + ... +def get_ray_collision_mesh(ray: Ray,mesh: Mesh,transform: Matrix,) -> RayCollision: + """Get collision info between ray and mesh""" + ... +def get_ray_collision_quad(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,p4: Vector3,) -> RayCollision: + """Get collision info between ray and quad""" + ... +def get_ray_collision_sphere(ray: Ray,center: Vector3,radius: float,) -> RayCollision: + """Get collision info between ray and sphere""" + ... +def get_ray_collision_triangle(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,) -> RayCollision: + """Get collision info between ray and triangle""" + ... +def get_render_height() -> int: + """Get current render height (it considers HiDPI)""" + ... +def get_render_width() -> int: + """Get current render width (it considers HiDPI)""" + ... +def get_screen_height() -> int: + """Get current screen height""" + ... +def get_screen_to_world_2d(position: Vector2,camera: Camera2D,) -> Vector2: + """Get the world space position for a 2d camera screen space position""" + ... +def get_screen_width() -> int: + """Get current screen width""" + ... +def get_shader_location(shader: Shader,uniformName: str,) -> int: + """Get shader uniform location""" + ... +def get_shader_location_attrib(shader: Shader,attribName: str,) -> int: + """Get shader attribute location""" + ... +def get_spline_point_basis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: B-Spline""" + ... +def get_spline_point_bezier_cubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Cubic Bezier""" + ... +def get_spline_point_bezier_quad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Quadratic Bezier""" + ... +def get_spline_point_catmull_rom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Catmull-Rom""" + ... +def get_spline_point_linear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Linear""" + ... +def get_time() -> float: + """Get elapsed time in seconds since InitWindow()""" + ... +def get_touch_point_count() -> int: + """Get number of touch points""" + ... +def get_touch_point_id(index: int,) -> int: + """Get touch point identifier for given index""" + ... +def get_touch_position(index: int,) -> Vector2: + """Get touch position XY for a touch point index (relative to screen size)""" + ... +def get_touch_x() -> int: + """Get touch position X for touch point 0 (relative to screen size)""" + ... +def get_touch_y() -> int: + """Get touch position Y for touch point 0 (relative to screen size)""" + ... +def get_window_handle() -> Any: + """Get native window handle""" + ... +def get_window_position() -> Vector2: + """Get window position XY on monitor""" + ... +def get_window_scale_dpi() -> Vector2: + """Get window scale DPI factor""" + ... +def get_working_directory() -> str: + """Get current working directory (uses static string)""" + ... +def get_world_to_screen(position: Vector3,camera: Camera3D,) -> Vector2: + """Get the screen space position for a 3d world space position""" + ... +def get_world_to_screen_2d(position: Vector2,camera: Camera2D,) -> Vector2: + """Get the screen space position for a 2d camera world space position""" + ... +def get_world_to_screen_ex(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2: + """Get size position for a 3d world space position""" + ... +def gui_button(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiButton(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_check_box(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: + """int GuiCheckBox(struct Rectangle, char *, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_bar_alpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: + """int GuiColorBarAlpha(struct Rectangle, char *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_bar_hue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: + """int GuiColorBarHue(struct Rectangle, char *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_panel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: + """int GuiColorPanel(struct Rectangle, char *, struct Color *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_panel_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: + """int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_picker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: + """int GuiColorPicker(struct Rectangle, char *, struct Color *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_color_picker_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: + """int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_combo_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiComboBox(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_disable() -> None: + """void GuiDisable(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_disable_tooltip() -> None: + """void GuiDisableTooltip(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_draw_icon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -> None: + """void GuiDrawIcon(int, int, int, int, struct Color); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_dropdown_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int: + """int GuiDropdownBox(struct Rectangle, char *, int *, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_dummy_rec(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiDummyRec(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_enable() -> None: + """void GuiEnable(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_enable_tooltip() -> None: + """void GuiEnableTooltip(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_get_font() -> Font: + """struct Font GuiGetFont(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_get_icons() -> Any: + """unsigned int *GuiGetIcons(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_get_state() -> int: + """int GuiGetState(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_get_style(int_0: int,int_1: int,) -> int: + """int GuiGetStyle(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_grid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int: + """int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_group_box(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiGroupBox(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_icon_text(int_0: int,str_1: str,) -> str: + """char *GuiIconText(int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_is_locked() -> bool: + """_Bool GuiIsLocked(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_label(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLabel(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_label_button(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLabelButton(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_line(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLine(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_list_view(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int: + """int GuiListView(struct Rectangle, char *, int *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_list_view_ex(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int: + """int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_load_icons(str_0: str,_Bool_1: bool,) -> str: + """char * *GuiLoadIcons(char *, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_load_style(str_0: str,) -> None: + """void GuiLoadStyle(char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_load_style_default() -> None: + """void GuiLoadStyleDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_lock() -> None: + """void GuiLock(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_message_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) -> int: + """int GuiMessageBox(struct Rectangle, char *, char *, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_panel(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiPanel(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_progress_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_scroll_panel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int: + """int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_alpha(float_0: float,) -> None: + """void GuiSetAlpha(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_font(Font_0: Font,) -> None: + """void GuiSetFont(struct Font); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_icon_scale(int_0: int,) -> None: + """void GuiSetIconScale(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_state(int_0: int,) -> None: + """void GuiSetState(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_style(int_0: int,int_1: int,int_2: int,) -> None: + """void GuiSetStyle(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_set_tooltip(str_0: str,) -> None: + """void GuiSetTooltip(char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_slider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiSlider(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_slider_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_spinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: + """int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_status_bar(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiStatusBar(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_tab_bar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,) -> int: + """int GuiTabBar(struct Rectangle, char * *, int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_text_box(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int: + """int GuiTextBox(struct Rectangle, char *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_text_input_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int: + """int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_toggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: + """int GuiToggle(struct Rectangle, char *, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_toggle_group(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiToggleGroup(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_toggle_slider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiToggleSlider(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_unlock() -> None: + """void GuiUnlock(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_value_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: + """int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def gui_window_box(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiWindowBox(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def hide_cursor() -> None: + """Hides cursor""" + ... +def image_alpha_clear(image: Any,color: Color,threshold: float,) -> None: + """Clear alpha channel to desired color""" + ... +def image_alpha_crop(image: Any,threshold: float,) -> None: + """Crop image depending on alpha value""" + ... +def image_alpha_mask(image: Any,alphaMask: Image,) -> None: + """Apply alpha mask to image""" + ... +def image_alpha_premultiply(image: Any,) -> None: + """Premultiply alpha channel""" + ... +def image_blur_gaussian(image: Any,blurSize: int,) -> None: + """Apply Gaussian blur using a box blur approximation""" + ... +def image_clear_background(dst: Any,color: Color,) -> None: + """Clear image background with given color""" + ... +def image_color_brightness(image: Any,brightness: int,) -> None: + """Modify image color: brightness (-255 to 255)""" + ... +def image_color_contrast(image: Any,contrast: float,) -> None: + """Modify image color: contrast (-100 to 100)""" + ... +def image_color_grayscale(image: Any,) -> None: + """Modify image color: grayscale""" + ... +def image_color_invert(image: Any,) -> None: + """Modify image color: invert""" + ... +def image_color_replace(image: Any,color: Color,replace: Color,) -> None: + """Modify image color: replace color""" + ... +def image_color_tint(image: Any,color: Color,) -> None: + """Modify image color: tint""" + ... +def image_copy(image: Image,) -> Image: + """Create an image duplicate (useful for transformations)""" + ... +def image_crop(image: Any,crop: Rectangle,) -> None: + """Crop an image to a defined rectangle""" + ... +def image_dither(image: Any,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None: + """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)""" + ... +def image_draw(dst: Any,src: Image,srcRec: Rectangle,dstRec: Rectangle,tint: Color,) -> None: + """Draw a source image within a destination image (tint applied to source)""" + ... +def image_draw_circle(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None: + """Draw a filled circle within an image""" + ... +def image_draw_circle_lines(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None: + """Draw circle outline within an image""" + ... +def image_draw_circle_lines_v(dst: Any,center: Vector2,radius: int,color: Color,) -> None: + """Draw circle outline within an image (Vector version)""" + ... +def image_draw_circle_v(dst: Any,center: Vector2,radius: int,color: Color,) -> None: + """Draw a filled circle within an image (Vector version)""" + ... +def image_draw_line(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None: + """Draw line within an image""" + ... +def image_draw_line_v(dst: Any,start: Vector2,end: Vector2,color: Color,) -> None: + """Draw line within an image (Vector version)""" + ... +def image_draw_pixel(dst: Any,posX: int,posY: int,color: Color,) -> None: + """Draw pixel within an image""" + ... +def image_draw_pixel_v(dst: Any,position: Vector2,color: Color,) -> None: + """Draw pixel within an image (Vector version)""" + ... +def image_draw_rectangle(dst: Any,posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw rectangle within an image""" + ... +def image_draw_rectangle_lines(dst: Any,rec: Rectangle,thick: int,color: Color,) -> None: + """Draw rectangle lines within an image""" + ... +def image_draw_rectangle_rec(dst: Any,rec: Rectangle,color: Color,) -> None: + """Draw rectangle within an image""" + ... +def image_draw_rectangle_v(dst: Any,position: Vector2,size: Vector2,color: Color,) -> None: + """Draw rectangle within an image (Vector version)""" + ... +def image_draw_text(dst: Any,text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None: + """Draw text (using default font) within an image (destination)""" + ... +def image_draw_text_ex(dst: Any,font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text (custom sprite font) within an image (destination)""" + ... +def image_flip_horizontal(image: Any,) -> None: + """Flip image horizontally""" + ... +def image_flip_vertical(image: Any,) -> None: + """Flip image vertically""" + ... +def image_format(image: Any,newFormat: int,) -> None: + """Convert image data to desired format""" + ... +def image_from_image(image: Image,rec: Rectangle,) -> Image: + """Create an image from another image piece""" + ... +def image_mipmaps(image: Any,) -> None: + """Compute all mipmap levels for a provided image""" + ... +def image_resize(image: Any,newWidth: int,newHeight: int,) -> None: + """Resize image (Bicubic scaling algorithm)""" + ... +def image_resize_canvas(image: Any,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color,) -> None: + """Resize canvas and fill with color""" + ... +def image_resize_nn(image: Any,newWidth: int,newHeight: int,) -> None: + """Resize image (Nearest-Neighbor scaling algorithm)""" + ... +def image_rotate(image: Any,degrees: int,) -> None: + """Rotate image by input angle in degrees (-359 to 359)""" + ... +def image_rotate_ccw(image: Any,) -> None: + """Rotate image counter-clockwise 90deg""" + ... +def image_rotate_cw(image: Any,) -> None: + """Rotate image clockwise 90deg""" + ... +def image_text(text: str,fontSize: int,color: Color,) -> Image: + """Create an image from text (default font)""" + ... +def image_text_ex(font: Font,text: str,fontSize: float,spacing: float,tint: Color,) -> Image: + """Create an image from text (custom sprite font)""" + ... +def image_to_pot(image: Any,fill: Color,) -> None: + """Convert image to POT (power-of-two)""" + ... +def init_audio_device() -> None: + """Initialize audio device and context""" + ... +def init_physics() -> None: + """void InitPhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def init_window(width: int,height: int,title: str,) -> None: + """Initialize window and OpenGL context""" + ... +def is_audio_device_ready() -> bool: + """Check if audio device has been initialized successfully""" + ... +def is_audio_stream_playing(stream: AudioStream,) -> bool: + """Check if audio stream is playing""" + ... +def is_audio_stream_processed(stream: AudioStream,) -> bool: + """Check if any audio stream buffers requires refill""" + ... +def is_audio_stream_ready(stream: AudioStream,) -> bool: + """Checks if an audio stream is ready""" + ... +def is_cursor_hidden() -> bool: + """Check if cursor is not visible""" + ... +def is_cursor_on_screen() -> bool: + """Check if cursor is on the screen""" + ... +def is_file_dropped() -> bool: + """Check if a file has been dropped into window""" + ... +def is_file_extension(fileName: str,ext: str,) -> bool: + """Check file extension (including point: .png, .wav)""" + ... +def is_font_ready(font: Font,) -> bool: + """Check if a font is ready""" + ... +def is_gamepad_available(gamepad: int,) -> bool: + """Check if a gamepad is available""" + ... +def is_gamepad_button_down(gamepad: int,button: int,) -> bool: + """Check if a gamepad button is being pressed""" + ... +def is_gamepad_button_pressed(gamepad: int,button: int,) -> bool: + """Check if a gamepad button has been pressed once""" + ... +def is_gamepad_button_released(gamepad: int,button: int,) -> bool: + """Check if a gamepad button has been released once""" + ... +def is_gamepad_button_up(gamepad: int,button: int,) -> bool: + """Check if a gamepad button is NOT being pressed""" + ... +def is_gesture_detected(gesture: int,) -> bool: + """Check if a gesture have been detected""" + ... +def is_image_ready(image: Image,) -> bool: + """Check if an image is ready""" + ... +def is_key_down(key: int,) -> bool: + """Check if a key is being pressed""" + ... +def is_key_pressed(key: int,) -> bool: + """Check if a key has been pressed once""" + ... +def is_key_pressed_repeat(key: int,) -> bool: + """Check if a key has been pressed again (Only PLATFORM_DESKTOP)""" + ... +def is_key_released(key: int,) -> bool: + """Check if a key has been released once""" + ... +def is_key_up(key: int,) -> bool: + """Check if a key is NOT being pressed""" + ... +def is_material_ready(material: Material,) -> bool: + """Check if a material is ready""" + ... +def is_model_animation_valid(model: Model,anim: ModelAnimation,) -> bool: + """Check model animation skeleton match""" + ... +def is_model_ready(model: Model,) -> bool: + """Check if a model is ready""" + ... +def is_mouse_button_down(button: int,) -> bool: + """Check if a mouse button is being pressed""" + ... +def is_mouse_button_pressed(button: int,) -> bool: + """Check if a mouse button has been pressed once""" + ... +def is_mouse_button_released(button: int,) -> bool: + """Check if a mouse button has been released once""" + ... +def is_mouse_button_up(button: int,) -> bool: + """Check if a mouse button is NOT being pressed""" + ... +def is_music_ready(music: Music,) -> bool: + """Checks if a music stream is ready""" + ... +def is_music_stream_playing(music: Music,) -> bool: + """Check if music is playing""" + ... +def is_path_file(path: str,) -> bool: + """Check if a given path is a file or a directory""" + ... +def is_render_texture_ready(target: RenderTexture,) -> bool: + """Check if a render texture is ready""" + ... +def is_shader_ready(shader: Shader,) -> bool: + """Check if a shader is ready""" + ... +def is_sound_playing(sound: Sound,) -> bool: + """Check if a sound is currently playing""" + ... +def is_sound_ready(sound: Sound,) -> bool: + """Checks if a sound is ready""" + ... +def is_texture_ready(texture: Texture,) -> bool: + """Check if a texture is ready""" + ... +def is_wave_ready(wave: Wave,) -> bool: + """Checks if wave data is ready""" + ... +def is_window_focused() -> bool: + """Check if window is currently focused (only PLATFORM_DESKTOP)""" + ... +def is_window_fullscreen() -> bool: + """Check if window is currently fullscreen""" + ... +def is_window_hidden() -> bool: + """Check if window is currently hidden (only PLATFORM_DESKTOP)""" + ... +def is_window_maximized() -> bool: + """Check if window is currently maximized (only PLATFORM_DESKTOP)""" + ... +def is_window_minimized() -> bool: + """Check if window is currently minimized (only PLATFORM_DESKTOP)""" + ... +def is_window_ready() -> bool: + """Check if window has been initialized successfully""" + ... +def is_window_resized() -> bool: + """Check if window has been resized last frame""" + ... +def is_window_state(flag: int,) -> bool: + """Check if one specific window flag is enabled""" + ... +def lerp(float_0: float,float_1: float,float_2: float,) -> float: + """float Lerp(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def load_audio_stream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream: + """Load audio stream (to stream raw audio pcm data)""" + ... +def load_automation_event_list(fileName: str,) -> AutomationEventList: + """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS""" + ... +def load_codepoints(text: str,count: Any,) -> Any: + """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter""" + ... +def load_directory_files(dirPath: str,) -> FilePathList: + """Load directory filepaths""" + ... +def load_directory_files_ex(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList: + """Load directory filepaths with extension filtering and recursive directory scan""" + ... +def load_dropped_files() -> FilePathList: + """Load dropped filepaths""" + ... +def load_file_data(fileName: str,dataSize: Any,) -> str: + """Load file data as byte array (read)""" + ... +def load_file_text(fileName: str,) -> str: + """Load text data from file (read), returns a '\0' terminated string""" + ... +def load_font(fileName: str,) -> Font: + """Load font from file into GPU memory (VRAM)""" + ... +def load_font_data(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any: + """Load font data for further use""" + ... +def load_font_ex(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: + """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont""" + ... +def load_font_from_image(image: Image,key: Color,firstChar: int,) -> Font: + """Load font from Image (XNA style)""" + ... +def load_font_from_memory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: + """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'""" + ... +def load_image(fileName: str,) -> Image: + """Load image from file into CPU memory (RAM)""" + ... +def load_image_anim(fileName: str,frames: Any,) -> Image: + """Load image sequence from file (frames appended to image.data)""" + ... +def load_image_colors(image: Image,) -> Any: + """Load color data from image as a Color array (RGBA - 32bit)""" + ... +def load_image_from_memory(fileType: str,fileData: str,dataSize: int,) -> Image: + """Load image from memory buffer, fileType refers to extension: i.e. '.png'""" + ... +def load_image_from_screen() -> Image: + """Load image from screen buffer and (screenshot)""" + ... +def load_image_from_texture(texture: Texture,) -> Image: + """Load image from GPU texture data""" + ... +def load_image_palette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any: + """Load colors palette from image as a Color array (RGBA - 32bit)""" + ... +def load_image_raw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image: + """Load image from RAW file data""" + ... +def load_image_svg(fileNameOrString: str,width: int,height: int,) -> Image: + """Load image from SVG file data or string with specified size""" + ... +def load_material_default() -> Material: + """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)""" + ... +def load_materials(fileName: str,materialCount: Any,) -> Any: + """Load materials from model file""" + ... +def load_model(fileName: str,) -> Model: + """Load model from files (meshes and materials)""" + ... +def load_model_animations(fileName: str,animCount: Any,) -> Any: + """Load model animations from file""" + ... +def load_model_from_mesh(mesh: Mesh,) -> Model: + """Load model from generated mesh (default material)""" + ... +def load_music_stream(fileName: str,) -> Music: + """Load music stream from file""" + ... +def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music: + """Load music stream from data""" + ... +def load_random_sequence(count: int,min: int,max: int,) -> Any: + """Load random values sequence, no values repeated""" + ... +def load_render_texture(width: int,height: int,) -> RenderTexture: + """Load texture for rendering (framebuffer)""" + ... +def load_shader(vsFileName: str,fsFileName: str,) -> Shader: + """Load shader from files and bind default locations""" + ... +def load_shader_from_memory(vsCode: str,fsCode: str,) -> Shader: + """Load shader from code strings and bind default locations""" + ... +def load_sound(fileName: str,) -> Sound: + """Load sound from file""" + ... +def load_sound_alias(source: Sound,) -> Sound: + """Create a new sound that shares the same sample data as the source sound, does not own the sound data""" + ... +def load_sound_from_wave(wave: Wave,) -> Sound: + """Load sound from wave data""" + ... +def load_texture(fileName: str,) -> Texture: + """Load texture from file into GPU memory (VRAM)""" + ... +def load_texture_cubemap(image: Image,layout: int,) -> Texture: + """Load cubemap from image, multiple image cubemap layouts supported""" + ... +def load_texture_from_image(image: Image,) -> Texture: + """Load texture from image data""" + ... +def load_utf8(codepoints: Any,length: int,) -> str: + """Load UTF-8 text encoded from codepoints array""" + ... +def load_vr_stereo_config(device: VrDeviceInfo,) -> VrStereoConfig: + """Load VR stereo config for VR simulator device parameters""" + ... +def load_wave(fileName: str,) -> Wave: + """Load wave data from file""" + ... +def load_wave_from_memory(fileType: str,fileData: str,dataSize: int,) -> Wave: + """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'""" + ... +def load_wave_samples(wave: Wave,) -> Any: + """Load samples data from wave as a 32bit float data array""" + ... +def matrix_add(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixAdd(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_determinant(Matrix_0: Matrix,) -> float: + """float MatrixDeterminant(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_frustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: + """struct Matrix MatrixFrustum(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_identity() -> Matrix: + """struct Matrix MatrixIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_invert(Matrix_0: Matrix,) -> Matrix: + """struct Matrix MatrixInvert(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_look_at(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Matrix: + """struct Matrix MatrixLookAt(struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_multiply(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixMultiply(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_ortho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: + """struct Matrix MatrixOrtho(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_perspective(double_0: float,double_1: float,double_2: float,double_3: float,) -> Matrix: + """struct Matrix MatrixPerspective(double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate(Vector3_0: Vector3,float_1: float,) -> Matrix: + """struct Matrix MatrixRotate(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate_x(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateX(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate_xyz(Vector3_0: Vector3,) -> Matrix: + """struct Matrix MatrixRotateXYZ(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate_y(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateY(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate_z(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateZ(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_rotate_zyx(Vector3_0: Vector3,) -> Matrix: + """struct Matrix MatrixRotateZYX(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_scale(float_0: float,float_1: float,float_2: float,) -> Matrix: + """struct Matrix MatrixScale(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_subtract(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixSubtract(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_to_float_v(Matrix_0: Matrix,) -> float16: + """struct float16 MatrixToFloatV(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_trace(Matrix_0: Matrix,) -> float: + """float MatrixTrace(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_translate(float_0: float,float_1: float,float_2: float,) -> Matrix: + """struct Matrix MatrixTranslate(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def matrix_transpose(Matrix_0: Matrix,) -> Matrix: + """struct Matrix MatrixTranspose(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def maximize_window() -> None: + """Set window state: maximized, if resizable (only PLATFORM_DESKTOP)""" + ... +def measure_text(text: str,fontSize: int,) -> int: + """Measure string width for default font""" + ... +def measure_text_ex(font: Font,text: str,fontSize: float,spacing: float,) -> Vector2: + """Measure string size for Font""" + ... +def mem_alloc(size: int,) -> Any: + """Internal memory allocator""" + ... +def mem_free(ptr: Any,) -> None: + """Internal memory free""" + ... +def mem_realloc(ptr: Any,size: int,) -> Any: + """Internal memory reallocator""" + ... +def minimize_window() -> None: + """Set window state: minimized, if resizable (only PLATFORM_DESKTOP)""" + ... +def normalize(float_0: float,float_1: float,float_2: float,) -> float: + """float Normalize(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def open_url(url: str,) -> None: + """Open URL with default system browser (if available)""" + ... +def pause_audio_stream(stream: AudioStream,) -> None: + """Pause audio stream""" + ... +def pause_music_stream(music: Music,) -> None: + """Pause music playing""" + ... +def pause_sound(sound: Sound,) -> None: + """Pause a sound""" + ... +def physics_add_force(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,) -> None: + """void PhysicsAddForce(struct PhysicsBodyData *, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def physics_add_torque(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: + """void PhysicsAddTorque(struct PhysicsBodyData *, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def physics_shatter(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,float_2: float,) -> None: + """void PhysicsShatter(struct PhysicsBodyData *, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def play_audio_stream(stream: AudioStream,) -> None: + """Play audio stream""" + ... +def play_automation_event(event: AutomationEvent,) -> None: + """Play a recorded automation event""" + ... +def play_music_stream(music: Music,) -> None: + """Start music playing""" + ... +def play_sound(sound: Sound,) -> None: + """Play a sound""" + ... +def poll_input_events() -> None: + """Register all input events""" + ... +def quaternion_add(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionAdd(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_add_value(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionAddValue(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_divide(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionDivide(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_equals(Vector4_0: Vector4,Vector4_1: Vector4,) -> int: + """int QuaternionEquals(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_from_axis_angle(Vector3_0: Vector3,float_1: float,) -> Vector4: + """struct Vector4 QuaternionFromAxisAngle(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_from_euler(float_0: float,float_1: float,float_2: float,) -> Vector4: + """struct Vector4 QuaternionFromEuler(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_from_matrix(Matrix_0: Matrix,) -> Vector4: + """struct Vector4 QuaternionFromMatrix(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_from_vector3_to_vector3(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector4: + """struct Vector4 QuaternionFromVector3ToVector3(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_identity() -> Vector4: + """struct Vector4 QuaternionIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_invert(Vector4_0: Vector4,) -> Vector4: + """struct Vector4 QuaternionInvert(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_length(Vector4_0: Vector4,) -> float: + """float QuaternionLength(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_lerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionLerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_multiply(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionMultiply(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_nlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionNlerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_normalize(Vector4_0: Vector4,) -> Vector4: + """struct Vector4 QuaternionNormalize(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_scale(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionScale(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_slerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionSlerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_subtract(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionSubtract(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_subtract_value(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionSubtractValue(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_to_axis_angle(Vector4_0: Vector4,Vector3_pointer_1: Any,float_pointer_2: Any,) -> None: + """void QuaternionToAxisAngle(struct Vector4, struct Vector3 *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_to_euler(Vector4_0: Vector4,) -> Vector3: + """struct Vector3 QuaternionToEuler(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_to_matrix(Vector4_0: Vector4,) -> Matrix: + """struct Matrix QuaternionToMatrix(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def quaternion_transform(Vector4_0: Vector4,Matrix_1: Matrix,) -> Vector4: + """struct Vector4 QuaternionTransform(struct Vector4, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def remap(float_0: float,float_1: float,float_2: float,float_3: float,float_4: float,) -> float: + """float Remap(float, float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def reset_physics() -> None: + """void ResetPhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def restore_window() -> None: + """Set window state: not minimized/maximized (only PLATFORM_DESKTOP)""" + ... +def resume_audio_stream(stream: AudioStream,) -> None: + """Resume audio stream""" + ... +def resume_music_stream(music: Music,) -> None: + """Resume playing paused music""" + ... +def resume_sound(sound: Sound,) -> None: + """Resume a paused sound""" + ... +def save_file_data(fileName: str,data: Any,dataSize: int,) -> bool: + """Save data to file from byte array (write), returns true on success""" + ... +def save_file_text(fileName: str,text: str,) -> bool: + """Save text data to file (write), string must be '\0' terminated, returns true on success""" + ... +def seek_music_stream(music: Music,position: float,) -> None: + """Seek music to a position (in seconds)""" + ... +def set_audio_stream_buffer_size_default(size: int,) -> None: + """Default size for new audio streams""" + ... +def set_audio_stream_callback(stream: AudioStream,callback: Any,) -> None: + """Audio thread callback to request new data""" + ... +def set_audio_stream_pan(stream: AudioStream,pan: float,) -> None: + """Set pan for audio stream (0.5 is centered)""" + ... +def set_audio_stream_pitch(stream: AudioStream,pitch: float,) -> None: + """Set pitch for audio stream (1.0 is base level)""" + ... +def set_audio_stream_volume(stream: AudioStream,volume: float,) -> None: + """Set volume for audio stream (1.0 is max level)""" + ... +def set_automation_event_base_frame(frame: int,) -> None: + """Set automation event internal base frame to start recording""" + ... +def set_automation_event_list(list: Any,) -> None: + """Set automation event list to record to""" + ... +def set_clipboard_text(text: str,) -> None: + """Set clipboard text content""" + ... +def set_config_flags(flags: int,) -> None: + """Setup init configuration flags (view FLAGS)""" + ... +def set_exit_key(key: int,) -> None: + """Set a custom key to exit program (default is ESC)""" + ... +def set_gamepad_mappings(mappings: str,) -> int: + """Set internal gamepad mappings (SDL_GameControllerDB)""" + ... +def set_gestures_enabled(flags: int,) -> None: + """Enable a set of gestures using flags""" + ... +def set_load_file_data_callback(callback: str,) -> None: + """Set custom file binary data loader""" + ... +def set_load_file_text_callback(callback: str,) -> None: + """Set custom file text data loader""" + ... +def set_master_volume(volume: float,) -> None: + """Set master volume (listener)""" + ... +def set_material_texture(material: Any,mapType: int,texture: Texture,) -> None: + """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)""" + ... +def set_model_mesh_material(model: Any,meshId: int,materialId: int,) -> None: + """Set material for a mesh""" + ... +def set_mouse_cursor(cursor: int,) -> None: + """Set mouse cursor""" + ... +def set_mouse_offset(offsetX: int,offsetY: int,) -> None: + """Set mouse offset""" + ... +def set_mouse_position(x: int,y: int,) -> None: + """Set mouse position XY""" + ... +def set_mouse_scale(scaleX: float,scaleY: float,) -> None: + """Set mouse scaling""" + ... +def set_music_pan(music: Music,pan: float,) -> None: + """Set pan for a music (0.5 is center)""" + ... +def set_music_pitch(music: Music,pitch: float,) -> None: + """Set pitch for a music (1.0 is base level)""" + ... +def set_music_volume(music: Music,volume: float,) -> None: + """Set volume for music (1.0 is max level)""" + ... +def set_physics_body_rotation(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: + """void SetPhysicsBodyRotation(struct PhysicsBodyData *, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def set_physics_gravity(float_0: float,float_1: float,) -> None: + """void SetPhysicsGravity(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def set_physics_time_step(double_0: float,) -> None: + """void SetPhysicsTimeStep(double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def set_pixel_color(dstPtr: Any,color: Color,format: int,) -> None: + """Set color formatted into destination pixel pointer""" + ... +def set_random_seed(seed: int,) -> None: + """Set the seed for the random number generator""" + ... +def set_save_file_data_callback(callback: str,) -> None: + """Set custom file binary data saver""" + ... +def set_save_file_text_callback(callback: str,) -> None: + """Set custom file text data saver""" + ... +def set_shader_value(shader: Shader,locIndex: int,value: Any,uniformType: int,) -> None: + """Set shader uniform value""" + ... +def set_shader_value_matrix(shader: Shader,locIndex: int,mat: Matrix,) -> None: + """Set shader uniform value (matrix 4x4)""" + ... +def set_shader_value_texture(shader: Shader,locIndex: int,texture: Texture,) -> None: + """Set shader uniform value for texture (sampler2d)""" + ... +def set_shader_value_v(shader: Shader,locIndex: int,value: Any,uniformType: int,count: int,) -> None: + """Set shader uniform value vector""" + ... +def set_shapes_texture(texture: Texture,source: Rectangle,) -> None: + """Set texture and rectangle to be used on shapes drawing""" + ... +def set_sound_pan(sound: Sound,pan: float,) -> None: + """Set pan for a sound (0.5 is center)""" + ... +def set_sound_pitch(sound: Sound,pitch: float,) -> None: + """Set pitch for a sound (1.0 is base level)""" + ... +def set_sound_volume(sound: Sound,volume: float,) -> None: + """Set volume for a sound (1.0 is max level)""" + ... +def set_target_fps(fps: int,) -> None: + """Set target FPS (maximum)""" + ... +def set_text_line_spacing(spacing: int,) -> None: + """Set vertical line spacing when drawing with line-breaks""" + ... +def set_texture_filter(texture: Texture,filter: int,) -> None: + """Set texture scaling filter mode""" + ... +def set_texture_wrap(texture: Texture,wrap: int,) -> None: + """Set texture wrapping mode""" + ... +def set_trace_log_callback(callback: str,) -> None: + """Set custom trace log""" + ... +def set_trace_log_level(logLevel: int,) -> None: + """Set the current threshold (minimum) log level""" + ... +def set_window_focused() -> None: + """Set window focused (only PLATFORM_DESKTOP)""" + ... +def set_window_icon(image: Image,) -> None: + """Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)""" + ... +def set_window_icons(images: Any,count: int,) -> None: + """Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)""" + ... +def set_window_max_size(width: int,height: int,) -> None: + """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)""" + ... +def set_window_min_size(width: int,height: int,) -> None: + """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)""" + ... +def set_window_monitor(monitor: int,) -> None: + """Set monitor for the current window""" + ... +def set_window_opacity(opacity: float,) -> None: + """Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)""" + ... +def set_window_position(x: int,y: int,) -> None: + """Set window position on screen (only PLATFORM_DESKTOP)""" + ... +def set_window_size(width: int,height: int,) -> None: + """Set window dimensions""" + ... +def set_window_state(flags: int,) -> None: + """Set window configuration state using flags (only PLATFORM_DESKTOP)""" + ... +def set_window_title(title: str,) -> None: + """Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)""" + ... +def show_cursor() -> None: + """Shows cursor""" + ... +def start_automation_event_recording() -> None: + """Start recording automation events (AutomationEventList must be set)""" + ... +def stop_audio_stream(stream: AudioStream,) -> None: + """Stop audio stream""" + ... +def stop_automation_event_recording() -> None: + """Stop recording automation events""" + ... +def stop_music_stream(music: Music,) -> None: + """Stop music playing""" + ... +def stop_sound(sound: Sound,) -> None: + """Stop playing a sound""" + ... +def swap_screen_buffer() -> None: + """Swap back buffer with front buffer (screen drawing)""" + ... +def take_screenshot(fileName: str,) -> None: + """Takes a screenshot of current screen (filename extension defines format)""" + ... +def text_append(text: str,append: str,position: Any,) -> None: + """Append text at specific position and move cursor!""" + ... +def text_copy(dst: str,src: str,) -> int: + """Copy one string to another, returns bytes copied""" + ... +def text_find_index(text: str,find: str,) -> int: + """Find first text occurrence within a string""" + ... +def text_format(*args) -> str: + """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" + ... +def text_insert(text: str,insert: str,position: int,) -> str: + """Insert text in a position (WARNING: memory must be freed!)""" + ... +def text_is_equal(text1: str,text2: str,) -> bool: + """Check if two text string are equal""" + ... +def text_join(textList: str,count: int,delimiter: str,) -> str: + """Join text strings with delimiter""" + ... +def text_length(text: str,) -> int: + """Get text length, checks for '\0' ending""" + ... +def text_replace(text: str,replace: str,by: str,) -> str: + """Replace text string (WARNING: memory must be freed!)""" + ... +def text_split(text: str,delimiter: str,count: Any,) -> str: + """Split text into multiple strings""" + ... +def text_subtext(text: str,position: int,length: int,) -> str: + """Get a piece of a text string""" + ... +def text_to_integer(text: str,) -> int: + """Get integer value from text (negative values not supported)""" + ... +def text_to_lower(text: str,) -> str: + """Get lower case version of provided string""" + ... +def text_to_pascal(text: str,) -> str: + """Get Pascal case notation version of provided string""" + ... +def text_to_upper(text: str,) -> str: + """Get upper case version of provided string""" + ... +def toggle_borderless_windowed() -> None: + """Toggle window state: borderless windowed (only PLATFORM_DESKTOP)""" + ... +def toggle_fullscreen() -> None: + """Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)""" + ... +def trace_log(*args) -> None: + """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" + ... +def unload_audio_stream(stream: AudioStream,) -> None: + """Unload audio stream and free memory""" + ... +def unload_automation_event_list(list: Any,) -> None: + """Unload automation events list from file""" + ... +def unload_codepoints(codepoints: Any,) -> None: + """Unload codepoints data from memory""" + ... +def unload_directory_files(files: FilePathList,) -> None: + """Unload filepaths""" + ... +def unload_dropped_files(files: FilePathList,) -> None: + """Unload dropped filepaths""" + ... +def unload_file_data(data: str,) -> None: + """Unload file data allocated by LoadFileData()""" + ... +def unload_file_text(text: str,) -> None: + """Unload file text data allocated by LoadFileText()""" + ... +def unload_font(font: Font,) -> None: + """Unload font from GPU memory (VRAM)""" + ... +def unload_font_data(glyphs: Any,glyphCount: int,) -> None: + """Unload font chars info data (RAM)""" + ... +def unload_image(image: Image,) -> None: + """Unload image from CPU memory (RAM)""" + ... +def unload_image_colors(colors: Any,) -> None: + """Unload color data loaded with LoadImageColors()""" + ... +def unload_image_palette(colors: Any,) -> None: + """Unload colors palette loaded with LoadImagePalette()""" + ... +def unload_material(material: Material,) -> None: + """Unload material from GPU memory (VRAM)""" + ... +def unload_mesh(mesh: Mesh,) -> None: + """Unload mesh data from CPU and GPU""" + ... +def unload_model(model: Model,) -> None: + """Unload model (including meshes) from memory (RAM and/or VRAM)""" + ... +def unload_model_animation(anim: ModelAnimation,) -> None: + """Unload animation data""" + ... +def unload_model_animations(animations: Any,animCount: int,) -> None: + """Unload animation array data""" + ... +def unload_music_stream(music: Music,) -> None: + """Unload music stream""" + ... +def unload_random_sequence(sequence: Any,) -> None: + """Unload random values sequence""" + ... +def unload_render_texture(target: RenderTexture,) -> None: + """Unload render texture from GPU memory (VRAM)""" + ... +def unload_shader(shader: Shader,) -> None: + """Unload shader from GPU memory (VRAM)""" + ... +def unload_sound(sound: Sound,) -> None: + """Unload sound""" + ... +def unload_sound_alias(alias: Sound,) -> None: + """Unload a sound alias (does not deallocate sample data)""" + ... +def unload_texture(texture: Texture,) -> None: + """Unload texture from GPU memory (VRAM)""" + ... +def unload_utf8(text: str,) -> None: + """Unload UTF-8 text encoded from codepoints array""" + ... +def unload_vr_stereo_config(config: VrStereoConfig,) -> None: + """Unload VR stereo config""" + ... +def unload_wave(wave: Wave,) -> None: + """Unload wave data""" + ... +def unload_wave_samples(samples: Any,) -> None: + """Unload samples data loaded with LoadWaveSamples()""" + ... +def update_audio_stream(stream: AudioStream,data: Any,frameCount: int,) -> None: + """Update audio stream buffers with data""" + ... +def update_camera(camera: Any,mode: int,) -> None: + """Update camera position for selected mode""" + ... +def update_camera_pro(camera: Any,movement: Vector3,rotation: Vector3,zoom: float,) -> None: + """Update camera movement/rotation""" + ... +def update_mesh_buffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,) -> None: + """Update mesh vertex data in GPU for a specific buffer index""" + ... +def update_model_animation(model: Model,anim: ModelAnimation,frame: int,) -> None: + """Update model animation pose""" + ... +def update_music_stream(music: Music,) -> None: + """Updates buffers for music streaming""" + ... +def update_physics() -> None: + """void UpdatePhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def update_sound(sound: Sound,data: Any,sampleCount: int,) -> None: + """Update sound buffer with new data""" + ... +def update_texture(texture: Texture,pixels: Any,) -> None: + """Update GPU texture with new data""" + ... +def update_texture_rec(texture: Texture,rec: Rectangle,pixels: Any,) -> None: + """Update GPU texture rectangle with new data""" + ... +def upload_mesh(mesh: Any,dynamic: bool,) -> None: + """Upload mesh vertex data in GPU and provide VAO/VBO ids""" + ... +def vector2_add(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Add(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_add_value(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2AddValue(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2Angle(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_clamp(Vector2_0: Vector2,Vector2_1: Vector2,Vector2_2: Vector2,) -> Vector2: + """struct Vector2 Vector2Clamp(struct Vector2, struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_clamp_value(Vector2_0: Vector2,float_1: float,float_2: float,) -> Vector2: + """struct Vector2 Vector2ClampValue(struct Vector2, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_2distance(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2Distance(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_2distance_sqr(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2DistanceSqr(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_2divide(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Divide(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_2dot_product(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2DotProduct(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_equals(Vector2_0: Vector2,Vector2_1: Vector2,) -> int: + """int Vector2Equals(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_invert(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Invert(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_length(Vector2_0: Vector2,) -> float: + """float Vector2Length(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_length_sqr(Vector2_0: Vector2,) -> float: + """float Vector2LengthSqr(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_lerp(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: + """struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_line_angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2LineAngle(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_move_towards(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: + """struct Vector2 Vector2MoveTowards(struct Vector2, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_multiply(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Multiply(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_negate(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Negate(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_normalize(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Normalize(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_one() -> Vector2: + """struct Vector2 Vector2One(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_reflect(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Reflect(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_rotate(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2Rotate(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_scale(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2Scale(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_subtract(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Subtract(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_subtract_value(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2SubtractValue(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_transform(Vector2_0: Vector2,Matrix_1: Matrix,) -> Vector2: + """struct Vector2 Vector2Transform(struct Vector2, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector2_zero() -> Vector2: + """struct Vector2 Vector2Zero(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_add(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Add(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_add_value(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3AddValue(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_angle(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3Angle(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_barycenter(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,Vector3_3: Vector3,) -> Vector3: + """struct Vector3 Vector3Barycenter(struct Vector3, struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_clamp(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Vector3: + """struct Vector3 Vector3Clamp(struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_clamp_value(Vector3_0: Vector3,float_1: float,float_2: float,) -> Vector3: + """struct Vector3 Vector3ClampValue(struct Vector3, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_cross_product(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3CrossProduct(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_3distance(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3Distance(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_3distance_sqr(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3DistanceSqr(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_3divide(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Divide(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector_3dot_product(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3DotProduct(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_equals(Vector3_0: Vector3,Vector3_1: Vector3,) -> int: + """int Vector3Equals(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_invert(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Invert(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_length(Vector3_0: Vector3,) -> float: + """float Vector3Length(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_length_sqr(Vector3_0: Vector3,) -> float: + """float Vector3LengthSqr(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_lerp(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3Lerp(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_max(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Max(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_min(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Min(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_multiply(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Multiply(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_negate(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Negate(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_normalize(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Normalize(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_one() -> Vector3: + """struct Vector3 Vector3One(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_ortho_normalize(Vector3_pointer_0: Any,Vector3_pointer_1: Any,) -> None: + """void Vector3OrthoNormalize(struct Vector3 *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_perpendicular(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Perpendicular(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Project(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Reflect(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Reject(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_rotate_by_axis_angle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_rotate_by_quaternion(Vector3_0: Vector3,Vector4_1: Vector4,) -> Vector3: + """struct Vector3 Vector3RotateByQuaternion(struct Vector3, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_scale(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3Scale(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_subtract(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Subtract(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_subtract_value(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3SubtractValue(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_to_float_v(Vector3_0: Vector3,) -> float3: + """struct float3 Vector3ToFloatV(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_transform(Vector3_0: Vector3,Matrix_1: Matrix,) -> Vector3: + """struct Vector3 Vector3Transform(struct Vector3, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_unproject(Vector3_0: Vector3,Matrix_1: Matrix,Matrix_2: Matrix,) -> Vector3: + """struct Vector3 Vector3Unproject(struct Vector3, struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def vector3_zero() -> Vector3: + """struct Vector3 Vector3Zero(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def wait_time(seconds: float,) -> None: + """Wait for some time (halt program execution)""" + ... +def wave_copy(wave: Wave,) -> Wave: + """Copy a wave to a new wave""" + ... +def wave_crop(wave: Any,initSample: int,finalSample: int,) -> None: + """Crop a wave to defined samples range""" + ... +def wave_format(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None: + """Convert wave data to desired format""" + ... +def window_should_close() -> bool: + """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" + ... +def wrap(float_0: float,float_1: float,float_2: float,) -> float: + """float Wrap(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_active_draw_buffers(int_0: int,) -> None: + """void rlActiveDrawBuffers(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_active_texture_slot(int_0: int,) -> None: + """void rlActiveTextureSlot(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_begin(int_0: int,) -> None: + """void rlBegin(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_bind_image_texture(unsignedint_0: int,unsignedint_1: int,int_2: int,_Bool_3: bool,) -> None: + """void rlBindImageTexture(unsigned int, unsigned int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_bind_shader_buffer(unsignedint_0: int,unsignedint_1: int,) -> None: + """void rlBindShaderBuffer(unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_blit_framebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None: + """void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_check_errors() -> None: + """void rlCheckErrors(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_check_render_batch_limit(int_0: int,) -> bool: + """_Bool rlCheckRenderBatchLimit(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_clear_color(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: + """void rlClearColor(unsigned char, unsigned char, unsigned char, unsigned char); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_clear_screen_buffers() -> None: + """void rlClearScreenBuffers(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_color3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlColor3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_color4f(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: + """void rlColor4f(float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_color4ub(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: + """void rlColor4ub(unsigned char, unsigned char, unsigned char, unsigned char); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_compile_shader(str_0: str,int_1: int,) -> int: + """unsigned int rlCompileShader(char *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_compute_shader_dispatch(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,) -> None: + """void rlComputeShaderDispatch(unsigned int, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_copy_shader_buffer(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,unsignedint_3: int,unsignedint_4: int,) -> None: + """void rlCopyShaderBuffer(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_cubemap_parameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: + """void rlCubemapParameters(unsigned int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_backface_culling() -> None: + """void rlDisableBackfaceCulling(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_color_blend() -> None: + """void rlDisableColorBlend(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_depth_mask() -> None: + """void rlDisableDepthMask(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_depth_test() -> None: + """void rlDisableDepthTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_framebuffer() -> None: + """void rlDisableFramebuffer(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_scissor_test() -> None: + """void rlDisableScissorTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_shader() -> None: + """void rlDisableShader(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_smooth_lines() -> None: + """void rlDisableSmoothLines(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_stereo_render() -> None: + """void rlDisableStereoRender(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_texture() -> None: + """void rlDisableTexture(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_texture_cubemap() -> None: + """void rlDisableTextureCubemap(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_vertex_array() -> None: + """void rlDisableVertexArray(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_vertex_attribute(unsignedint_0: int,) -> None: + """void rlDisableVertexAttribute(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_vertex_buffer() -> None: + """void rlDisableVertexBuffer(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_vertex_buffer_element() -> None: + """void rlDisableVertexBufferElement(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_disable_wire_mode() -> None: + """void rlDisableWireMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_render_batch(rlRenderBatch_pointer_0: Any,) -> None: + """void rlDrawRenderBatch(struct rlRenderBatch *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_render_batch_active() -> None: + """void rlDrawRenderBatchActive(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_vertex_array(int_0: int,int_1: int,) -> None: + """void rlDrawVertexArray(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_vertex_array_elements(int_0: int,int_1: int,void_pointer_2: Any,) -> None: + """void rlDrawVertexArrayElements(int, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_vertex_array_elements_instanced(int_0: int,int_1: int,void_pointer_2: Any,int_3: int,) -> None: + """void rlDrawVertexArrayElementsInstanced(int, int, void *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_draw_vertex_array_instanced(int_0: int,int_1: int,int_2: int,) -> None: + """void rlDrawVertexArrayInstanced(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_backface_culling() -> None: + """void rlEnableBackfaceCulling(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_color_blend() -> None: + """void rlEnableColorBlend(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_depth_mask() -> None: + """void rlEnableDepthMask(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_depth_test() -> None: + """void rlEnableDepthTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_framebuffer(unsignedint_0: int,) -> None: + """void rlEnableFramebuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_point_mode() -> None: + """void rlEnablePointMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_scissor_test() -> None: + """void rlEnableScissorTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_shader(unsignedint_0: int,) -> None: + """void rlEnableShader(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_smooth_lines() -> None: + """void rlEnableSmoothLines(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_stereo_render() -> None: + """void rlEnableStereoRender(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_texture(unsignedint_0: int,) -> None: + """void rlEnableTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_texture_cubemap(unsignedint_0: int,) -> None: + """void rlEnableTextureCubemap(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_vertex_array(unsignedint_0: int,) -> bool: + """_Bool rlEnableVertexArray(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_vertex_attribute(unsignedint_0: int,) -> None: + """void rlEnableVertexAttribute(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_vertex_buffer(unsignedint_0: int,) -> None: + """void rlEnableVertexBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_vertex_buffer_element(unsignedint_0: int,) -> None: + """void rlEnableVertexBufferElement(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_enable_wire_mode() -> None: + """void rlEnableWireMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_end() -> None: + """void rlEnd(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_framebuffer_attach(unsignedint_0: int,unsignedint_1: int,int_2: int,int_3: int,int_4: int,) -> None: + """void rlFramebufferAttach(unsigned int, unsigned int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_framebuffer_complete(unsignedint_0: int,) -> bool: + """_Bool rlFramebufferComplete(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_frustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: + """void rlFrustum(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_gen_texture_mipmaps(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_pointer_4: Any,) -> None: + """void rlGenTextureMipmaps(unsigned int, int, int, int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_framebuffer_height() -> int: + """int rlGetFramebufferHeight(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_framebuffer_width() -> int: + """int rlGetFramebufferWidth(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_gl_texture_formats(int_0: int,unsignedint_pointer_1: Any,unsignedint_pointer_2: Any,unsignedint_pointer_3: Any,) -> None: + """void rlGetGlTextureFormats(int, unsigned int *, unsigned int *, unsigned int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_line_width() -> float: + """float rlGetLineWidth(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_location_attrib(unsignedint_0: int,str_1: str,) -> int: + """int rlGetLocationAttrib(unsigned int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_location_uniform(unsignedint_0: int,str_1: str,) -> int: + """int rlGetLocationUniform(unsigned int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_matrix_modelview() -> Matrix: + """struct Matrix rlGetMatrixModelview(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_matrix_projection() -> Matrix: + """struct Matrix rlGetMatrixProjection(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_matrix_projection_stereo(int_0: int,) -> Matrix: + """struct Matrix rlGetMatrixProjectionStereo(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_matrix_transform() -> Matrix: + """struct Matrix rlGetMatrixTransform(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_matrix_view_offset_stereo(int_0: int,) -> Matrix: + """struct Matrix rlGetMatrixViewOffsetStereo(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_pixel_format_name(unsignedint_0: int,) -> str: + """char *rlGetPixelFormatName(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_shader_buffer_size(unsignedint_0: int,) -> int: + """unsigned int rlGetShaderBufferSize(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_shader_id_default() -> int: + """unsigned int rlGetShaderIdDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_shader_locs_default() -> Any: + """int *rlGetShaderLocsDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_texture_id_default() -> int: + """unsigned int rlGetTextureIdDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_get_version() -> int: + """int rlGetVersion(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_is_stereo_render_enabled() -> bool: + """_Bool rlIsStereoRenderEnabled(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_compute_shader_program(unsignedint_0: int,) -> int: + """unsigned int rlLoadComputeShaderProgram(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_draw_cube() -> None: + """void rlLoadDrawCube(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_draw_quad() -> None: + """void rlLoadDrawQuad(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_extensions(void_pointer_0: Any,) -> None: + """void rlLoadExtensions(void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_framebuffer(int_0: int,int_1: int,) -> int: + """unsigned int rlLoadFramebuffer(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_identity() -> None: + """void rlLoadIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_render_batch(int_0: int,int_1: int,) -> rlRenderBatch: + """struct rlRenderBatch rlLoadRenderBatch(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_shader_buffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,) -> int: + """unsigned int rlLoadShaderBuffer(unsigned int, void *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_shader_code(str_0: str,str_1: str,) -> int: + """unsigned int rlLoadShaderCode(char *, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_shader_program(unsignedint_0: int,unsignedint_1: int,) -> int: + """unsigned int rlLoadShaderProgram(unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_texture(void_pointer_0: Any,int_1: int,int_2: int,int_3: int,int_4: int,) -> int: + """unsigned int rlLoadTexture(void *, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_texture_cubemap(void_pointer_0: Any,int_1: int,int_2: int,) -> int: + """unsigned int rlLoadTextureCubemap(void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_texture_depth(int_0: int,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadTextureDepth(int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_vertex_array() -> int: + """unsigned int rlLoadVertexArray(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_vertex_buffer(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadVertexBuffer(void *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_load_vertex_buffer_element(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadVertexBufferElement(void *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_matrix_mode(int_0: int,) -> None: + """void rlMatrixMode(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_mult_matrixf(float_pointer_0: Any,) -> None: + """void rlMultMatrixf(float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_normal3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlNormal3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_ortho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: + """void rlOrtho(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_pop_matrix() -> None: + """void rlPopMatrix(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_push_matrix() -> None: + """void rlPushMatrix(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_read_screen_pixels(int_0: int,int_1: int,) -> str: + """unsigned char *rlReadScreenPixels(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_read_shader_buffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: + """void rlReadShaderBuffer(unsigned int, void *, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_read_texture_pixels(unsignedint_0: int,int_1: int,int_2: int,int_3: int,) -> Any: + """void *rlReadTexturePixels(unsigned int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_rotatef(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: + """void rlRotatef(float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_scalef(float_0: float,float_1: float,float_2: float,) -> None: + """void rlScalef(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_scissor(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: + """void rlScissor(int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_blend_factors(int_0: int,int_1: int,int_2: int,) -> None: + """void rlSetBlendFactors(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_blend_factors_separate(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,) -> None: + """void rlSetBlendFactorsSeparate(int, int, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_blend_mode(int_0: int,) -> None: + """void rlSetBlendMode(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_cull_face(int_0: int,) -> None: + """void rlSetCullFace(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_framebuffer_height(int_0: int,) -> None: + """void rlSetFramebufferHeight(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_framebuffer_width(int_0: int,) -> None: + """void rlSetFramebufferWidth(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_line_width(float_0: float,) -> None: + """void rlSetLineWidth(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_matrix_modelview(Matrix_0: Matrix,) -> None: + """void rlSetMatrixModelview(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_matrix_projection(Matrix_0: Matrix,) -> None: + """void rlSetMatrixProjection(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_matrix_projection_stereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: + """void rlSetMatrixProjectionStereo(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_matrix_view_offset_stereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: + """void rlSetMatrixViewOffsetStereo(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_render_batch_active(rlRenderBatch_pointer_0: Any,) -> None: + """void rlSetRenderBatchActive(struct rlRenderBatch *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_shader(unsignedint_0: int,int_pointer_1: Any,) -> None: + """void rlSetShader(unsigned int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_texture(unsignedint_0: int,) -> None: + """void rlSetTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_uniform(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlSetUniform(int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_uniform_matrix(int_0: int,Matrix_1: Matrix,) -> None: + """void rlSetUniformMatrix(int, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_uniform_sampler(int_0: int,unsignedint_1: int,) -> None: + """void rlSetUniformSampler(int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_vertex_attribute(unsignedint_0: int,int_1: int,int_2: int,_Bool_3: bool,int_4: int,void_pointer_5: Any,) -> None: + """void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_vertex_attribute_default(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlSetVertexAttributeDefault(int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_set_vertex_attribute_divisor(unsignedint_0: int,int_1: int,) -> None: + """void rlSetVertexAttributeDivisor(unsigned int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_tex_coord2f(float_0: float,float_1: float,) -> None: + """void rlTexCoord2f(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_texture_parameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: + """void rlTextureParameters(unsigned int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_translatef(float_0: float,float_1: float,float_2: float,) -> None: + """void rlTranslatef(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_framebuffer(unsignedint_0: int,) -> None: + """void rlUnloadFramebuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_render_batch(rlRenderBatch_0: rlRenderBatch,) -> None: + """void rlUnloadRenderBatch(struct rlRenderBatch); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_shader_buffer(unsignedint_0: int,) -> None: + """void rlUnloadShaderBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_shader_program(unsignedint_0: int,) -> None: + """void rlUnloadShaderProgram(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_texture(unsignedint_0: int,) -> None: + """void rlUnloadTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_vertex_array(unsignedint_0: int,) -> None: + """void rlUnloadVertexArray(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_unload_vertex_buffer(unsignedint_0: int,) -> None: + """void rlUnloadVertexBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_update_shader_buffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: + """void rlUpdateShaderBuffer(unsigned int, void *, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_update_texture(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,void_pointer_6: Any,) -> None: + """void rlUpdateTexture(unsigned int, int, int, int, int, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_update_vertex_buffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlUpdateVertexBuffer(unsigned int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_update_vertex_buffer_elements(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlUpdateVertexBufferElements(unsigned int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_vertex2f(float_0: float,float_1: float,) -> None: + """void rlVertex2f(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_vertex2i(int_0: int,int_1: int,) -> None: + """void rlVertex2i(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_vertex3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlVertex3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rl_viewport(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: + """void rlViewport(int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlgl_close() -> None: + """void rlglClose(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlgl_init(int_0: int,int_1: int,) -> None: + """void rlglInit(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +class AudioStream: + """ struct """ + def __init__(self, buffer, processor, sampleRate, sampleSize, channels): + self.buffer=buffer + self.processor=processor + self.sampleRate=sampleRate + self.sampleSize=sampleSize + self.channels=channels +class AutomationEvent: + """ struct """ + def __init__(self, frame, type, params): + self.frame=frame + self.type=type + self.params=params +class AutomationEventList: + """ struct """ + def __init__(self, capacity, count, events): + self.capacity=capacity + self.count=count + self.events=events +class BoneInfo: + """ struct """ + def __init__(self, name, parent): + self.name=name + self.parent=parent +class BoundingBox: + """ struct """ + def __init__(self, min, max): + self.min=min + self.max=max +class Camera: + """ struct """ + def __init__(self, position, target, up, fovy, projection): + self.position=position + self.target=target + self.up=up + self.fovy=fovy + self.projection=projection +class Camera2D: + """ struct """ + def __init__(self, offset, target, rotation, zoom): + self.offset=offset + self.target=target + self.rotation=rotation + self.zoom=zoom +class Camera3D: + """ struct """ + def __init__(self, position, target, up, fovy, projection): + self.position=position + self.target=target + self.up=up + self.fovy=fovy + self.projection=projection +class Color: + """ struct """ + def __init__(self, r, g, b, a): + self.r=r + self.g=g + self.b=b + self.a=a +class FilePathList: + """ struct """ + def __init__(self, capacity, count, paths): + self.capacity=capacity + self.count=count + self.paths=paths +class Font: + """ struct """ + def __init__(self, baseSize, glyphCount, glyphPadding, texture, recs, glyphs): + self.baseSize=baseSize + self.glyphCount=glyphCount + self.glyphPadding=glyphPadding + self.texture=texture + self.recs=recs + self.glyphs=glyphs +class GlyphInfo: + """ struct """ + def __init__(self, value, offsetX, offsetY, advanceX, image): + self.value=value + self.offsetX=offsetX + self.offsetY=offsetY + self.advanceX=advanceX + self.image=image +class GuiStyleProp: + """ struct """ + def __init__(self, controlId, propertyId, propertyValue): + self.controlId=controlId + self.propertyId=propertyId + self.propertyValue=propertyValue +class Image: + """ struct """ + def __init__(self, data, width, height, mipmaps, format): + self.data=data + self.width=width + self.height=height + self.mipmaps=mipmaps + self.format=format +class Material: + """ struct """ + def __init__(self, shader, maps, params): + self.shader=shader + self.maps=maps + self.params=params +class MaterialMap: + """ struct """ + def __init__(self, texture, color, value): + self.texture=texture + self.color=color + self.value=value +class Matrix: + """ struct """ + def __init__(self, m0, m4, m8, m12, m1, m5, m9, m13, m2, m6, m10, m14, m3, m7, m11, m15): + self.m0=m0 + self.m4=m4 + self.m8=m8 + self.m12=m12 + self.m1=m1 + self.m5=m5 + self.m9=m9 + self.m13=m13 + self.m2=m2 + self.m6=m6 + self.m10=m10 + self.m14=m14 + self.m3=m3 + self.m7=m7 + self.m11=m11 + self.m15=m15 +class Matrix2x2: + """ struct """ + def __init__(self, m00, m01, m10, m11): + self.m00=m00 + self.m01=m01 + self.m10=m10 + self.m11=m11 +class Mesh: + """ struct """ + def __init__(self, vertexCount, triangleCount, vertices, texcoords, texcoords2, normals, tangents, colors, indices, animVertices, animNormals, boneIds, boneWeights, vaoId, vboId): + self.vertexCount=vertexCount + self.triangleCount=triangleCount + self.vertices=vertices + self.texcoords=texcoords + self.texcoords2=texcoords2 + self.normals=normals + self.tangents=tangents + self.colors=colors + self.indices=indices + self.animVertices=animVertices + self.animNormals=animNormals + self.boneIds=boneIds + self.boneWeights=boneWeights + self.vaoId=vaoId + self.vboId=vboId +class Model: + """ struct """ + def __init__(self, transform, meshCount, materialCount, meshes, materials, meshMaterial, boneCount, bones, bindPose): + self.transform=transform + self.meshCount=meshCount + self.materialCount=materialCount + self.meshes=meshes + self.materials=materials + self.meshMaterial=meshMaterial + self.boneCount=boneCount + self.bones=bones + self.bindPose=bindPose +class ModelAnimation: + """ struct """ + def __init__(self, boneCount, frameCount, bones, framePoses, name): + self.boneCount=boneCount + self.frameCount=frameCount + self.bones=bones + self.framePoses=framePoses + self.name=name +class Music: + """ struct """ + def __init__(self, stream, frameCount, looping, ctxType, ctxData): + self.stream=stream + self.frameCount=frameCount + self.looping=looping + self.ctxType=ctxType + self.ctxData=ctxData +class NPatchInfo: + """ struct """ + def __init__(self, source, left, top, right, bottom, layout): + self.source=source + self.left=left + self.top=top + self.right=right + self.bottom=bottom + self.layout=layout +class PhysicsBodyData: + """ struct """ + def __init__(self, id, enabled, position, velocity, force, angularVelocity, torque, orient, inertia, inverseInertia, mass, inverseMass, staticFriction, dynamicFriction, restitution, useGravity, isGrounded, freezeOrient, shape): + self.id=id + self.enabled=enabled + self.position=position + self.velocity=velocity + self.force=force + self.angularVelocity=angularVelocity + self.torque=torque + self.orient=orient + self.inertia=inertia + self.inverseInertia=inverseInertia + self.mass=mass + self.inverseMass=inverseMass + self.staticFriction=staticFriction + self.dynamicFriction=dynamicFriction + self.restitution=restitution + self.useGravity=useGravity + self.isGrounded=isGrounded + self.freezeOrient=freezeOrient + self.shape=shape +class PhysicsManifoldData: + """ struct """ + def __init__(self, id, bodyA, bodyB, penetration, normal, contacts, contactsCount, restitution, dynamicFriction, staticFriction): + self.id=id + self.bodyA=bodyA + self.bodyB=bodyB + self.penetration=penetration + self.normal=normal + self.contacts=contacts + self.contactsCount=contactsCount + self.restitution=restitution + self.dynamicFriction=dynamicFriction + self.staticFriction=staticFriction +class PhysicsShape: + """ struct """ + def __init__(self, type, body, vertexData, radius, transform): + self.type=type + self.body=body + self.vertexData=vertexData + self.radius=radius + self.transform=transform +class PhysicsVertexData: + """ struct """ + def __init__(self, vertexCount, positions, normals): + self.vertexCount=vertexCount + self.positions=positions + self.normals=normals +class Quaternion: + """ struct """ + def __init__(self, x, y, z, w): + self.x=x + self.y=y + self.z=z + self.w=w +class Ray: + """ struct """ + def __init__(self, position, direction): + self.position=position + self.direction=direction +class RayCollision: + """ struct """ + def __init__(self, hit, distance, point, normal): + self.hit=hit + self.distance=distance + self.point=point + self.normal=normal +class Rectangle: + """ struct """ + def __init__(self, x, y, width, height): + self.x=x + self.y=y + self.width=width + self.height=height +class RenderTexture: + """ struct """ + def __init__(self, id, texture, depth): + self.id=id + self.texture=texture + self.depth=depth +class RenderTexture2D: + """ struct """ + def __init__(self, id, texture, depth): + self.id=id + self.texture=texture + self.depth=depth +class Shader: + """ struct """ + def __init__(self, id, locs): + self.id=id + self.locs=locs +class Sound: + """ struct """ + def __init__(self, stream, frameCount): + self.stream=stream + self.frameCount=frameCount +class Texture: + """ struct """ + def __init__(self, id, width, height, mipmaps, format): + self.id=id + self.width=width + self.height=height + self.mipmaps=mipmaps + self.format=format +class Texture2D: + """ struct """ + def __init__(self, id, width, height, mipmaps, format): + self.id=id + self.width=width + self.height=height + self.mipmaps=mipmaps + self.format=format +class TextureCubemap: + """ struct """ + def __init__(self, id, width, height, mipmaps, format): + self.id=id + self.width=width + self.height=height + self.mipmaps=mipmaps + self.format=format +class Transform: + """ struct """ + def __init__(self, translation, rotation, scale): + self.translation=translation + self.rotation=rotation + self.scale=scale +class Vector2: + """ struct """ + def __init__(self, x, y): + self.x=x + self.y=y +class Vector3: + """ struct """ + def __init__(self, x, y, z): + self.x=x + self.y=y + self.z=z +class Vector4: + """ struct """ + def __init__(self, x, y, z, w): + self.x=x + self.y=y + self.z=z + self.w=w +class VrDeviceInfo: + """ struct """ + def __init__(self, hResolution, vResolution, hScreenSize, vScreenSize, vScreenCenter, eyeToScreenDistance, lensSeparationDistance, interpupillaryDistance, lensDistortionValues, chromaAbCorrection): + self.hResolution=hResolution + self.vResolution=vResolution + self.hScreenSize=hScreenSize + self.vScreenSize=vScreenSize + self.vScreenCenter=vScreenCenter + self.eyeToScreenDistance=eyeToScreenDistance + self.lensSeparationDistance=lensSeparationDistance + self.interpupillaryDistance=interpupillaryDistance + self.lensDistortionValues=lensDistortionValues + self.chromaAbCorrection=chromaAbCorrection +class VrStereoConfig: + """ struct """ + def __init__(self, projection, viewOffset, leftLensCenter, rightLensCenter, leftScreenCenter, rightScreenCenter, scale, scaleIn): + self.projection=projection + self.viewOffset=viewOffset + self.leftLensCenter=leftLensCenter + self.rightLensCenter=rightLensCenter + self.leftScreenCenter=leftScreenCenter + self.rightScreenCenter=rightScreenCenter + self.scale=scale + self.scaleIn=scaleIn +class Wave: + """ struct """ + def __init__(self, frameCount, sampleRate, sampleSize, channels, data): + self.frameCount=frameCount + self.sampleRate=sampleRate + self.sampleSize=sampleSize + self.channels=channels + self.data=data +class float16: + """ struct """ + def __init__(self, v): + self.v=v +class float3: + """ struct """ + def __init__(self, v): + self.v=v +class rlDrawCall: + """ struct """ + def __init__(self, mode, vertexCount, vertexAlignment, textureId): + self.mode=mode + self.vertexCount=vertexCount + self.vertexAlignment=vertexAlignment + self.textureId=textureId +class rlRenderBatch: + """ struct """ + def __init__(self, bufferCount, currentBuffer, vertexBuffer, draws, drawCounter, currentDepth): + self.bufferCount=bufferCount + self.currentBuffer=currentBuffer + self.vertexBuffer=vertexBuffer + self.draws=draws + self.drawCounter=drawCounter + self.currentDepth=currentDepth +class rlVertexBuffer: + """ struct """ + def __init__(self, elementCount, vertices, texcoords, colors, indices, vaoId, vboId): + self.elementCount=elementCount + self.vertices=vertices + self.texcoords=texcoords + self.colors=colors + self.indices=indices + self.vaoId=vaoId + self.vboId=vboId +from enum import IntEnum + +class ConfigFlags(IntEnum): + FLAG_VSYNC_HINT = 64 + FLAG_FULLSCREEN_MODE = 2 + FLAG_WINDOW_RESIZABLE = 4 + FLAG_WINDOW_UNDECORATED = 8 + FLAG_WINDOW_HIDDEN = 128 + FLAG_WINDOW_MINIMIZED = 512 + FLAG_WINDOW_MAXIMIZED = 1024 + FLAG_WINDOW_UNFOCUSED = 2048 + FLAG_WINDOW_TOPMOST = 4096 + FLAG_WINDOW_ALWAYS_RUN = 256 + FLAG_WINDOW_TRANSPARENT = 16 + FLAG_WINDOW_HIGHDPI = 8192 + FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384 + FLAG_BORDERLESS_WINDOWED_MODE = 32768 + FLAG_MSAA_4X_HINT = 32 + FLAG_INTERLACED_HINT = 65536 + +class TraceLogLevel(IntEnum): + LOG_ALL = 0 + LOG_TRACE = 1 + LOG_DEBUG = 2 + LOG_INFO = 3 + LOG_WARNING = 4 + LOG_ERROR = 5 + LOG_FATAL = 6 + LOG_NONE = 7 + +class KeyboardKey(IntEnum): + KEY_NULL = 0 + KEY_APOSTROPHE = 39 + KEY_COMMA = 44 + KEY_MINUS = 45 + KEY_PERIOD = 46 + KEY_SLASH = 47 + KEY_ZERO = 48 + KEY_ONE = 49 + KEY_TWO = 50 + KEY_THREE = 51 + KEY_FOUR = 52 + KEY_FIVE = 53 + KEY_SIX = 54 + KEY_SEVEN = 55 + KEY_EIGHT = 56 + KEY_NINE = 57 + KEY_SEMICOLON = 59 + KEY_EQUAL = 61 + KEY_A = 65 + KEY_B = 66 + KEY_C = 67 + KEY_D = 68 + KEY_E = 69 + KEY_F = 70 + KEY_G = 71 + KEY_H = 72 + KEY_I = 73 + KEY_J = 74 + KEY_K = 75 + KEY_L = 76 + KEY_M = 77 + KEY_N = 78 + KEY_O = 79 + KEY_P = 80 + KEY_Q = 81 + KEY_R = 82 + KEY_S = 83 + KEY_T = 84 + KEY_U = 85 + KEY_V = 86 + KEY_W = 87 + KEY_X = 88 + KEY_Y = 89 + KEY_Z = 90 + KEY_LEFT_BRACKET = 91 + KEY_BACKSLASH = 92 + KEY_RIGHT_BRACKET = 93 + KEY_GRAVE = 96 + KEY_SPACE = 32 + KEY_ESCAPE = 256 + KEY_ENTER = 257 + KEY_TAB = 258 + KEY_BACKSPACE = 259 + KEY_INSERT = 260 + KEY_DELETE = 261 + KEY_RIGHT = 262 + KEY_LEFT = 263 + KEY_DOWN = 264 + KEY_UP = 265 + KEY_PAGE_UP = 266 + KEY_PAGE_DOWN = 267 + KEY_HOME = 268 + KEY_END = 269 + KEY_CAPS_LOCK = 280 + KEY_SCROLL_LOCK = 281 + KEY_NUM_LOCK = 282 + KEY_PRINT_SCREEN = 283 + KEY_PAUSE = 284 + KEY_F1 = 290 + KEY_F2 = 291 + KEY_F3 = 292 + KEY_F4 = 293 + KEY_F5 = 294 + KEY_F6 = 295 + KEY_F7 = 296 + KEY_F8 = 297 + KEY_F9 = 298 + KEY_F10 = 299 + KEY_F11 = 300 + KEY_F12 = 301 + KEY_LEFT_SHIFT = 340 + KEY_LEFT_CONTROL = 341 + KEY_LEFT_ALT = 342 + KEY_LEFT_SUPER = 343 + KEY_RIGHT_SHIFT = 344 + KEY_RIGHT_CONTROL = 345 + KEY_RIGHT_ALT = 346 + KEY_RIGHT_SUPER = 347 + KEY_KB_MENU = 348 + KEY_KP_0 = 320 + KEY_KP_1 = 321 + KEY_KP_2 = 322 + KEY_KP_3 = 323 + KEY_KP_4 = 324 + KEY_KP_5 = 325 + KEY_KP_6 = 326 + KEY_KP_7 = 327 + KEY_KP_8 = 328 + KEY_KP_9 = 329 + KEY_KP_DECIMAL = 330 + KEY_KP_DIVIDE = 331 + KEY_KP_MULTIPLY = 332 + KEY_KP_SUBTRACT = 333 + KEY_KP_ADD = 334 + KEY_KP_ENTER = 335 + KEY_KP_EQUAL = 336 + KEY_BACK = 4 + KEY_MENU = 82 + KEY_VOLUME_UP = 24 + KEY_VOLUME_DOWN = 25 + +class MouseButton(IntEnum): + MOUSE_BUTTON_LEFT = 0 + MOUSE_BUTTON_RIGHT = 1 + MOUSE_BUTTON_MIDDLE = 2 + MOUSE_BUTTON_SIDE = 3 + MOUSE_BUTTON_EXTRA = 4 + MOUSE_BUTTON_FORWARD = 5 + MOUSE_BUTTON_BACK = 6 + +class MouseCursor(IntEnum): + MOUSE_CURSOR_DEFAULT = 0 + MOUSE_CURSOR_ARROW = 1 + MOUSE_CURSOR_IBEAM = 2 + MOUSE_CURSOR_CROSSHAIR = 3 + MOUSE_CURSOR_POINTING_HAND = 4 + MOUSE_CURSOR_RESIZE_EW = 5 + MOUSE_CURSOR_RESIZE_NS = 6 + MOUSE_CURSOR_RESIZE_NWSE = 7 + MOUSE_CURSOR_RESIZE_NESW = 8 + MOUSE_CURSOR_RESIZE_ALL = 9 + MOUSE_CURSOR_NOT_ALLOWED = 10 + +class GamepadButton(IntEnum): + GAMEPAD_BUTTON_UNKNOWN = 0 + GAMEPAD_BUTTON_LEFT_FACE_UP = 1 + GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2 + GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3 + GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4 + GAMEPAD_BUTTON_RIGHT_FACE_UP = 5 + GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 + GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7 + GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 + GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9 + GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10 + GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 + GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12 + GAMEPAD_BUTTON_MIDDLE_LEFT = 13 + GAMEPAD_BUTTON_MIDDLE = 14 + GAMEPAD_BUTTON_MIDDLE_RIGHT = 15 + GAMEPAD_BUTTON_LEFT_THUMB = 16 + GAMEPAD_BUTTON_RIGHT_THUMB = 17 + +class GamepadAxis(IntEnum): + GAMEPAD_AXIS_LEFT_X = 0 + GAMEPAD_AXIS_LEFT_Y = 1 + GAMEPAD_AXIS_RIGHT_X = 2 + GAMEPAD_AXIS_RIGHT_Y = 3 + GAMEPAD_AXIS_LEFT_TRIGGER = 4 + GAMEPAD_AXIS_RIGHT_TRIGGER = 5 + +class MaterialMapIndex(IntEnum): + MATERIAL_MAP_ALBEDO = 0 + MATERIAL_MAP_METALNESS = 1 + MATERIAL_MAP_NORMAL = 2 + MATERIAL_MAP_ROUGHNESS = 3 + MATERIAL_MAP_OCCLUSION = 4 + MATERIAL_MAP_EMISSION = 5 + MATERIAL_MAP_HEIGHT = 6 + MATERIAL_MAP_CUBEMAP = 7 + MATERIAL_MAP_IRRADIANCE = 8 + MATERIAL_MAP_PREFILTER = 9 + MATERIAL_MAP_BRDF = 10 + +class ShaderLocationIndex(IntEnum): + SHADER_LOC_VERTEX_POSITION = 0 + SHADER_LOC_VERTEX_TEXCOORD01 = 1 + SHADER_LOC_VERTEX_TEXCOORD02 = 2 + SHADER_LOC_VERTEX_NORMAL = 3 + SHADER_LOC_VERTEX_TANGENT = 4 + SHADER_LOC_VERTEX_COLOR = 5 + SHADER_LOC_MATRIX_MVP = 6 + SHADER_LOC_MATRIX_VIEW = 7 + SHADER_LOC_MATRIX_PROJECTION = 8 + SHADER_LOC_MATRIX_MODEL = 9 + SHADER_LOC_MATRIX_NORMAL = 10 + SHADER_LOC_VECTOR_VIEW = 11 + SHADER_LOC_COLOR_DIFFUSE = 12 + SHADER_LOC_COLOR_SPECULAR = 13 + SHADER_LOC_COLOR_AMBIENT = 14 + SHADER_LOC_MAP_ALBEDO = 15 + SHADER_LOC_MAP_METALNESS = 16 + SHADER_LOC_MAP_NORMAL = 17 + SHADER_LOC_MAP_ROUGHNESS = 18 + SHADER_LOC_MAP_OCCLUSION = 19 + SHADER_LOC_MAP_EMISSION = 20 + SHADER_LOC_MAP_HEIGHT = 21 + SHADER_LOC_MAP_CUBEMAP = 22 + SHADER_LOC_MAP_IRRADIANCE = 23 + SHADER_LOC_MAP_PREFILTER = 24 + SHADER_LOC_MAP_BRDF = 25 + +class ShaderUniformDataType(IntEnum): + SHADER_UNIFORM_FLOAT = 0 + SHADER_UNIFORM_VEC2 = 1 + SHADER_UNIFORM_VEC3 = 2 + SHADER_UNIFORM_VEC4 = 3 + SHADER_UNIFORM_INT = 4 + SHADER_UNIFORM_IVEC2 = 5 + SHADER_UNIFORM_IVEC3 = 6 + SHADER_UNIFORM_IVEC4 = 7 + SHADER_UNIFORM_SAMPLER2D = 8 + +class ShaderAttributeDataType(IntEnum): + SHADER_ATTRIB_FLOAT = 0 + SHADER_ATTRIB_VEC2 = 1 + SHADER_ATTRIB_VEC3 = 2 + SHADER_ATTRIB_VEC4 = 3 + +class PixelFormat(IntEnum): + PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1 + PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2 + PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3 + PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4 + PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5 + PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6 + PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7 + PIXELFORMAT_UNCOMPRESSED_R32 = 8 + PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9 + PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10 + PIXELFORMAT_UNCOMPRESSED_R16 = 11 + PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12 + PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13 + PIXELFORMAT_COMPRESSED_DXT1_RGB = 14 + PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15 + PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16 + PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17 + PIXELFORMAT_COMPRESSED_ETC1_RGB = 18 + PIXELFORMAT_COMPRESSED_ETC2_RGB = 19 + PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20 + PIXELFORMAT_COMPRESSED_PVRT_RGB = 21 + PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22 + PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23 + PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24 + +class TextureFilter(IntEnum): + TEXTURE_FILTER_POINT = 0 + TEXTURE_FILTER_BILINEAR = 1 + TEXTURE_FILTER_TRILINEAR = 2 + TEXTURE_FILTER_ANISOTROPIC_4X = 3 + TEXTURE_FILTER_ANISOTROPIC_8X = 4 + TEXTURE_FILTER_ANISOTROPIC_16X = 5 + +class TextureWrap(IntEnum): + TEXTURE_WRAP_REPEAT = 0 + TEXTURE_WRAP_CLAMP = 1 + TEXTURE_WRAP_MIRROR_REPEAT = 2 + TEXTURE_WRAP_MIRROR_CLAMP = 3 + +class CubemapLayout(IntEnum): + CUBEMAP_LAYOUT_AUTO_DETECT = 0 + CUBEMAP_LAYOUT_LINE_VERTICAL = 1 + CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2 + CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3 + CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4 + CUBEMAP_LAYOUT_PANORAMA = 5 + +class FontType(IntEnum): + FONT_DEFAULT = 0 + FONT_BITMAP = 1 + FONT_SDF = 2 + +class BlendMode(IntEnum): + BLEND_ALPHA = 0 + BLEND_ADDITIVE = 1 + BLEND_MULTIPLIED = 2 + BLEND_ADD_COLORS = 3 + BLEND_SUBTRACT_COLORS = 4 + BLEND_ALPHA_PREMULTIPLY = 5 + BLEND_CUSTOM = 6 + BLEND_CUSTOM_SEPARATE = 7 + +class Gesture(IntEnum): + GESTURE_NONE = 0 + GESTURE_TAP = 1 + GESTURE_DOUBLETAP = 2 + GESTURE_HOLD = 4 + GESTURE_DRAG = 8 + GESTURE_SWIPE_RIGHT = 16 + GESTURE_SWIPE_LEFT = 32 + GESTURE_SWIPE_UP = 64 + GESTURE_SWIPE_DOWN = 128 + GESTURE_PINCH_IN = 256 + GESTURE_PINCH_OUT = 512 + +class CameraMode(IntEnum): + CAMERA_CUSTOM = 0 + CAMERA_FREE = 1 + CAMERA_ORBITAL = 2 + CAMERA_FIRST_PERSON = 3 + CAMERA_THIRD_PERSON = 4 + +class CameraProjection(IntEnum): + CAMERA_PERSPECTIVE = 0 + CAMERA_ORTHOGRAPHIC = 1 + +class NPatchLayout(IntEnum): + NPATCH_NINE_PATCH = 0 + NPATCH_THREE_PATCH_VERTICAL = 1 + NPATCH_THREE_PATCH_HORIZONTAL = 2 + +class GuiState(IntEnum): + STATE_NORMAL = 0 + STATE_FOCUSED = 1 + STATE_PRESSED = 2 + STATE_DISABLED = 3 + +class GuiTextAlignment(IntEnum): + TEXT_ALIGN_LEFT = 0 + TEXT_ALIGN_CENTER = 1 + TEXT_ALIGN_RIGHT = 2 + +class GuiTextAlignmentVertical(IntEnum): + TEXT_ALIGN_TOP = 0 + TEXT_ALIGN_MIDDLE = 1 + TEXT_ALIGN_BOTTOM = 2 + +class GuiTextWrapMode(IntEnum): + TEXT_WRAP_NONE = 0 + TEXT_WRAP_CHAR = 1 + TEXT_WRAP_WORD = 2 + +class GuiControl(IntEnum): + DEFAULT = 0 + LABEL = 1 + BUTTON = 2 + TOGGLE = 3 + SLIDER = 4 + PROGRESSBAR = 5 + CHECKBOX = 6 + COMBOBOX = 7 + DROPDOWNBOX = 8 + TEXTBOX = 9 + VALUEBOX = 10 + SPINNER = 11 + LISTVIEW = 12 + COLORPICKER = 13 + SCROLLBAR = 14 + STATUSBAR = 15 + +class GuiControlProperty(IntEnum): + BORDER_COLOR_NORMAL = 0 + BASE_COLOR_NORMAL = 1 + TEXT_COLOR_NORMAL = 2 + BORDER_COLOR_FOCUSED = 3 + BASE_COLOR_FOCUSED = 4 + TEXT_COLOR_FOCUSED = 5 + BORDER_COLOR_PRESSED = 6 + BASE_COLOR_PRESSED = 7 + TEXT_COLOR_PRESSED = 8 + BORDER_COLOR_DISABLED = 9 + BASE_COLOR_DISABLED = 10 + TEXT_COLOR_DISABLED = 11 + BORDER_WIDTH = 12 + TEXT_PADDING = 13 + TEXT_ALIGNMENT = 14 + +class GuiDefaultProperty(IntEnum): + TEXT_SIZE = 16 + TEXT_SPACING = 17 + LINE_COLOR = 18 + BACKGROUND_COLOR = 19 + TEXT_LINE_SPACING = 20 + TEXT_ALIGNMENT_VERTICAL = 21 + TEXT_WRAP_MODE = 22 + +class GuiToggleProperty(IntEnum): + GROUP_PADDING = 16 + +class GuiSliderProperty(IntEnum): + SLIDER_WIDTH = 16 + SLIDER_PADDING = 17 + +class GuiProgressBarProperty(IntEnum): + PROGRESS_PADDING = 16 + +class GuiScrollBarProperty(IntEnum): + ARROWS_SIZE = 16 + ARROWS_VISIBLE = 17 + SCROLL_SLIDER_PADDING = 18 + SCROLL_SLIDER_SIZE = 19 + SCROLL_PADDING = 20 + SCROLL_SPEED = 21 + +class GuiCheckBoxProperty(IntEnum): + CHECK_PADDING = 16 + +class GuiComboBoxProperty(IntEnum): + COMBO_BUTTON_WIDTH = 16 + COMBO_BUTTON_SPACING = 17 + +class GuiDropdownBoxProperty(IntEnum): + ARROW_PADDING = 16 + DROPDOWN_ITEMS_SPACING = 17 + +class GuiTextBoxProperty(IntEnum): + TEXT_READONLY = 16 + +class GuiSpinnerProperty(IntEnum): + SPIN_BUTTON_WIDTH = 16 + SPIN_BUTTON_SPACING = 17 + +class GuiListViewProperty(IntEnum): + LIST_ITEMS_HEIGHT = 16 + LIST_ITEMS_SPACING = 17 + SCROLLBAR_WIDTH = 18 + SCROLLBAR_SIDE = 19 + +class GuiColorPickerProperty(IntEnum): + COLOR_SELECTOR_SIZE = 16 + HUEBAR_WIDTH = 17 + HUEBAR_PADDING = 18 + HUEBAR_SELECTOR_HEIGHT = 19 + HUEBAR_SELECTOR_OVERFLOW = 20 + +class GuiIconName(IntEnum): + ICON_NONE = 0 + ICON_FOLDER_FILE_OPEN = 1 + ICON_FILE_SAVE_CLASSIC = 2 + ICON_FOLDER_OPEN = 3 + ICON_FOLDER_SAVE = 4 + ICON_FILE_OPEN = 5 + ICON_FILE_SAVE = 6 + ICON_FILE_EXPORT = 7 + ICON_FILE_ADD = 8 + ICON_FILE_DELETE = 9 + ICON_FILETYPE_TEXT = 10 + ICON_FILETYPE_AUDIO = 11 + ICON_FILETYPE_IMAGE = 12 + ICON_FILETYPE_PLAY = 13 + ICON_FILETYPE_VIDEO = 14 + ICON_FILETYPE_INFO = 15 + ICON_FILE_COPY = 16 + ICON_FILE_CUT = 17 + ICON_FILE_PASTE = 18 + ICON_CURSOR_HAND = 19 + ICON_CURSOR_POINTER = 20 + ICON_CURSOR_CLASSIC = 21 + ICON_PENCIL = 22 + ICON_PENCIL_BIG = 23 + ICON_BRUSH_CLASSIC = 24 + ICON_BRUSH_PAINTER = 25 + ICON_WATER_DROP = 26 + ICON_COLOR_PICKER = 27 + ICON_RUBBER = 28 + ICON_COLOR_BUCKET = 29 + ICON_TEXT_T = 30 + ICON_TEXT_A = 31 + ICON_SCALE = 32 + ICON_RESIZE = 33 + ICON_FILTER_POINT = 34 + ICON_FILTER_BILINEAR = 35 + ICON_CROP = 36 + ICON_CROP_ALPHA = 37 + ICON_SQUARE_TOGGLE = 38 + ICON_SYMMETRY = 39 + ICON_SYMMETRY_HORIZONTAL = 40 + ICON_SYMMETRY_VERTICAL = 41 + ICON_LENS = 42 + ICON_LENS_BIG = 43 + ICON_EYE_ON = 44 + ICON_EYE_OFF = 45 + ICON_FILTER_TOP = 46 + ICON_FILTER = 47 + ICON_TARGET_POINT = 48 + ICON_TARGET_SMALL = 49 + ICON_TARGET_BIG = 50 + ICON_TARGET_MOVE = 51 + ICON_CURSOR_MOVE = 52 + ICON_CURSOR_SCALE = 53 + ICON_CURSOR_SCALE_RIGHT = 54 + ICON_CURSOR_SCALE_LEFT = 55 + ICON_UNDO = 56 + ICON_REDO = 57 + ICON_REREDO = 58 + ICON_MUTATE = 59 + ICON_ROTATE = 60 + ICON_REPEAT = 61 + ICON_SHUFFLE = 62 + ICON_EMPTYBOX = 63 + ICON_TARGET = 64 + ICON_TARGET_SMALL_FILL = 65 + ICON_TARGET_BIG_FILL = 66 + ICON_TARGET_MOVE_FILL = 67 + ICON_CURSOR_MOVE_FILL = 68 + ICON_CURSOR_SCALE_FILL = 69 + ICON_CURSOR_SCALE_RIGHT_FILL = 70 + ICON_CURSOR_SCALE_LEFT_FILL = 71 + ICON_UNDO_FILL = 72 + ICON_REDO_FILL = 73 + ICON_REREDO_FILL = 74 + ICON_MUTATE_FILL = 75 + ICON_ROTATE_FILL = 76 + ICON_REPEAT_FILL = 77 + ICON_SHUFFLE_FILL = 78 + ICON_EMPTYBOX_SMALL = 79 + ICON_BOX = 80 + ICON_BOX_TOP = 81 + ICON_BOX_TOP_RIGHT = 82 + ICON_BOX_RIGHT = 83 + ICON_BOX_BOTTOM_RIGHT = 84 + ICON_BOX_BOTTOM = 85 + ICON_BOX_BOTTOM_LEFT = 86 + ICON_BOX_LEFT = 87 + ICON_BOX_TOP_LEFT = 88 + ICON_BOX_CENTER = 89 + ICON_BOX_CIRCLE_MASK = 90 + ICON_POT = 91 + ICON_ALPHA_MULTIPLY = 92 + ICON_ALPHA_CLEAR = 93 + ICON_DITHERING = 94 + ICON_MIPMAPS = 95 + ICON_BOX_GRID = 96 + ICON_GRID = 97 + ICON_BOX_CORNERS_SMALL = 98 + ICON_BOX_CORNERS_BIG = 99 + ICON_FOUR_BOXES = 100 + ICON_GRID_FILL = 101 + ICON_BOX_MULTISIZE = 102 + ICON_ZOOM_SMALL = 103 + ICON_ZOOM_MEDIUM = 104 + ICON_ZOOM_BIG = 105 + ICON_ZOOM_ALL = 106 + ICON_ZOOM_CENTER = 107 + ICON_BOX_DOTS_SMALL = 108 + ICON_BOX_DOTS_BIG = 109 + ICON_BOX_CONCENTRIC = 110 + ICON_BOX_GRID_BIG = 111 + ICON_OK_TICK = 112 + ICON_CROSS = 113 + ICON_ARROW_LEFT = 114 + ICON_ARROW_RIGHT = 115 + ICON_ARROW_DOWN = 116 + ICON_ARROW_UP = 117 + ICON_ARROW_LEFT_FILL = 118 + ICON_ARROW_RIGHT_FILL = 119 + ICON_ARROW_DOWN_FILL = 120 + ICON_ARROW_UP_FILL = 121 + ICON_AUDIO = 122 + ICON_FX = 123 + ICON_WAVE = 124 + ICON_WAVE_SINUS = 125 + ICON_WAVE_SQUARE = 126 + ICON_WAVE_TRIANGULAR = 127 + ICON_CROSS_SMALL = 128 + ICON_PLAYER_PREVIOUS = 129 + ICON_PLAYER_PLAY_BACK = 130 + ICON_PLAYER_PLAY = 131 + ICON_PLAYER_PAUSE = 132 + ICON_PLAYER_STOP = 133 + ICON_PLAYER_NEXT = 134 + ICON_PLAYER_RECORD = 135 + ICON_MAGNET = 136 + ICON_LOCK_CLOSE = 137 + ICON_LOCK_OPEN = 138 + ICON_CLOCK = 139 + ICON_TOOLS = 140 + ICON_GEAR = 141 + ICON_GEAR_BIG = 142 + ICON_BIN = 143 + ICON_HAND_POINTER = 144 + ICON_LASER = 145 + ICON_COIN = 146 + ICON_EXPLOSION = 147 + ICON_1UP = 148 + ICON_PLAYER = 149 + ICON_PLAYER_JUMP = 150 + ICON_KEY = 151 + ICON_DEMON = 152 + ICON_TEXT_POPUP = 153 + ICON_GEAR_EX = 154 + ICON_CRACK = 155 + ICON_CRACK_POINTS = 156 + ICON_STAR = 157 + ICON_DOOR = 158 + ICON_EXIT = 159 + ICON_MODE_2D = 160 + ICON_MODE_3D = 161 + ICON_CUBE = 162 + ICON_CUBE_FACE_TOP = 163 + ICON_CUBE_FACE_LEFT = 164 + ICON_CUBE_FACE_FRONT = 165 + ICON_CUBE_FACE_BOTTOM = 166 + ICON_CUBE_FACE_RIGHT = 167 + ICON_CUBE_FACE_BACK = 168 + ICON_CAMERA = 169 + ICON_SPECIAL = 170 + ICON_LINK_NET = 171 + ICON_LINK_BOXES = 172 + ICON_LINK_MULTI = 173 + ICON_LINK = 174 + ICON_LINK_BROKE = 175 + ICON_TEXT_NOTES = 176 + ICON_NOTEBOOK = 177 + ICON_SUITCASE = 178 + ICON_SUITCASE_ZIP = 179 + ICON_MAILBOX = 180 + ICON_MONITOR = 181 + ICON_PRINTER = 182 + ICON_PHOTO_CAMERA = 183 + ICON_PHOTO_CAMERA_FLASH = 184 + ICON_HOUSE = 185 + ICON_HEART = 186 + ICON_CORNER = 187 + ICON_VERTICAL_BARS = 188 + ICON_VERTICAL_BARS_FILL = 189 + ICON_LIFE_BARS = 190 + ICON_INFO = 191 + ICON_CROSSLINE = 192 + ICON_HELP = 193 + ICON_FILETYPE_ALPHA = 194 + ICON_FILETYPE_HOME = 195 + ICON_LAYERS_VISIBLE = 196 + ICON_LAYERS = 197 + ICON_WINDOW = 198 + ICON_HIDPI = 199 + ICON_FILETYPE_BINARY = 200 + ICON_HEX = 201 + ICON_SHIELD = 202 + ICON_FILE_NEW = 203 + ICON_FOLDER_ADD = 204 + ICON_ALARM = 205 + ICON_CPU = 206 + ICON_ROM = 207 + ICON_STEP_OVER = 208 + ICON_STEP_INTO = 209 + ICON_STEP_OUT = 210 + ICON_RESTART = 211 + ICON_BREAKPOINT_ON = 212 + ICON_BREAKPOINT_OFF = 213 + ICON_BURGER_MENU = 214 + ICON_CASE_SENSITIVE = 215 + ICON_REG_EXP = 216 + ICON_FOLDER = 217 + ICON_FILE = 218 + ICON_SAND_TIMER = 219 + ICON_220 = 220 + ICON_221 = 221 + ICON_222 = 222 + ICON_223 = 223 + ICON_224 = 224 + ICON_225 = 225 + ICON_226 = 226 + ICON_227 = 227 + ICON_228 = 228 + ICON_229 = 229 + ICON_230 = 230 + ICON_231 = 231 + ICON_232 = 232 + ICON_233 = 233 + ICON_234 = 234 + ICON_235 = 235 + ICON_236 = 236 + ICON_237 = 237 + ICON_238 = 238 + ICON_239 = 239 + ICON_240 = 240 + ICON_241 = 241 + ICON_242 = 242 + ICON_243 = 243 + ICON_244 = 244 + ICON_245 = 245 + ICON_246 = 246 + ICON_247 = 247 + ICON_248 = 248 + ICON_249 = 249 + ICON_250 = 250 + ICON_251 = 251 + ICON_252 = 252 + ICON_253 = 253 + ICON_254 = 254 + ICON_255 = 255 + # Copyright (c) 2021 Richard Smith and others # # This program and the accompanying materials are made available under the diff --git a/raylib/__init__.pyi b/raylib/__init__.pyi index 024297f..5e19f03 100644 --- a/raylib/__init__.pyi +++ b/raylib/__init__.pyi @@ -1,3 +1,4198 @@ +from typing import Any + +import _cffi_backend + +ffi: _cffi_backend.FFI +rl: _cffi_backend.Lib + +class struct: ... + + +ARROWS_SIZE: int +ARROWS_VISIBLE: int +ARROW_PADDING: int +def AttachAudioMixedProcessor(processor: Any,) -> None: + """Attach audio stream processor to the entire audio pipeline, receives the samples as s""" + ... +def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None: + """Attach audio stream processor to stream, receives the samples as s""" + ... +BACKGROUND_COLOR: int +BASE_COLOR_DISABLED: int +BASE_COLOR_FOCUSED: int +BASE_COLOR_NORMAL: int +BASE_COLOR_PRESSED: int +BLEND_ADDITIVE: int +BLEND_ADD_COLORS: int +BLEND_ALPHA: int +BLEND_ALPHA_PREMULTIPLY: int +BLEND_CUSTOM: int +BLEND_CUSTOM_SEPARATE: int +BLEND_MULTIPLIED: int +BLEND_SUBTRACT_COLORS: int +BORDER_COLOR_DISABLED: int +BORDER_COLOR_FOCUSED: int +BORDER_COLOR_NORMAL: int +BORDER_COLOR_PRESSED: int +BORDER_WIDTH: int +BUTTON: int +def BeginBlendMode(mode: int,) -> None: + """Begin blending mode (alpha, additive, multiplied, subtract, custom)""" + ... +def BeginDrawing() -> None: + """Setup canvas (framebuffer) to start drawing""" + ... +def BeginMode2D(camera: Camera2D,) -> None: + """Begin 2D mode with custom camera (2D)""" + ... +def BeginMode3D(camera: Camera3D,) -> None: + """Begin 3D mode with custom camera (3D)""" + ... +def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None: + """Begin scissor mode (define screen area for following drawing)""" + ... +def BeginShaderMode(shader: Shader,) -> None: + """Begin custom shader drawing""" + ... +def BeginTextureMode(target: RenderTexture,) -> None: + """Begin drawing to render texture""" + ... +def BeginVrStereoMode(config: VrStereoConfig,) -> None: + """Begin stereo rendering (requires VR simulator)""" + ... +CAMERA_CUSTOM: int +CAMERA_FIRST_PERSON: int +CAMERA_FREE: int +CAMERA_ORBITAL: int +CAMERA_ORTHOGRAPHIC: int +CAMERA_PERSPECTIVE: int +CAMERA_THIRD_PERSON: int +CHECKBOX: int +CHECK_PADDING: int +COLORPICKER: int +COLOR_SELECTOR_SIZE: int +COMBOBOX: int +COMBO_BUTTON_SPACING: int +COMBO_BUTTON_WIDTH: int +CUBEMAP_LAYOUT_AUTO_DETECT: int +CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE: int +CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int +CUBEMAP_LAYOUT_LINE_HORIZONTAL: int +CUBEMAP_LAYOUT_LINE_VERTICAL: int +CUBEMAP_LAYOUT_PANORAMA: int +def ChangeDirectory(dir: str,) -> bool: + """Change working directory, return true on success""" + ... +def CheckCollisionBoxSphere(box: BoundingBox,center: Vector3,radius: float,) -> bool: + """Check collision between box and sphere""" + ... +def CheckCollisionBoxes(box1: BoundingBox,box2: BoundingBox,) -> bool: + """Check collision between two bounding boxes""" + ... +def CheckCollisionCircleRec(center: Vector2,radius: float,rec: Rectangle,) -> bool: + """Check collision between circle and rectangle""" + ... +def CheckCollisionCircles(center1: Vector2,radius1: float,center2: Vector2,radius2: float,) -> bool: + """Check collision between two circles""" + ... +def CheckCollisionLines(startPos1: Vector2,endPos1: Vector2,startPos2: Vector2,endPos2: Vector2,collisionPoint: Any,) -> bool: + """Check the collision between two lines defined by two points each, returns collision point by reference""" + ... +def CheckCollisionPointCircle(point: Vector2,center: Vector2,radius: float,) -> bool: + """Check if point is inside circle""" + ... +def CheckCollisionPointLine(point: Vector2,p1: Vector2,p2: Vector2,threshold: int,) -> bool: + """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]""" + ... +def CheckCollisionPointPoly(point: Vector2,points: Any,pointCount: int,) -> bool: + """Check if point is within a polygon described by array of vertices""" + ... +def CheckCollisionPointRec(point: Vector2,rec: Rectangle,) -> bool: + """Check if point is inside rectangle""" + ... +def CheckCollisionPointTriangle(point: Vector2,p1: Vector2,p2: Vector2,p3: Vector2,) -> bool: + """Check if point is inside a triangle""" + ... +def CheckCollisionRecs(rec1: Rectangle,rec2: Rectangle,) -> bool: + """Check collision between two rectangles""" + ... +def CheckCollisionSpheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool: + """Check collision between two spheres""" + ... +def Clamp(float_0: float,float_1: float,float_2: float,) -> float: + """float Clamp(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def ClearBackground(color: Color,) -> None: + """Set background color (framebuffer clear color)""" + ... +def ClearWindowState(flags: int,) -> None: + """Clear window configuration state flags""" + ... +def CloseAudioDevice() -> None: + """Close the audio device and context""" + ... +def ClosePhysics() -> None: + """void ClosePhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def CloseWindow() -> None: + """Close window and unload OpenGL context""" + ... +def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> str: + """Encode one codepoint into UTF-8 byte array (array length returned as parameter)""" + ... +def ColorAlpha(color: Color,alpha: float,) -> Color: + """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" + ... +def ColorAlphaBlend(dst: Color,src: Color,tint: Color,) -> Color: + """Get src alpha-blended into dst color with tint""" + ... +def ColorBrightness(color: Color,factor: float,) -> Color: + """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f""" + ... +def ColorContrast(color: Color,contrast: float,) -> Color: + """Get color with contrast correction, contrast values between -1.0f and 1.0f""" + ... +def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color: + """Get a Color from HSV values, hue [0..360], saturation/value [0..1]""" + ... +def ColorFromNormalized(normalized: Vector4,) -> Color: + """Get Color from normalized values [0..1]""" + ... +def ColorNormalize(color: Color,) -> Vector4: + """Get Color normalized as float [0..1]""" + ... +def ColorTint(color: Color,tint: Color,) -> Color: + """Get color multiplied with another color""" + ... +def ColorToHSV(color: Color,) -> Vector3: + """Get HSV values for a Color, hue [0..360], saturation/value [0..1]""" + ... +def ColorToInt(color: Color,) -> int: + """Get hexadecimal value for a Color""" + ... +def CompressData(data: str,dataSize: int,compDataSize: Any,) -> str: + """Compress data (DEFLATE algorithm), memory must be MemFree()""" + ... +def CreatePhysicsBodyCircle(Vector2_0: Vector2,float_1: float,float_2: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyCircle(struct Vector2, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def CreatePhysicsBodyPolygon(Vector2_0: Vector2,float_1: float,int_2: int,float_3: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyPolygon(struct Vector2, float, int, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def CreatePhysicsBodyRectangle(Vector2_0: Vector2,float_1: float,float_2: float,float_3: float,) -> Any: + """struct PhysicsBodyData *CreatePhysicsBodyRectangle(struct Vector2, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +DEFAULT: int +DROPDOWNBOX: int +DROPDOWN_ITEMS_SPACING: int +def DecodeDataBase64(data: str,outputSize: Any,) -> str: + """Decode Base64 string data, memory must be MemFree()""" + ... +def DecompressData(compData: str,compDataSize: int,dataSize: Any,) -> str: + """Decompress data (DEFLATE algorithm), memory must be MemFree()""" + ... +def DestroyPhysicsBody(PhysicsBodyData_pointer_0: Any,) -> None: + """void DestroyPhysicsBody(struct PhysicsBodyData *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def DetachAudioMixedProcessor(processor: Any,) -> None: + """Detach audio stream processor from the entire audio pipeline""" + ... +def DetachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None: + """Detach audio stream processor from stream""" + ... +def DirectoryExists(dirPath: str,) -> bool: + """Check if a directory path exists""" + ... +def DisableCursor() -> None: + """Disables cursor (lock cursor)""" + ... +def DisableEventWaiting() -> None: + """Disable waiting for events on EndDrawing(), automatic events polling""" + ... +def DrawBillboard(camera: Camera3D,texture: Texture,position: Vector3,size: float,tint: Color,) -> None: + """Draw a billboard texture""" + ... +def DrawBillboardPro(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,up: Vector3,size: Vector2,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draw a billboard texture defined by source and rotation""" + ... +def DrawBillboardRec(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,size: Vector2,tint: Color,) -> None: + """Draw a billboard texture defined by source""" + ... +def DrawBoundingBox(box: BoundingBox,color: Color,) -> None: + """Draw bounding box (wires)""" + ... +def DrawCapsule(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None: + """Draw a capsule with the center of its sphere caps at startPos and endPos""" + ... +def DrawCapsuleWires(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None: + """Draw capsule wireframe with the center of its sphere caps at startPos and endPos""" + ... +def DrawCircle(centerX: int,centerY: int,radius: float,color: Color,) -> None: + """Draw a color-filled circle""" + ... +def DrawCircle3D(center: Vector3,radius: float,rotationAxis: Vector3,rotationAngle: float,color: Color,) -> None: + """Draw a circle in 3D world space""" + ... +def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color,color2: Color,) -> None: + """Draw a gradient-filled circle""" + ... +def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color,) -> None: + """Draw circle outline""" + ... +def DrawCircleLinesV(center: Vector2,radius: float,color: Color,) -> None: + """Draw circle outline (Vector version)""" + ... +def DrawCircleSector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw a piece of a circle""" + ... +def DrawCircleSectorLines(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw circle sector outline""" + ... +def DrawCircleV(center: Vector2,radius: float,color: Color,) -> None: + """Draw a color-filled circle (Vector version)""" + ... +def DrawCube(position: Vector3,width: float,height: float,length: float,color: Color,) -> None: + """Draw cube""" + ... +def DrawCubeV(position: Vector3,size: Vector3,color: Color,) -> None: + """Draw cube (Vector version)""" + ... +def DrawCubeWires(position: Vector3,width: float,height: float,length: float,color: Color,) -> None: + """Draw cube wires""" + ... +def DrawCubeWiresV(position: Vector3,size: Vector3,color: Color,) -> None: + """Draw cube wires (Vector version)""" + ... +def DrawCylinder(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None: + """Draw a cylinder/cone""" + ... +def DrawCylinderEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None: + """Draw a cylinder with base at startPos and top at endPos""" + ... +def DrawCylinderWires(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None: + """Draw a cylinder/cone wires""" + ... +def DrawCylinderWiresEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None: + """Draw a cylinder wires with base at startPos and top at endPos""" + ... +def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None: + """Draw ellipse""" + ... +def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None: + """Draw ellipse outline""" + ... +def DrawFPS(posX: int,posY: int,) -> None: + """Draw current FPS""" + ... +def DrawGrid(slices: int,spacing: float,) -> None: + """Draw a grid (centered at (0, 0, 0))""" + ... +def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None: + """Draw a line""" + ... +def DrawLine3D(startPos: Vector3,endPos: Vector3,color: Color,) -> None: + """Draw a line in 3D world space""" + ... +def DrawLineBezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None: + """Draw line segment cubic-bezier in-out interpolation""" + ... +def DrawLineEx(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None: + """Draw a line (using triangles/quads)""" + ... +def DrawLineStrip(points: Any,pointCount: int,color: Color,) -> None: + """Draw lines sequence (using gl lines)""" + ... +def DrawLineV(startPos: Vector2,endPos: Vector2,color: Color,) -> None: + """Draw a line (using gl lines)""" + ... +def DrawMesh(mesh: Mesh,material: Material,transform: Matrix,) -> None: + """Draw a 3d mesh with material and transform""" + ... +def DrawMeshInstanced(mesh: Mesh,material: Material,transforms: Any,instances: int,) -> None: + """Draw multiple mesh instances with material and different transforms""" + ... +def DrawModel(model: Model,position: Vector3,scale: float,tint: Color,) -> None: + """Draw a model (with texture if set)""" + ... +def DrawModelEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None: + """Draw a model with extended parameters""" + ... +def DrawModelWires(model: Model,position: Vector3,scale: float,tint: Color,) -> None: + """Draw a model wires (with texture if set)""" + ... +def DrawModelWiresEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None: + """Draw a model wires (with texture if set) with extended parameters""" + ... +def DrawPixel(posX: int,posY: int,color: Color,) -> None: + """Draw a pixel""" + ... +def DrawPixelV(position: Vector2,color: Color,) -> None: + """Draw a pixel (Vector version)""" + ... +def DrawPlane(centerPos: Vector3,size: Vector2,color: Color,) -> None: + """Draw a plane XZ""" + ... +def DrawPoint3D(position: Vector3,color: Color,) -> None: + """Draw a point in 3D space, actually a small line""" + ... +def DrawPoly(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None: + """Draw a regular polygon (Vector version)""" + ... +def DrawPolyLines(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None: + """Draw a polygon outline of n sides""" + ... +def DrawPolyLinesEx(center: Vector2,sides: int,radius: float,rotation: float,lineThick: float,color: Color,) -> None: + """Draw a polygon outline of n sides with extended parameters""" + ... +def DrawRay(ray: Ray,color: Color,) -> None: + """Draw a ray line""" + ... +def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw a color-filled rectangle""" + ... +def DrawRectangleGradientEx(rec: Rectangle,col1: Color,col2: Color,col3: Color,col4: Color,) -> None: + """Draw a gradient-filled rectangle with custom vertex colors""" + ... +def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None: + """Draw a horizontal-gradient-filled rectangle""" + ... +def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None: + """Draw a vertical-gradient-filled rectangle""" + ... +def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw rectangle outline""" + ... +def DrawRectangleLinesEx(rec: Rectangle,lineThick: float,color: Color,) -> None: + """Draw rectangle outline with extended parameters""" + ... +def DrawRectanglePro(rec: Rectangle,origin: Vector2,rotation: float,color: Color,) -> None: + """Draw a color-filled rectangle with pro parameters""" + ... +def DrawRectangleRec(rec: Rectangle,color: Color,) -> None: + """Draw a color-filled rectangle""" + ... +def DrawRectangleRounded(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None: + """Draw rectangle with rounded edges""" + ... +def DrawRectangleRoundedLines(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None: + """Draw rectangle with rounded edges outline""" + ... +def DrawRectangleV(position: Vector2,size: Vector2,color: Color,) -> None: + """Draw a color-filled rectangle (Vector version)""" + ... +def DrawRing(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw ring""" + ... +def DrawRingLines(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None: + """Draw ring outline""" + ... +def DrawSphere(centerPos: Vector3,radius: float,color: Color,) -> None: + """Draw sphere""" + ... +def DrawSphereEx(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None: + """Draw sphere with extended parameters""" + ... +def DrawSphereWires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None: + """Draw sphere wires""" + ... +def DrawSplineBasis(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: B-Spline, minimum 4 points""" + ... +def DrawSplineBezierCubic(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]""" + ... +def DrawSplineBezierQuadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]""" + ... +def DrawSplineCatmullRom(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Catmull-Rom, minimum 4 points""" + ... +def DrawSplineLinear(points: Any,pointCount: int,thick: float,color: Color,) -> None: + """Draw spline: Linear, minimum 2 points""" + ... +def DrawSplineSegmentBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: B-Spline, 4 points""" + ... +def DrawSplineSegmentBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Cubic Bezier, 2 points, 2 control points""" + ... +def DrawSplineSegmentBezierQuadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Quadratic Bezier, 2 points, 1 control point""" + ... +def DrawSplineSegmentCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Catmull-Rom, 4 points""" + ... +def DrawSplineSegmentLinear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None: + """Draw spline segment: Linear, 2 points""" + ... +def DrawText(text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None: + """Draw text (using default font)""" + ... +def DrawTextCodepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None: + """Draw one character (codepoint)""" + ... +def DrawTextCodepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw multiple character (codepoint)""" + ... +def DrawTextEx(font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text using font and additional parameters""" + ... +def DrawTextPro(font: Font,text: str,position: Vector2,origin: Vector2,rotation: float,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text using Font and pro parameters (rotation)""" + ... +def DrawTexture(texture: Texture,posX: int,posY: int,tint: Color,) -> None: + """Draw a Texture2D""" + ... +def DrawTextureEx(texture: Texture,position: Vector2,rotation: float,scale: float,tint: Color,) -> None: + """Draw a Texture2D with extended parameters""" + ... +def DrawTextureNPatch(texture: Texture,nPatchInfo: NPatchInfo,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draws a texture (or part of it) that stretches or shrinks nicely""" + ... +def DrawTexturePro(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None: + """Draw a part of a texture defined by a rectangle with 'pro' parameters""" + ... +def DrawTextureRec(texture: Texture,source: Rectangle,position: Vector2,tint: Color,) -> None: + """Draw a part of a texture defined by a rectangle""" + ... +def DrawTextureV(texture: Texture,position: Vector2,tint: Color,) -> None: + """Draw a Texture2D with position defined as Vector2""" + ... +def DrawTriangle(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None: + """Draw a color-filled triangle (vertex in counter-clockwise order!)""" + ... +def DrawTriangle3D(v1: Vector3,v2: Vector3,v3: Vector3,color: Color,) -> None: + """Draw a color-filled triangle (vertex in counter-clockwise order!)""" + ... +def DrawTriangleFan(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle fan defined by points (first vertex is the center)""" + ... +def DrawTriangleLines(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None: + """Draw triangle outline (vertex in counter-clockwise order!)""" + ... +def DrawTriangleStrip(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle strip defined by points""" + ... +def DrawTriangleStrip3D(points: Any,pointCount: int,color: Color,) -> None: + """Draw a triangle strip defined by points""" + ... +def EnableCursor() -> None: + """Enables cursor (unlock cursor)""" + ... +def EnableEventWaiting() -> None: + """Enable waiting for events on EndDrawing(), no automatic event polling""" + ... +def EncodeDataBase64(data: str,dataSize: int,outputSize: Any,) -> str: + """Encode data to Base64 string, memory must be MemFree()""" + ... +def EndBlendMode() -> None: + """End blending mode (reset to default: alpha blending)""" + ... +def EndDrawing() -> None: + """End canvas drawing and swap buffers (double buffering)""" + ... +def EndMode2D() -> None: + """Ends 2D mode with custom camera""" + ... +def EndMode3D() -> None: + """Ends 3D mode and returns to default 2D orthographic mode""" + ... +def EndScissorMode() -> None: + """End scissor mode""" + ... +def EndShaderMode() -> None: + """End custom shader drawing (use default shader)""" + ... +def EndTextureMode() -> None: + """Ends drawing to render texture""" + ... +def EndVrStereoMode() -> None: + """End stereo rendering (requires VR simulator)""" + ... +def ExportAutomationEventList(list: AutomationEventList,fileName: str,) -> bool: + """Export automation events list as text file""" + ... +def ExportDataAsCode(data: str,dataSize: int,fileName: str,) -> bool: + """Export data to code (.h), returns true on success""" + ... +def ExportFontAsCode(font: Font,fileName: str,) -> bool: + """Export font as code file, returns true on success""" + ... +def ExportImage(image: Image,fileName: str,) -> bool: + """Export image data to file, returns true on success""" + ... +def ExportImageAsCode(image: Image,fileName: str,) -> bool: + """Export image as code file defining an array of bytes, returns true on success""" + ... +def ExportImageToMemory(image: Image,fileType: str,fileSize: Any,) -> str: + """Export image to memory buffer""" + ... +def ExportMesh(mesh: Mesh,fileName: str,) -> bool: + """Export mesh data to file, returns true on success""" + ... +def ExportWave(wave: Wave,fileName: str,) -> bool: + """Export wave data to file, returns true on success""" + ... +def ExportWaveAsCode(wave: Wave,fileName: str,) -> bool: + """Export wave sample data to code (.h), returns true on success""" + ... +FLAG_BORDERLESS_WINDOWED_MODE: int +FLAG_FULLSCREEN_MODE: int +FLAG_INTERLACED_HINT: int +FLAG_MSAA_4X_HINT: int +FLAG_VSYNC_HINT: int +FLAG_WINDOW_ALWAYS_RUN: int +FLAG_WINDOW_HIDDEN: int +FLAG_WINDOW_HIGHDPI: int +FLAG_WINDOW_MAXIMIZED: int +FLAG_WINDOW_MINIMIZED: int +FLAG_WINDOW_MOUSE_PASSTHROUGH: int +FLAG_WINDOW_RESIZABLE: int +FLAG_WINDOW_TOPMOST: int +FLAG_WINDOW_TRANSPARENT: int +FLAG_WINDOW_UNDECORATED: int +FLAG_WINDOW_UNFOCUSED: int +FONT_BITMAP: int +FONT_DEFAULT: int +FONT_SDF: int +def Fade(color: Color,alpha: float,) -> Color: + """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" + ... +def FileExists(fileName: str,) -> bool: + """Check if file exists""" + ... +def FloatEquals(float_0: float,float_1: float,) -> int: + """int FloatEquals(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +GAMEPAD_AXIS_LEFT_TRIGGER: int +GAMEPAD_AXIS_LEFT_X: int +GAMEPAD_AXIS_LEFT_Y: int +GAMEPAD_AXIS_RIGHT_TRIGGER: int +GAMEPAD_AXIS_RIGHT_X: int +GAMEPAD_AXIS_RIGHT_Y: int +GAMEPAD_BUTTON_LEFT_FACE_DOWN: int +GAMEPAD_BUTTON_LEFT_FACE_LEFT: int +GAMEPAD_BUTTON_LEFT_FACE_RIGHT: int +GAMEPAD_BUTTON_LEFT_FACE_UP: int +GAMEPAD_BUTTON_LEFT_THUMB: int +GAMEPAD_BUTTON_LEFT_TRIGGER_1: int +GAMEPAD_BUTTON_LEFT_TRIGGER_2: int +GAMEPAD_BUTTON_MIDDLE: int +GAMEPAD_BUTTON_MIDDLE_LEFT: int +GAMEPAD_BUTTON_MIDDLE_RIGHT: int +GAMEPAD_BUTTON_RIGHT_FACE_DOWN: int +GAMEPAD_BUTTON_RIGHT_FACE_LEFT: int +GAMEPAD_BUTTON_RIGHT_FACE_RIGHT: int +GAMEPAD_BUTTON_RIGHT_FACE_UP: int +GAMEPAD_BUTTON_RIGHT_THUMB: int +GAMEPAD_BUTTON_RIGHT_TRIGGER_1: int +GAMEPAD_BUTTON_RIGHT_TRIGGER_2: int +GAMEPAD_BUTTON_UNKNOWN: int +GESTURE_DOUBLETAP: int +GESTURE_DRAG: int +GESTURE_HOLD: int +GESTURE_NONE: int +GESTURE_PINCH_IN: int +GESTURE_PINCH_OUT: int +GESTURE_SWIPE_DOWN: int +GESTURE_SWIPE_LEFT: int +GESTURE_SWIPE_RIGHT: int +GESTURE_SWIPE_UP: int +GESTURE_TAP: int +GROUP_PADDING: int +def GenImageCellular(width: int,height: int,tileSize: int,) -> Image: + """Generate image: cellular algorithm, bigger tileSize means bigger cells""" + ... +def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color,col2: Color,) -> Image: + """Generate image: checked""" + ... +def GenImageColor(width: int,height: int,color: Color,) -> Image: + """Generate image: plain color""" + ... +def GenImageFontAtlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image: + """Generate image font atlas using chars info""" + ... +def GenImageGradientLinear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image: + """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient""" + ... +def GenImageGradientRadial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image: + """Generate image: radial gradient""" + ... +def GenImageGradientSquare(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image: + """Generate image: square gradient""" + ... +def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image: + """Generate image: perlin noise""" + ... +def GenImageText(width: int,height: int,text: str,) -> Image: + """Generate image: grayscale image from text data""" + ... +def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image: + """Generate image: white noise""" + ... +def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh: + """Generate cone/pyramid mesh""" + ... +def GenMeshCube(width: float,height: float,length: float,) -> Mesh: + """Generate cuboid mesh""" + ... +def GenMeshCubicmap(cubicmap: Image,cubeSize: Vector3,) -> Mesh: + """Generate cubes-based map mesh from image data""" + ... +def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh: + """Generate cylinder mesh""" + ... +def GenMeshHeightmap(heightmap: Image,size: Vector3,) -> Mesh: + """Generate heightmap mesh from image data""" + ... +def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh: + """Generate half-sphere mesh (no bottom cap)""" + ... +def GenMeshKnot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: + """Generate trefoil knot mesh""" + ... +def GenMeshPlane(width: float,length: float,resX: int,resZ: int,) -> Mesh: + """Generate plane mesh (with subdivisions)""" + ... +def GenMeshPoly(sides: int,radius: float,) -> Mesh: + """Generate polygonal mesh""" + ... +def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh: + """Generate sphere mesh (standard sphere)""" + ... +def GenMeshTangents(mesh: Any,) -> None: + """Compute mesh tangents""" + ... +def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: + """Generate torus mesh""" + ... +def GenTextureMipmaps(texture: Any,) -> None: + """Generate GPU mipmaps for a texture""" + ... +def GetApplicationDirectory() -> str: + """Get the directory of the running application (uses static string)""" + ... +def GetCameraMatrix(camera: Camera3D,) -> Matrix: + """Get camera transform matrix (view matrix)""" + ... +def GetCameraMatrix2D(camera: Camera2D,) -> Matrix: + """Get camera 2d transform matrix""" + ... +def GetCharPressed() -> int: + """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty""" + ... +def GetClipboardText() -> str: + """Get clipboard text content""" + ... +def GetCodepoint(text: str,codepointSize: Any,) -> int: + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def GetCodepointCount(text: str,) -> int: + """Get total number of codepoints in a UTF-8 encoded string""" + ... +def GetCodepointNext(text: str,codepointSize: Any,) -> int: + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def GetCodepointPrevious(text: str,codepointSize: Any,) -> int: + """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" + ... +def GetCollisionRec(rec1: Rectangle,rec2: Rectangle,) -> Rectangle: + """Get collision rectangle for two rectangles collision""" + ... +def GetColor(hexValue: int,) -> Color: + """Get Color structure from hexadecimal value""" + ... +def GetCurrentMonitor() -> int: + """Get current connected monitor""" + ... +def GetDirectoryPath(filePath: str,) -> str: + """Get full path for a given fileName with path (uses static string)""" + ... +def GetFPS() -> int: + """Get current FPS""" + ... +def GetFileExtension(fileName: str,) -> str: + """Get pointer to extension for a filename string (includes dot: '.png')""" + ... +def GetFileLength(fileName: str,) -> int: + """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)""" + ... +def GetFileModTime(fileName: str,) -> int: + """Get file modification time (last write time)""" + ... +def GetFileName(filePath: str,) -> str: + """Get pointer to filename for a path string""" + ... +def GetFileNameWithoutExt(filePath: str,) -> str: + """Get filename string without extension (uses static string)""" + ... +def GetFontDefault() -> Font: + """Get the default Font""" + ... +def GetFrameTime() -> float: + """Get time in seconds for last frame drawn (delta time)""" + ... +def GetGamepadAxisCount(gamepad: int,) -> int: + """Get gamepad axis count for a gamepad""" + ... +def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float: + """Get axis movement value for a gamepad axis""" + ... +def GetGamepadButtonPressed() -> int: + """Get the last gamepad button pressed""" + ... +def GetGamepadName(gamepad: int,) -> str: + """Get gamepad internal name id""" + ... +def GetGestureDetected() -> int: + """Get latest detected gesture""" + ... +def GetGestureDragAngle() -> float: + """Get gesture drag angle""" + ... +def GetGestureDragVector() -> Vector2: + """Get gesture drag vector""" + ... +def GetGestureHoldDuration() -> float: + """Get gesture hold time in milliseconds""" + ... +def GetGesturePinchAngle() -> float: + """Get gesture pinch angle""" + ... +def GetGesturePinchVector() -> Vector2: + """Get gesture pinch delta""" + ... +def GetGlyphAtlasRec(font: Font,codepoint: int,) -> Rectangle: + """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found""" + ... +def GetGlyphIndex(font: Font,codepoint: int,) -> int: + """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found""" + ... +def GetGlyphInfo(font: Font,codepoint: int,) -> GlyphInfo: + """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found""" + ... +def GetImageAlphaBorder(image: Image,threshold: float,) -> Rectangle: + """Get image alpha border rectangle""" + ... +def GetImageColor(image: Image,x: int,y: int,) -> Color: + """Get image pixel color at (x, y) position""" + ... +def GetKeyPressed() -> int: + """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty""" + ... +def GetMasterVolume() -> float: + """Get master volume (listener)""" + ... +def GetMeshBoundingBox(mesh: Mesh,) -> BoundingBox: + """Compute mesh bounding box limits""" + ... +def GetModelBoundingBox(model: Model,) -> BoundingBox: + """Compute model bounding box limits (considers all meshes)""" + ... +def GetMonitorCount() -> int: + """Get number of connected monitors""" + ... +def GetMonitorHeight(monitor: int,) -> int: + """Get specified monitor height (current video mode used by monitor)""" + ... +def GetMonitorName(monitor: int,) -> str: + """Get the human-readable, UTF-8 encoded name of the specified monitor""" + ... +def GetMonitorPhysicalHeight(monitor: int,) -> int: + """Get specified monitor physical height in millimetres""" + ... +def GetMonitorPhysicalWidth(monitor: int,) -> int: + """Get specified monitor physical width in millimetres""" + ... +def GetMonitorPosition(monitor: int,) -> Vector2: + """Get specified monitor position""" + ... +def GetMonitorRefreshRate(monitor: int,) -> int: + """Get specified monitor refresh rate""" + ... +def GetMonitorWidth(monitor: int,) -> int: + """Get specified monitor width (current video mode used by monitor)""" + ... +def GetMouseDelta() -> Vector2: + """Get mouse delta between frames""" + ... +def GetMousePosition() -> Vector2: + """Get mouse position XY""" + ... +def GetMouseRay(mousePosition: Vector2,camera: Camera3D,) -> Ray: + """Get a ray trace from mouse position""" + ... +def GetMouseWheelMove() -> float: + """Get mouse wheel movement for X or Y, whichever is larger""" + ... +def GetMouseWheelMoveV() -> Vector2: + """Get mouse wheel movement for both X and Y""" + ... +def GetMouseX() -> int: + """Get mouse position X""" + ... +def GetMouseY() -> int: + """Get mouse position Y""" + ... +def GetMusicTimeLength(music: Music,) -> float: + """Get music time length (in seconds)""" + ... +def GetMusicTimePlayed(music: Music,) -> float: + """Get current music time played (in seconds)""" + ... +def GetPhysicsBodiesCount() -> int: + """int GetPhysicsBodiesCount(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GetPhysicsBody(int_0: int,) -> Any: + """struct PhysicsBodyData *GetPhysicsBody(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GetPhysicsShapeType(int_0: int,) -> int: + """int GetPhysicsShapeType(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GetPhysicsShapeVertex(PhysicsBodyData_pointer_0: Any,int_1: int,) -> Vector2: + """struct Vector2 GetPhysicsShapeVertex(struct PhysicsBodyData *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GetPhysicsShapeVerticesCount(int_0: int,) -> int: + """int GetPhysicsShapeVerticesCount(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GetPixelColor(srcPtr: Any,format: int,) -> Color: + """Get Color from a source pixel pointer of certain format""" + ... +def GetPixelDataSize(width: int,height: int,format: int,) -> int: + """Get pixel data size in bytes for certain format""" + ... +def GetPrevDirectoryPath(dirPath: str,) -> str: + """Get previous directory path for a given path (uses static string)""" + ... +def GetRandomValue(min: int,max: int,) -> int: + """Get a random value between min and max (both included)""" + ... +def GetRayCollisionBox(ray: Ray,box: BoundingBox,) -> RayCollision: + """Get collision info between ray and box""" + ... +def GetRayCollisionMesh(ray: Ray,mesh: Mesh,transform: Matrix,) -> RayCollision: + """Get collision info between ray and mesh""" + ... +def GetRayCollisionQuad(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,p4: Vector3,) -> RayCollision: + """Get collision info between ray and quad""" + ... +def GetRayCollisionSphere(ray: Ray,center: Vector3,radius: float,) -> RayCollision: + """Get collision info between ray and sphere""" + ... +def GetRayCollisionTriangle(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,) -> RayCollision: + """Get collision info between ray and triangle""" + ... +def GetRenderHeight() -> int: + """Get current render height (it considers HiDPI)""" + ... +def GetRenderWidth() -> int: + """Get current render width (it considers HiDPI)""" + ... +def GetScreenHeight() -> int: + """Get current screen height""" + ... +def GetScreenToWorld2D(position: Vector2,camera: Camera2D,) -> Vector2: + """Get the world space position for a 2d camera screen space position""" + ... +def GetScreenWidth() -> int: + """Get current screen width""" + ... +def GetShaderLocation(shader: Shader,uniformName: str,) -> int: + """Get shader uniform location""" + ... +def GetShaderLocationAttrib(shader: Shader,attribName: str,) -> int: + """Get shader attribute location""" + ... +def GetSplinePointBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: B-Spline""" + ... +def GetSplinePointBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Cubic Bezier""" + ... +def GetSplinePointBezierQuad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Quadratic Bezier""" + ... +def GetSplinePointCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Catmull-Rom""" + ... +def GetSplinePointLinear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2: + """Get (evaluate) spline point: Linear""" + ... +def GetTime() -> float: + """Get elapsed time in seconds since InitWindow()""" + ... +def GetTouchPointCount() -> int: + """Get number of touch points""" + ... +def GetTouchPointId(index: int,) -> int: + """Get touch point identifier for given index""" + ... +def GetTouchPosition(index: int,) -> Vector2: + """Get touch position XY for a touch point index (relative to screen size)""" + ... +def GetTouchX() -> int: + """Get touch position X for touch point 0 (relative to screen size)""" + ... +def GetTouchY() -> int: + """Get touch position Y for touch point 0 (relative to screen size)""" + ... +def GetWindowHandle() -> Any: + """Get native window handle""" + ... +def GetWindowPosition() -> Vector2: + """Get window position XY on monitor""" + ... +def GetWindowScaleDPI() -> Vector2: + """Get window scale DPI factor""" + ... +def GetWorkingDirectory() -> str: + """Get current working directory (uses static string)""" + ... +def GetWorldToScreen(position: Vector3,camera: Camera3D,) -> Vector2: + """Get the screen space position for a 3d world space position""" + ... +def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2: + """Get the screen space position for a 2d camera world space position""" + ... +def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2: + """Get size position for a 3d world space position""" + ... +def GuiButton(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiButton(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiCheckBox(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: + """int GuiCheckBox(struct Rectangle, char *, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorBarAlpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: + """int GuiColorBarAlpha(struct Rectangle, char *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorBarHue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: + """int GuiColorBarHue(struct Rectangle, char *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorPanel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: + """int GuiColorPanel(struct Rectangle, char *, struct Color *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorPanelHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: + """int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorPicker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: + """int GuiColorPicker(struct Rectangle, char *, struct Color *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiColorPickerHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: + """int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiComboBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiComboBox(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiDisable() -> None: + """void GuiDisable(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiDisableTooltip() -> None: + """void GuiDisableTooltip(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiDrawIcon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -> None: + """void GuiDrawIcon(int, int, int, int, struct Color); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiDropdownBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int: + """int GuiDropdownBox(struct Rectangle, char *, int *, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiDummyRec(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiDummyRec(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiEnable() -> None: + """void GuiEnable(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiEnableTooltip() -> None: + """void GuiEnableTooltip(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGetFont() -> Font: + """struct Font GuiGetFont(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGetIcons() -> Any: + """unsigned int *GuiGetIcons(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGetState() -> int: + """int GuiGetState(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGetStyle(int_0: int,int_1: int,) -> int: + """int GuiGetStyle(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGrid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int: + """int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiGroupBox(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiGroupBox(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiIconText(int_0: int,str_1: str,) -> str: + """char *GuiIconText(int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiIsLocked() -> bool: + """_Bool GuiIsLocked(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLabel(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLabel(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLabelButton(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLabelButton(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLine(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiLine(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiListView(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int: + """int GuiListView(struct Rectangle, char *, int *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiListViewEx(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int: + """int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLoadIcons(str_0: str,_Bool_1: bool,) -> str: + """char * *GuiLoadIcons(char *, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLoadStyle(str_0: str,) -> None: + """void GuiLoadStyle(char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLoadStyleDefault() -> None: + """void GuiLoadStyleDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiLock() -> None: + """void GuiLock(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiMessageBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) -> int: + """int GuiMessageBox(struct Rectangle, char *, char *, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiPanel(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiPanel(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiProgressBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiScrollPanel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int: + """int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetAlpha(float_0: float,) -> None: + """void GuiSetAlpha(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetFont(Font_0: Font,) -> None: + """void GuiSetFont(struct Font); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetIconScale(int_0: int,) -> None: + """void GuiSetIconScale(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetState(int_0: int,) -> None: + """void GuiSetState(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetStyle(int_0: int,int_1: int,int_2: int,) -> None: + """void GuiSetStyle(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSetTooltip(str_0: str,) -> None: + """void GuiSetTooltip(char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSlider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiSlider(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSliderBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: + """int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiSpinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: + """int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiStatusBar(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiStatusBar(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiTabBar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,) -> int: + """int GuiTabBar(struct Rectangle, char * *, int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int: + """int GuiTextBox(struct Rectangle, char *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiTextInputBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int: + """int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiToggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: + """int GuiToggle(struct Rectangle, char *, _Bool *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiToggleGroup(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiToggleGroup(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiToggleSlider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: + """int GuiToggleSlider(struct Rectangle, char *, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiUnlock() -> None: + """void GuiUnlock(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiValueBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: + """int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def GuiWindowBox(Rectangle_0: Rectangle,str_1: str,) -> int: + """int GuiWindowBox(struct Rectangle, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +HUEBAR_PADDING: int +HUEBAR_SELECTOR_HEIGHT: int +HUEBAR_SELECTOR_OVERFLOW: int +HUEBAR_WIDTH: int +def HideCursor() -> None: + """Hides cursor""" + ... +ICON_1UP: int +ICON_220: int +ICON_221: int +ICON_222: int +ICON_223: int +ICON_224: int +ICON_225: int +ICON_226: int +ICON_227: int +ICON_228: int +ICON_229: int +ICON_230: int +ICON_231: int +ICON_232: int +ICON_233: int +ICON_234: int +ICON_235: int +ICON_236: int +ICON_237: int +ICON_238: int +ICON_239: int +ICON_240: int +ICON_241: int +ICON_242: int +ICON_243: int +ICON_244: int +ICON_245: int +ICON_246: int +ICON_247: int +ICON_248: int +ICON_249: int +ICON_250: int +ICON_251: int +ICON_252: int +ICON_253: int +ICON_254: int +ICON_255: int +ICON_ALARM: int +ICON_ALPHA_CLEAR: int +ICON_ALPHA_MULTIPLY: int +ICON_ARROW_DOWN: int +ICON_ARROW_DOWN_FILL: int +ICON_ARROW_LEFT: int +ICON_ARROW_LEFT_FILL: int +ICON_ARROW_RIGHT: int +ICON_ARROW_RIGHT_FILL: int +ICON_ARROW_UP: int +ICON_ARROW_UP_FILL: int +ICON_AUDIO: int +ICON_BIN: int +ICON_BOX: int +ICON_BOX_BOTTOM: int +ICON_BOX_BOTTOM_LEFT: int +ICON_BOX_BOTTOM_RIGHT: int +ICON_BOX_CENTER: int +ICON_BOX_CIRCLE_MASK: int +ICON_BOX_CONCENTRIC: int +ICON_BOX_CORNERS_BIG: int +ICON_BOX_CORNERS_SMALL: int +ICON_BOX_DOTS_BIG: int +ICON_BOX_DOTS_SMALL: int +ICON_BOX_GRID: int +ICON_BOX_GRID_BIG: int +ICON_BOX_LEFT: int +ICON_BOX_MULTISIZE: int +ICON_BOX_RIGHT: int +ICON_BOX_TOP: int +ICON_BOX_TOP_LEFT: int +ICON_BOX_TOP_RIGHT: int +ICON_BREAKPOINT_OFF: int +ICON_BREAKPOINT_ON: int +ICON_BRUSH_CLASSIC: int +ICON_BRUSH_PAINTER: int +ICON_BURGER_MENU: int +ICON_CAMERA: int +ICON_CASE_SENSITIVE: int +ICON_CLOCK: int +ICON_COIN: int +ICON_COLOR_BUCKET: int +ICON_COLOR_PICKER: int +ICON_CORNER: int +ICON_CPU: int +ICON_CRACK: int +ICON_CRACK_POINTS: int +ICON_CROP: int +ICON_CROP_ALPHA: int +ICON_CROSS: int +ICON_CROSSLINE: int +ICON_CROSS_SMALL: int +ICON_CUBE: int +ICON_CUBE_FACE_BACK: int +ICON_CUBE_FACE_BOTTOM: int +ICON_CUBE_FACE_FRONT: int +ICON_CUBE_FACE_LEFT: int +ICON_CUBE_FACE_RIGHT: int +ICON_CUBE_FACE_TOP: int +ICON_CURSOR_CLASSIC: int +ICON_CURSOR_HAND: int +ICON_CURSOR_MOVE: int +ICON_CURSOR_MOVE_FILL: int +ICON_CURSOR_POINTER: int +ICON_CURSOR_SCALE: int +ICON_CURSOR_SCALE_FILL: int +ICON_CURSOR_SCALE_LEFT: int +ICON_CURSOR_SCALE_LEFT_FILL: int +ICON_CURSOR_SCALE_RIGHT: int +ICON_CURSOR_SCALE_RIGHT_FILL: int +ICON_DEMON: int +ICON_DITHERING: int +ICON_DOOR: int +ICON_EMPTYBOX: int +ICON_EMPTYBOX_SMALL: int +ICON_EXIT: int +ICON_EXPLOSION: int +ICON_EYE_OFF: int +ICON_EYE_ON: int +ICON_FILE: int +ICON_FILETYPE_ALPHA: int +ICON_FILETYPE_AUDIO: int +ICON_FILETYPE_BINARY: int +ICON_FILETYPE_HOME: int +ICON_FILETYPE_IMAGE: int +ICON_FILETYPE_INFO: int +ICON_FILETYPE_PLAY: int +ICON_FILETYPE_TEXT: int +ICON_FILETYPE_VIDEO: int +ICON_FILE_ADD: int +ICON_FILE_COPY: int +ICON_FILE_CUT: int +ICON_FILE_DELETE: int +ICON_FILE_EXPORT: int +ICON_FILE_NEW: int +ICON_FILE_OPEN: int +ICON_FILE_PASTE: int +ICON_FILE_SAVE: int +ICON_FILE_SAVE_CLASSIC: int +ICON_FILTER: int +ICON_FILTER_BILINEAR: int +ICON_FILTER_POINT: int +ICON_FILTER_TOP: int +ICON_FOLDER: int +ICON_FOLDER_ADD: int +ICON_FOLDER_FILE_OPEN: int +ICON_FOLDER_OPEN: int +ICON_FOLDER_SAVE: int +ICON_FOUR_BOXES: int +ICON_FX: int +ICON_GEAR: int +ICON_GEAR_BIG: int +ICON_GEAR_EX: int +ICON_GRID: int +ICON_GRID_FILL: int +ICON_HAND_POINTER: int +ICON_HEART: int +ICON_HELP: int +ICON_HEX: int +ICON_HIDPI: int +ICON_HOUSE: int +ICON_INFO: int +ICON_KEY: int +ICON_LASER: int +ICON_LAYERS: int +ICON_LAYERS_VISIBLE: int +ICON_LENS: int +ICON_LENS_BIG: int +ICON_LIFE_BARS: int +ICON_LINK: int +ICON_LINK_BOXES: int +ICON_LINK_BROKE: int +ICON_LINK_MULTI: int +ICON_LINK_NET: int +ICON_LOCK_CLOSE: int +ICON_LOCK_OPEN: int +ICON_MAGNET: int +ICON_MAILBOX: int +ICON_MIPMAPS: int +ICON_MODE_2D: int +ICON_MODE_3D: int +ICON_MONITOR: int +ICON_MUTATE: int +ICON_MUTATE_FILL: int +ICON_NONE: int +ICON_NOTEBOOK: int +ICON_OK_TICK: int +ICON_PENCIL: int +ICON_PENCIL_BIG: int +ICON_PHOTO_CAMERA: int +ICON_PHOTO_CAMERA_FLASH: int +ICON_PLAYER: int +ICON_PLAYER_JUMP: int +ICON_PLAYER_NEXT: int +ICON_PLAYER_PAUSE: int +ICON_PLAYER_PLAY: int +ICON_PLAYER_PLAY_BACK: int +ICON_PLAYER_PREVIOUS: int +ICON_PLAYER_RECORD: int +ICON_PLAYER_STOP: int +ICON_POT: int +ICON_PRINTER: int +ICON_REDO: int +ICON_REDO_FILL: int +ICON_REG_EXP: int +ICON_REPEAT: int +ICON_REPEAT_FILL: int +ICON_REREDO: int +ICON_REREDO_FILL: int +ICON_RESIZE: int +ICON_RESTART: int +ICON_ROM: int +ICON_ROTATE: int +ICON_ROTATE_FILL: int +ICON_RUBBER: int +ICON_SAND_TIMER: int +ICON_SCALE: int +ICON_SHIELD: int +ICON_SHUFFLE: int +ICON_SHUFFLE_FILL: int +ICON_SPECIAL: int +ICON_SQUARE_TOGGLE: int +ICON_STAR: int +ICON_STEP_INTO: int +ICON_STEP_OUT: int +ICON_STEP_OVER: int +ICON_SUITCASE: int +ICON_SUITCASE_ZIP: int +ICON_SYMMETRY: int +ICON_SYMMETRY_HORIZONTAL: int +ICON_SYMMETRY_VERTICAL: int +ICON_TARGET: int +ICON_TARGET_BIG: int +ICON_TARGET_BIG_FILL: int +ICON_TARGET_MOVE: int +ICON_TARGET_MOVE_FILL: int +ICON_TARGET_POINT: int +ICON_TARGET_SMALL: int +ICON_TARGET_SMALL_FILL: int +ICON_TEXT_A: int +ICON_TEXT_NOTES: int +ICON_TEXT_POPUP: int +ICON_TEXT_T: int +ICON_TOOLS: int +ICON_UNDO: int +ICON_UNDO_FILL: int +ICON_VERTICAL_BARS: int +ICON_VERTICAL_BARS_FILL: int +ICON_WATER_DROP: int +ICON_WAVE: int +ICON_WAVE_SINUS: int +ICON_WAVE_SQUARE: int +ICON_WAVE_TRIANGULAR: int +ICON_WINDOW: int +ICON_ZOOM_ALL: int +ICON_ZOOM_BIG: int +ICON_ZOOM_CENTER: int +ICON_ZOOM_MEDIUM: int +ICON_ZOOM_SMALL: int +def ImageAlphaClear(image: Any,color: Color,threshold: float,) -> None: + """Clear alpha channel to desired color""" + ... +def ImageAlphaCrop(image: Any,threshold: float,) -> None: + """Crop image depending on alpha value""" + ... +def ImageAlphaMask(image: Any,alphaMask: Image,) -> None: + """Apply alpha mask to image""" + ... +def ImageAlphaPremultiply(image: Any,) -> None: + """Premultiply alpha channel""" + ... +def ImageBlurGaussian(image: Any,blurSize: int,) -> None: + """Apply Gaussian blur using a box blur approximation""" + ... +def ImageClearBackground(dst: Any,color: Color,) -> None: + """Clear image background with given color""" + ... +def ImageColorBrightness(image: Any,brightness: int,) -> None: + """Modify image color: brightness (-255 to 255)""" + ... +def ImageColorContrast(image: Any,contrast: float,) -> None: + """Modify image color: contrast (-100 to 100)""" + ... +def ImageColorGrayscale(image: Any,) -> None: + """Modify image color: grayscale""" + ... +def ImageColorInvert(image: Any,) -> None: + """Modify image color: invert""" + ... +def ImageColorReplace(image: Any,color: Color,replace: Color,) -> None: + """Modify image color: replace color""" + ... +def ImageColorTint(image: Any,color: Color,) -> None: + """Modify image color: tint""" + ... +def ImageCopy(image: Image,) -> Image: + """Create an image duplicate (useful for transformations)""" + ... +def ImageCrop(image: Any,crop: Rectangle,) -> None: + """Crop an image to a defined rectangle""" + ... +def ImageDither(image: Any,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None: + """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)""" + ... +def ImageDraw(dst: Any,src: Image,srcRec: Rectangle,dstRec: Rectangle,tint: Color,) -> None: + """Draw a source image within a destination image (tint applied to source)""" + ... +def ImageDrawCircle(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None: + """Draw a filled circle within an image""" + ... +def ImageDrawCircleLines(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None: + """Draw circle outline within an image""" + ... +def ImageDrawCircleLinesV(dst: Any,center: Vector2,radius: int,color: Color,) -> None: + """Draw circle outline within an image (Vector version)""" + ... +def ImageDrawCircleV(dst: Any,center: Vector2,radius: int,color: Color,) -> None: + """Draw a filled circle within an image (Vector version)""" + ... +def ImageDrawLine(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None: + """Draw line within an image""" + ... +def ImageDrawLineV(dst: Any,start: Vector2,end: Vector2,color: Color,) -> None: + """Draw line within an image (Vector version)""" + ... +def ImageDrawPixel(dst: Any,posX: int,posY: int,color: Color,) -> None: + """Draw pixel within an image""" + ... +def ImageDrawPixelV(dst: Any,position: Vector2,color: Color,) -> None: + """Draw pixel within an image (Vector version)""" + ... +def ImageDrawRectangle(dst: Any,posX: int,posY: int,width: int,height: int,color: Color,) -> None: + """Draw rectangle within an image""" + ... +def ImageDrawRectangleLines(dst: Any,rec: Rectangle,thick: int,color: Color,) -> None: + """Draw rectangle lines within an image""" + ... +def ImageDrawRectangleRec(dst: Any,rec: Rectangle,color: Color,) -> None: + """Draw rectangle within an image""" + ... +def ImageDrawRectangleV(dst: Any,position: Vector2,size: Vector2,color: Color,) -> None: + """Draw rectangle within an image (Vector version)""" + ... +def ImageDrawText(dst: Any,text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None: + """Draw text (using default font) within an image (destination)""" + ... +def ImageDrawTextEx(dst: Any,font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None: + """Draw text (custom sprite font) within an image (destination)""" + ... +def ImageFlipHorizontal(image: Any,) -> None: + """Flip image horizontally""" + ... +def ImageFlipVertical(image: Any,) -> None: + """Flip image vertically""" + ... +def ImageFormat(image: Any,newFormat: int,) -> None: + """Convert image data to desired format""" + ... +def ImageFromImage(image: Image,rec: Rectangle,) -> Image: + """Create an image from another image piece""" + ... +def ImageMipmaps(image: Any,) -> None: + """Compute all mipmap levels for a provided image""" + ... +def ImageResize(image: Any,newWidth: int,newHeight: int,) -> None: + """Resize image (Bicubic scaling algorithm)""" + ... +def ImageResizeCanvas(image: Any,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color,) -> None: + """Resize canvas and fill with color""" + ... +def ImageResizeNN(image: Any,newWidth: int,newHeight: int,) -> None: + """Resize image (Nearest-Neighbor scaling algorithm)""" + ... +def ImageRotate(image: Any,degrees: int,) -> None: + """Rotate image by input angle in degrees (-359 to 359)""" + ... +def ImageRotateCCW(image: Any,) -> None: + """Rotate image counter-clockwise 90deg""" + ... +def ImageRotateCW(image: Any,) -> None: + """Rotate image clockwise 90deg""" + ... +def ImageText(text: str,fontSize: int,color: Color,) -> Image: + """Create an image from text (default font)""" + ... +def ImageTextEx(font: Font,text: str,fontSize: float,spacing: float,tint: Color,) -> Image: + """Create an image from text (custom sprite font)""" + ... +def ImageToPOT(image: Any,fill: Color,) -> None: + """Convert image to POT (power-of-two)""" + ... +def InitAudioDevice() -> None: + """Initialize audio device and context""" + ... +def InitPhysics() -> None: + """void InitPhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def InitWindow(width: int,height: int,title: str,) -> None: + """Initialize window and OpenGL context""" + ... +def IsAudioDeviceReady() -> bool: + """Check if audio device has been initialized successfully""" + ... +def IsAudioStreamPlaying(stream: AudioStream,) -> bool: + """Check if audio stream is playing""" + ... +def IsAudioStreamProcessed(stream: AudioStream,) -> bool: + """Check if any audio stream buffers requires refill""" + ... +def IsAudioStreamReady(stream: AudioStream,) -> bool: + """Checks if an audio stream is ready""" + ... +def IsCursorHidden() -> bool: + """Check if cursor is not visible""" + ... +def IsCursorOnScreen() -> bool: + """Check if cursor is on the screen""" + ... +def IsFileDropped() -> bool: + """Check if a file has been dropped into window""" + ... +def IsFileExtension(fileName: str,ext: str,) -> bool: + """Check file extension (including point: .png, .wav)""" + ... +def IsFontReady(font: Font,) -> bool: + """Check if a font is ready""" + ... +def IsGamepadAvailable(gamepad: int,) -> bool: + """Check if a gamepad is available""" + ... +def IsGamepadButtonDown(gamepad: int,button: int,) -> bool: + """Check if a gamepad button is being pressed""" + ... +def IsGamepadButtonPressed(gamepad: int,button: int,) -> bool: + """Check if a gamepad button has been pressed once""" + ... +def IsGamepadButtonReleased(gamepad: int,button: int,) -> bool: + """Check if a gamepad button has been released once""" + ... +def IsGamepadButtonUp(gamepad: int,button: int,) -> bool: + """Check if a gamepad button is NOT being pressed""" + ... +def IsGestureDetected(gesture: int,) -> bool: + """Check if a gesture have been detected""" + ... +def IsImageReady(image: Image,) -> bool: + """Check if an image is ready""" + ... +def IsKeyDown(key: int,) -> bool: + """Check if a key is being pressed""" + ... +def IsKeyPressed(key: int,) -> bool: + """Check if a key has been pressed once""" + ... +def IsKeyPressedRepeat(key: int,) -> bool: + """Check if a key has been pressed again (Only PLATFORM_DESKTOP)""" + ... +def IsKeyReleased(key: int,) -> bool: + """Check if a key has been released once""" + ... +def IsKeyUp(key: int,) -> bool: + """Check if a key is NOT being pressed""" + ... +def IsMaterialReady(material: Material,) -> bool: + """Check if a material is ready""" + ... +def IsModelAnimationValid(model: Model,anim: ModelAnimation,) -> bool: + """Check model animation skeleton match""" + ... +def IsModelReady(model: Model,) -> bool: + """Check if a model is ready""" + ... +def IsMouseButtonDown(button: int,) -> bool: + """Check if a mouse button is being pressed""" + ... +def IsMouseButtonPressed(button: int,) -> bool: + """Check if a mouse button has been pressed once""" + ... +def IsMouseButtonReleased(button: int,) -> bool: + """Check if a mouse button has been released once""" + ... +def IsMouseButtonUp(button: int,) -> bool: + """Check if a mouse button is NOT being pressed""" + ... +def IsMusicReady(music: Music,) -> bool: + """Checks if a music stream is ready""" + ... +def IsMusicStreamPlaying(music: Music,) -> bool: + """Check if music is playing""" + ... +def IsPathFile(path: str,) -> bool: + """Check if a given path is a file or a directory""" + ... +def IsRenderTextureReady(target: RenderTexture,) -> bool: + """Check if a render texture is ready""" + ... +def IsShaderReady(shader: Shader,) -> bool: + """Check if a shader is ready""" + ... +def IsSoundPlaying(sound: Sound,) -> bool: + """Check if a sound is currently playing""" + ... +def IsSoundReady(sound: Sound,) -> bool: + """Checks if a sound is ready""" + ... +def IsTextureReady(texture: Texture,) -> bool: + """Check if a texture is ready""" + ... +def IsWaveReady(wave: Wave,) -> bool: + """Checks if wave data is ready""" + ... +def IsWindowFocused() -> bool: + """Check if window is currently focused (only PLATFORM_DESKTOP)""" + ... +def IsWindowFullscreen() -> bool: + """Check if window is currently fullscreen""" + ... +def IsWindowHidden() -> bool: + """Check if window is currently hidden (only PLATFORM_DESKTOP)""" + ... +def IsWindowMaximized() -> bool: + """Check if window is currently maximized (only PLATFORM_DESKTOP)""" + ... +def IsWindowMinimized() -> bool: + """Check if window is currently minimized (only PLATFORM_DESKTOP)""" + ... +def IsWindowReady() -> bool: + """Check if window has been initialized successfully""" + ... +def IsWindowResized() -> bool: + """Check if window has been resized last frame""" + ... +def IsWindowState(flag: int,) -> bool: + """Check if one specific window flag is enabled""" + ... +KEY_A: int +KEY_APOSTROPHE: int +KEY_B: int +KEY_BACK: int +KEY_BACKSLASH: int +KEY_BACKSPACE: int +KEY_C: int +KEY_CAPS_LOCK: int +KEY_COMMA: int +KEY_D: int +KEY_DELETE: int +KEY_DOWN: int +KEY_E: int +KEY_EIGHT: int +KEY_END: int +KEY_ENTER: int +KEY_EQUAL: int +KEY_ESCAPE: int +KEY_F: int +KEY_F1: int +KEY_F10: int +KEY_F11: int +KEY_F12: int +KEY_F2: int +KEY_F3: int +KEY_F4: int +KEY_F5: int +KEY_F6: int +KEY_F7: int +KEY_F8: int +KEY_F9: int +KEY_FIVE: int +KEY_FOUR: int +KEY_G: int +KEY_GRAVE: int +KEY_H: int +KEY_HOME: int +KEY_I: int +KEY_INSERT: int +KEY_J: int +KEY_K: int +KEY_KB_MENU: int +KEY_KP_0: int +KEY_KP_1: int +KEY_KP_2: int +KEY_KP_3: int +KEY_KP_4: int +KEY_KP_5: int +KEY_KP_6: int +KEY_KP_7: int +KEY_KP_8: int +KEY_KP_9: int +KEY_KP_ADD: int +KEY_KP_DECIMAL: int +KEY_KP_DIVIDE: int +KEY_KP_ENTER: int +KEY_KP_EQUAL: int +KEY_KP_MULTIPLY: int +KEY_KP_SUBTRACT: int +KEY_L: int +KEY_LEFT: int +KEY_LEFT_ALT: int +KEY_LEFT_BRACKET: int +KEY_LEFT_CONTROL: int +KEY_LEFT_SHIFT: int +KEY_LEFT_SUPER: int +KEY_M: int +KEY_MENU: int +KEY_MINUS: int +KEY_N: int +KEY_NINE: int +KEY_NULL: int +KEY_NUM_LOCK: int +KEY_O: int +KEY_ONE: int +KEY_P: int +KEY_PAGE_DOWN: int +KEY_PAGE_UP: int +KEY_PAUSE: int +KEY_PERIOD: int +KEY_PRINT_SCREEN: int +KEY_Q: int +KEY_R: int +KEY_RIGHT: int +KEY_RIGHT_ALT: int +KEY_RIGHT_BRACKET: int +KEY_RIGHT_CONTROL: int +KEY_RIGHT_SHIFT: int +KEY_RIGHT_SUPER: int +KEY_S: int +KEY_SCROLL_LOCK: int +KEY_SEMICOLON: int +KEY_SEVEN: int +KEY_SIX: int +KEY_SLASH: int +KEY_SPACE: int +KEY_T: int +KEY_TAB: int +KEY_THREE: int +KEY_TWO: int +KEY_U: int +KEY_UP: int +KEY_V: int +KEY_VOLUME_DOWN: int +KEY_VOLUME_UP: int +KEY_W: int +KEY_X: int +KEY_Y: int +KEY_Z: int +KEY_ZERO: int +LABEL: int +LINE_COLOR: int +LISTVIEW: int +LIST_ITEMS_HEIGHT: int +LIST_ITEMS_SPACING: int +LOG_ALL: int +LOG_DEBUG: int +LOG_ERROR: int +LOG_FATAL: int +LOG_INFO: int +LOG_NONE: int +LOG_TRACE: int +LOG_WARNING: int +def Lerp(float_0: float,float_1: float,float_2: float,) -> float: + """float Lerp(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream: + """Load audio stream (to stream raw audio pcm data)""" + ... +def LoadAutomationEventList(fileName: str,) -> AutomationEventList: + """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS""" + ... +def LoadCodepoints(text: str,count: Any,) -> Any: + """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter""" + ... +def LoadDirectoryFiles(dirPath: str,) -> FilePathList: + """Load directory filepaths""" + ... +def LoadDirectoryFilesEx(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList: + """Load directory filepaths with extension filtering and recursive directory scan""" + ... +def LoadDroppedFiles() -> FilePathList: + """Load dropped filepaths""" + ... +def LoadFileData(fileName: str,dataSize: Any,) -> str: + """Load file data as byte array (read)""" + ... +def LoadFileText(fileName: str,) -> str: + """Load text data from file (read), returns a '\0' terminated string""" + ... +def LoadFont(fileName: str,) -> Font: + """Load font from file into GPU memory (VRAM)""" + ... +def LoadFontData(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any: + """Load font data for further use""" + ... +def LoadFontEx(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: + """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont""" + ... +def LoadFontFromImage(image: Image,key: Color,firstChar: int,) -> Font: + """Load font from Image (XNA style)""" + ... +def LoadFontFromMemory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: + """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'""" + ... +def LoadImage(fileName: str,) -> Image: + """Load image from file into CPU memory (RAM)""" + ... +def LoadImageAnim(fileName: str,frames: Any,) -> Image: + """Load image sequence from file (frames appended to image.data)""" + ... +def LoadImageColors(image: Image,) -> Any: + """Load color data from image as a Color array (RGBA - 32bit)""" + ... +def LoadImageFromMemory(fileType: str,fileData: str,dataSize: int,) -> Image: + """Load image from memory buffer, fileType refers to extension: i.e. '.png'""" + ... +def LoadImageFromScreen() -> Image: + """Load image from screen buffer and (screenshot)""" + ... +def LoadImageFromTexture(texture: Texture,) -> Image: + """Load image from GPU texture data""" + ... +def LoadImagePalette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any: + """Load colors palette from image as a Color array (RGBA - 32bit)""" + ... +def LoadImageRaw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image: + """Load image from RAW file data""" + ... +def LoadImageSvg(fileNameOrString: str,width: int,height: int,) -> Image: + """Load image from SVG file data or string with specified size""" + ... +def LoadMaterialDefault() -> Material: + """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)""" + ... +def LoadMaterials(fileName: str,materialCount: Any,) -> Any: + """Load materials from model file""" + ... +def LoadModel(fileName: str,) -> Model: + """Load model from files (meshes and materials)""" + ... +def LoadModelAnimations(fileName: str,animCount: Any,) -> Any: + """Load model animations from file""" + ... +def LoadModelFromMesh(mesh: Mesh,) -> Model: + """Load model from generated mesh (default material)""" + ... +def LoadMusicStream(fileName: str,) -> Music: + """Load music stream from file""" + ... +def LoadMusicStreamFromMemory(fileType: str,data: str,dataSize: int,) -> Music: + """Load music stream from data""" + ... +def LoadRandomSequence(count: int,min: int,max: int,) -> Any: + """Load random values sequence, no values repeated""" + ... +def LoadRenderTexture(width: int,height: int,) -> RenderTexture: + """Load texture for rendering (framebuffer)""" + ... +def LoadShader(vsFileName: str,fsFileName: str,) -> Shader: + """Load shader from files and bind default locations""" + ... +def LoadShaderFromMemory(vsCode: str,fsCode: str,) -> Shader: + """Load shader from code strings and bind default locations""" + ... +def LoadSound(fileName: str,) -> Sound: + """Load sound from file""" + ... +def LoadSoundAlias(source: Sound,) -> Sound: + """Create a new sound that shares the same sample data as the source sound, does not own the sound data""" + ... +def LoadSoundFromWave(wave: Wave,) -> Sound: + """Load sound from wave data""" + ... +def LoadTexture(fileName: str,) -> Texture: + """Load texture from file into GPU memory (VRAM)""" + ... +def LoadTextureCubemap(image: Image,layout: int,) -> Texture: + """Load cubemap from image, multiple image cubemap layouts supported""" + ... +def LoadTextureFromImage(image: Image,) -> Texture: + """Load texture from image data""" + ... +def LoadUTF8(codepoints: Any,length: int,) -> str: + """Load UTF-8 text encoded from codepoints array""" + ... +def LoadVrStereoConfig(device: VrDeviceInfo,) -> VrStereoConfig: + """Load VR stereo config for VR simulator device parameters""" + ... +def LoadWave(fileName: str,) -> Wave: + """Load wave data from file""" + ... +def LoadWaveFromMemory(fileType: str,fileData: str,dataSize: int,) -> Wave: + """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'""" + ... +def LoadWaveSamples(wave: Wave,) -> Any: + """Load samples data from wave as a 32bit float data array""" + ... +MATERIAL_MAP_ALBEDO: int +MATERIAL_MAP_BRDF: int +MATERIAL_MAP_CUBEMAP: int +MATERIAL_MAP_EMISSION: int +MATERIAL_MAP_HEIGHT: int +MATERIAL_MAP_IRRADIANCE: int +MATERIAL_MAP_METALNESS: int +MATERIAL_MAP_NORMAL: int +MATERIAL_MAP_OCCLUSION: int +MATERIAL_MAP_PREFILTER: int +MATERIAL_MAP_ROUGHNESS: int +MOUSE_BUTTON_BACK: int +MOUSE_BUTTON_EXTRA: int +MOUSE_BUTTON_FORWARD: int +MOUSE_BUTTON_LEFT: int +MOUSE_BUTTON_MIDDLE: int +MOUSE_BUTTON_RIGHT: int +MOUSE_BUTTON_SIDE: int +MOUSE_CURSOR_ARROW: int +MOUSE_CURSOR_CROSSHAIR: int +MOUSE_CURSOR_DEFAULT: int +MOUSE_CURSOR_IBEAM: int +MOUSE_CURSOR_NOT_ALLOWED: int +MOUSE_CURSOR_POINTING_HAND: int +MOUSE_CURSOR_RESIZE_ALL: int +MOUSE_CURSOR_RESIZE_EW: int +MOUSE_CURSOR_RESIZE_NESW: int +MOUSE_CURSOR_RESIZE_NS: int +MOUSE_CURSOR_RESIZE_NWSE: int +def MatrixAdd(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixAdd(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixDeterminant(Matrix_0: Matrix,) -> float: + """float MatrixDeterminant(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixFrustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: + """struct Matrix MatrixFrustum(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixIdentity() -> Matrix: + """struct Matrix MatrixIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixInvert(Matrix_0: Matrix,) -> Matrix: + """struct Matrix MatrixInvert(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixLookAt(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Matrix: + """struct Matrix MatrixLookAt(struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixMultiply(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixMultiply(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixOrtho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: + """struct Matrix MatrixOrtho(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixPerspective(double_0: float,double_1: float,double_2: float,double_3: float,) -> Matrix: + """struct Matrix MatrixPerspective(double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotate(Vector3_0: Vector3,float_1: float,) -> Matrix: + """struct Matrix MatrixRotate(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotateX(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateX(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotateXYZ(Vector3_0: Vector3,) -> Matrix: + """struct Matrix MatrixRotateXYZ(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotateY(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateY(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotateZ(float_0: float,) -> Matrix: + """struct Matrix MatrixRotateZ(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixRotateZYX(Vector3_0: Vector3,) -> Matrix: + """struct Matrix MatrixRotateZYX(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixScale(float_0: float,float_1: float,float_2: float,) -> Matrix: + """struct Matrix MatrixScale(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixSubtract(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: + """struct Matrix MatrixSubtract(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixToFloatV(Matrix_0: Matrix,) -> float16: + """struct float16 MatrixToFloatV(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixTrace(Matrix_0: Matrix,) -> float: + """float MatrixTrace(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixTranslate(float_0: float,float_1: float,float_2: float,) -> Matrix: + """struct Matrix MatrixTranslate(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MatrixTranspose(Matrix_0: Matrix,) -> Matrix: + """struct Matrix MatrixTranspose(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def MaximizeWindow() -> None: + """Set window state: maximized, if resizable (only PLATFORM_DESKTOP)""" + ... +def MeasureText(text: str,fontSize: int,) -> int: + """Measure string width for default font""" + ... +def MeasureTextEx(font: Font,text: str,fontSize: float,spacing: float,) -> Vector2: + """Measure string size for Font""" + ... +def MemAlloc(size: int,) -> Any: + """Internal memory allocator""" + ... +def MemFree(ptr: Any,) -> None: + """Internal memory free""" + ... +def MemRealloc(ptr: Any,size: int,) -> Any: + """Internal memory reallocator""" + ... +def MinimizeWindow() -> None: + """Set window state: minimized, if resizable (only PLATFORM_DESKTOP)""" + ... +NPATCH_NINE_PATCH: int +NPATCH_THREE_PATCH_HORIZONTAL: int +NPATCH_THREE_PATCH_VERTICAL: int +def Normalize(float_0: float,float_1: float,float_2: float,) -> float: + """float Normalize(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def OpenURL(url: str,) -> None: + """Open URL with default system browser (if available)""" + ... +PHYSICS_CIRCLE: int +PHYSICS_POLYGON: int +PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int +PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int +PIXELFORMAT_COMPRESSED_DXT1_RGB: int +PIXELFORMAT_COMPRESSED_DXT1_RGBA: int +PIXELFORMAT_COMPRESSED_DXT3_RGBA: int +PIXELFORMAT_COMPRESSED_DXT5_RGBA: int +PIXELFORMAT_COMPRESSED_ETC1_RGB: int +PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA: int +PIXELFORMAT_COMPRESSED_ETC2_RGB: int +PIXELFORMAT_COMPRESSED_PVRT_RGB: int +PIXELFORMAT_COMPRESSED_PVRT_RGBA: int +PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int +PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int +PIXELFORMAT_UNCOMPRESSED_R16: int +PIXELFORMAT_UNCOMPRESSED_R16G16B16: int +PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int +PIXELFORMAT_UNCOMPRESSED_R32: int +PIXELFORMAT_UNCOMPRESSED_R32G32B32: int +PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int +PIXELFORMAT_UNCOMPRESSED_R4G4B4A4: int +PIXELFORMAT_UNCOMPRESSED_R5G5B5A1: int +PIXELFORMAT_UNCOMPRESSED_R5G6B5: int +PIXELFORMAT_UNCOMPRESSED_R8G8B8: int +PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int +PROGRESSBAR: int +PROGRESS_PADDING: int +def PauseAudioStream(stream: AudioStream,) -> None: + """Pause audio stream""" + ... +def PauseMusicStream(music: Music,) -> None: + """Pause music playing""" + ... +def PauseSound(sound: Sound,) -> None: + """Pause a sound""" + ... +def PhysicsAddForce(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,) -> None: + """void PhysicsAddForce(struct PhysicsBodyData *, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def PhysicsAddTorque(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: + """void PhysicsAddTorque(struct PhysicsBodyData *, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def PhysicsShatter(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,float_2: float,) -> None: + """void PhysicsShatter(struct PhysicsBodyData *, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def PlayAudioStream(stream: AudioStream,) -> None: + """Play audio stream""" + ... +def PlayAutomationEvent(event: AutomationEvent,) -> None: + """Play a recorded automation event""" + ... +def PlayMusicStream(music: Music,) -> None: + """Start music playing""" + ... +def PlaySound(sound: Sound,) -> None: + """Play a sound""" + ... +def PollInputEvents() -> None: + """Register all input events""" + ... +def QuaternionAdd(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionAdd(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionAddValue(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionAddValue(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionDivide(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionDivide(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionEquals(Vector4_0: Vector4,Vector4_1: Vector4,) -> int: + """int QuaternionEquals(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionFromAxisAngle(Vector3_0: Vector3,float_1: float,) -> Vector4: + """struct Vector4 QuaternionFromAxisAngle(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionFromEuler(float_0: float,float_1: float,float_2: float,) -> Vector4: + """struct Vector4 QuaternionFromEuler(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionFromMatrix(Matrix_0: Matrix,) -> Vector4: + """struct Vector4 QuaternionFromMatrix(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionFromVector3ToVector3(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector4: + """struct Vector4 QuaternionFromVector3ToVector3(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionIdentity() -> Vector4: + """struct Vector4 QuaternionIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionInvert(Vector4_0: Vector4,) -> Vector4: + """struct Vector4 QuaternionInvert(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionLength(Vector4_0: Vector4,) -> float: + """float QuaternionLength(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionLerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionLerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionMultiply(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionMultiply(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionNlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionNlerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionNormalize(Vector4_0: Vector4,) -> Vector4: + """struct Vector4 QuaternionNormalize(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionScale(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionScale(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionSlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: + """struct Vector4 QuaternionSlerp(struct Vector4, struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionSubtract(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: + """struct Vector4 QuaternionSubtract(struct Vector4, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionSubtractValue(Vector4_0: Vector4,float_1: float,) -> Vector4: + """struct Vector4 QuaternionSubtractValue(struct Vector4, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionToAxisAngle(Vector4_0: Vector4,Vector3_pointer_1: Any,float_pointer_2: Any,) -> None: + """void QuaternionToAxisAngle(struct Vector4, struct Vector3 *, float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionToEuler(Vector4_0: Vector4,) -> Vector3: + """struct Vector3 QuaternionToEuler(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionToMatrix(Vector4_0: Vector4,) -> Matrix: + """struct Matrix QuaternionToMatrix(struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def QuaternionTransform(Vector4_0: Vector4,Matrix_1: Matrix,) -> Vector4: + """struct Vector4 QuaternionTransform(struct Vector4, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +RL_ATTACHMENT_COLOR_CHANNEL0: int +RL_ATTACHMENT_COLOR_CHANNEL1: int +RL_ATTACHMENT_COLOR_CHANNEL2: int +RL_ATTACHMENT_COLOR_CHANNEL3: int +RL_ATTACHMENT_COLOR_CHANNEL4: int +RL_ATTACHMENT_COLOR_CHANNEL5: int +RL_ATTACHMENT_COLOR_CHANNEL6: int +RL_ATTACHMENT_COLOR_CHANNEL7: int +RL_ATTACHMENT_CUBEMAP_NEGATIVE_X: int +RL_ATTACHMENT_CUBEMAP_NEGATIVE_Y: int +RL_ATTACHMENT_CUBEMAP_NEGATIVE_Z: int +RL_ATTACHMENT_CUBEMAP_POSITIVE_X: int +RL_ATTACHMENT_CUBEMAP_POSITIVE_Y: int +RL_ATTACHMENT_CUBEMAP_POSITIVE_Z: int +RL_ATTACHMENT_DEPTH: int +RL_ATTACHMENT_RENDERBUFFER: int +RL_ATTACHMENT_STENCIL: int +RL_ATTACHMENT_TEXTURE2D: int +RL_BLEND_ADDITIVE: int +RL_BLEND_ADD_COLORS: int +RL_BLEND_ALPHA: int +RL_BLEND_ALPHA_PREMULTIPLY: int +RL_BLEND_CUSTOM: int +RL_BLEND_CUSTOM_SEPARATE: int +RL_BLEND_MULTIPLIED: int +RL_BLEND_SUBTRACT_COLORS: int +RL_CULL_FACE_BACK: int +RL_CULL_FACE_FRONT: int +RL_LOG_ALL: int +RL_LOG_DEBUG: int +RL_LOG_ERROR: int +RL_LOG_FATAL: int +RL_LOG_INFO: int +RL_LOG_NONE: int +RL_LOG_TRACE: int +RL_LOG_WARNING: int +RL_OPENGL_11: int +RL_OPENGL_21: int +RL_OPENGL_33: int +RL_OPENGL_43: int +RL_OPENGL_ES_20: int +RL_OPENGL_ES_30: int +RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int +RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int +RL_PIXELFORMAT_COMPRESSED_DXT1_RGB: int +RL_PIXELFORMAT_COMPRESSED_DXT1_RGBA: int +RL_PIXELFORMAT_COMPRESSED_DXT3_RGBA: int +RL_PIXELFORMAT_COMPRESSED_DXT5_RGBA: int +RL_PIXELFORMAT_COMPRESSED_ETC1_RGB: int +RL_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA: int +RL_PIXELFORMAT_COMPRESSED_ETC2_RGB: int +RL_PIXELFORMAT_COMPRESSED_PVRT_RGB: int +RL_PIXELFORMAT_COMPRESSED_PVRT_RGBA: int +RL_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int +RL_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int +RL_PIXELFORMAT_UNCOMPRESSED_R16: int +RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16: int +RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int +RL_PIXELFORMAT_UNCOMPRESSED_R32: int +RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32: int +RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int +RL_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4: int +RL_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1: int +RL_PIXELFORMAT_UNCOMPRESSED_R5G6B5: int +RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8: int +RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int +RL_SHADER_ATTRIB_FLOAT: int +RL_SHADER_ATTRIB_VEC2: int +RL_SHADER_ATTRIB_VEC3: int +RL_SHADER_ATTRIB_VEC4: int +RL_SHADER_LOC_COLOR_AMBIENT: int +RL_SHADER_LOC_COLOR_DIFFUSE: int +RL_SHADER_LOC_COLOR_SPECULAR: int +RL_SHADER_LOC_MAP_ALBEDO: int +RL_SHADER_LOC_MAP_BRDF: int +RL_SHADER_LOC_MAP_CUBEMAP: int +RL_SHADER_LOC_MAP_EMISSION: int +RL_SHADER_LOC_MAP_HEIGHT: int +RL_SHADER_LOC_MAP_IRRADIANCE: int +RL_SHADER_LOC_MAP_METALNESS: int +RL_SHADER_LOC_MAP_NORMAL: int +RL_SHADER_LOC_MAP_OCCLUSION: int +RL_SHADER_LOC_MAP_PREFILTER: int +RL_SHADER_LOC_MAP_ROUGHNESS: int +RL_SHADER_LOC_MATRIX_MODEL: int +RL_SHADER_LOC_MATRIX_MVP: int +RL_SHADER_LOC_MATRIX_NORMAL: int +RL_SHADER_LOC_MATRIX_PROJECTION: int +RL_SHADER_LOC_MATRIX_VIEW: int +RL_SHADER_LOC_VECTOR_VIEW: int +RL_SHADER_LOC_VERTEX_COLOR: int +RL_SHADER_LOC_VERTEX_NORMAL: int +RL_SHADER_LOC_VERTEX_POSITION: int +RL_SHADER_LOC_VERTEX_TANGENT: int +RL_SHADER_LOC_VERTEX_TEXCOORD01: int +RL_SHADER_LOC_VERTEX_TEXCOORD02: int +RL_SHADER_UNIFORM_FLOAT: int +RL_SHADER_UNIFORM_INT: int +RL_SHADER_UNIFORM_IVEC2: int +RL_SHADER_UNIFORM_IVEC3: int +RL_SHADER_UNIFORM_IVEC4: int +RL_SHADER_UNIFORM_SAMPLER2D: int +RL_SHADER_UNIFORM_VEC2: int +RL_SHADER_UNIFORM_VEC3: int +RL_SHADER_UNIFORM_VEC4: int +RL_TEXTURE_FILTER_ANISOTROPIC_16X: int +RL_TEXTURE_FILTER_ANISOTROPIC_4X: int +RL_TEXTURE_FILTER_ANISOTROPIC_8X: int +RL_TEXTURE_FILTER_BILINEAR: int +RL_TEXTURE_FILTER_POINT: int +RL_TEXTURE_FILTER_TRILINEAR: int +def Remap(float_0: float,float_1: float,float_2: float,float_3: float,float_4: float,) -> float: + """float Remap(float, float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def ResetPhysics() -> None: + """void ResetPhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def RestoreWindow() -> None: + """Set window state: not minimized/maximized (only PLATFORM_DESKTOP)""" + ... +def ResumeAudioStream(stream: AudioStream,) -> None: + """Resume audio stream""" + ... +def ResumeMusicStream(music: Music,) -> None: + """Resume playing paused music""" + ... +def ResumeSound(sound: Sound,) -> None: + """Resume a paused sound""" + ... +SCROLLBAR: int +SCROLLBAR_SIDE: int +SCROLLBAR_WIDTH: int +SCROLL_PADDING: int +SCROLL_SLIDER_PADDING: int +SCROLL_SLIDER_SIZE: int +SCROLL_SPEED: int +SHADER_ATTRIB_FLOAT: int +SHADER_ATTRIB_VEC2: int +SHADER_ATTRIB_VEC3: int +SHADER_ATTRIB_VEC4: int +SHADER_LOC_COLOR_AMBIENT: int +SHADER_LOC_COLOR_DIFFUSE: int +SHADER_LOC_COLOR_SPECULAR: int +SHADER_LOC_MAP_ALBEDO: int +SHADER_LOC_MAP_BRDF: int +SHADER_LOC_MAP_CUBEMAP: int +SHADER_LOC_MAP_EMISSION: int +SHADER_LOC_MAP_HEIGHT: int +SHADER_LOC_MAP_IRRADIANCE: int +SHADER_LOC_MAP_METALNESS: int +SHADER_LOC_MAP_NORMAL: int +SHADER_LOC_MAP_OCCLUSION: int +SHADER_LOC_MAP_PREFILTER: int +SHADER_LOC_MAP_ROUGHNESS: int +SHADER_LOC_MATRIX_MODEL: int +SHADER_LOC_MATRIX_MVP: int +SHADER_LOC_MATRIX_NORMAL: int +SHADER_LOC_MATRIX_PROJECTION: int +SHADER_LOC_MATRIX_VIEW: int +SHADER_LOC_VECTOR_VIEW: int +SHADER_LOC_VERTEX_COLOR: int +SHADER_LOC_VERTEX_NORMAL: int +SHADER_LOC_VERTEX_POSITION: int +SHADER_LOC_VERTEX_TANGENT: int +SHADER_LOC_VERTEX_TEXCOORD01: int +SHADER_LOC_VERTEX_TEXCOORD02: int +SHADER_UNIFORM_FLOAT: int +SHADER_UNIFORM_INT: int +SHADER_UNIFORM_IVEC2: int +SHADER_UNIFORM_IVEC3: int +SHADER_UNIFORM_IVEC4: int +SHADER_UNIFORM_SAMPLER2D: int +SHADER_UNIFORM_VEC2: int +SHADER_UNIFORM_VEC3: int +SHADER_UNIFORM_VEC4: int +SLIDER: int +SLIDER_PADDING: int +SLIDER_WIDTH: int +SPINNER: int +SPIN_BUTTON_SPACING: int +SPIN_BUTTON_WIDTH: int +STATE_DISABLED: int +STATE_FOCUSED: int +STATE_NORMAL: int +STATE_PRESSED: int +STATUSBAR: int +def SaveFileData(fileName: str,data: Any,dataSize: int,) -> bool: + """Save data to file from byte array (write), returns true on success""" + ... +def SaveFileText(fileName: str,text: str,) -> bool: + """Save text data to file (write), string must be '\0' terminated, returns true on success""" + ... +def SeekMusicStream(music: Music,position: float,) -> None: + """Seek music to a position (in seconds)""" + ... +def SetAudioStreamBufferSizeDefault(size: int,) -> None: + """Default size for new audio streams""" + ... +def SetAudioStreamCallback(stream: AudioStream,callback: Any,) -> None: + """Audio thread callback to request new data""" + ... +def SetAudioStreamPan(stream: AudioStream,pan: float,) -> None: + """Set pan for audio stream (0.5 is centered)""" + ... +def SetAudioStreamPitch(stream: AudioStream,pitch: float,) -> None: + """Set pitch for audio stream (1.0 is base level)""" + ... +def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None: + """Set volume for audio stream (1.0 is max level)""" + ... +def SetAutomationEventBaseFrame(frame: int,) -> None: + """Set automation event internal base frame to start recording""" + ... +def SetAutomationEventList(list: Any,) -> None: + """Set automation event list to record to""" + ... +def SetClipboardText(text: str,) -> None: + """Set clipboard text content""" + ... +def SetConfigFlags(flags: int,) -> None: + """Setup init configuration flags (view FLAGS)""" + ... +def SetExitKey(key: int,) -> None: + """Set a custom key to exit program (default is ESC)""" + ... +def SetGamepadMappings(mappings: str,) -> int: + """Set internal gamepad mappings (SDL_GameControllerDB)""" + ... +def SetGesturesEnabled(flags: int,) -> None: + """Enable a set of gestures using flags""" + ... +def SetLoadFileDataCallback(callback: str,) -> None: + """Set custom file binary data loader""" + ... +def SetLoadFileTextCallback(callback: str,) -> None: + """Set custom file text data loader""" + ... +def SetMasterVolume(volume: float,) -> None: + """Set master volume (listener)""" + ... +def SetMaterialTexture(material: Any,mapType: int,texture: Texture,) -> None: + """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)""" + ... +def SetModelMeshMaterial(model: Any,meshId: int,materialId: int,) -> None: + """Set material for a mesh""" + ... +def SetMouseCursor(cursor: int,) -> None: + """Set mouse cursor""" + ... +def SetMouseOffset(offsetX: int,offsetY: int,) -> None: + """Set mouse offset""" + ... +def SetMousePosition(x: int,y: int,) -> None: + """Set mouse position XY""" + ... +def SetMouseScale(scaleX: float,scaleY: float,) -> None: + """Set mouse scaling""" + ... +def SetMusicPan(music: Music,pan: float,) -> None: + """Set pan for a music (0.5 is center)""" + ... +def SetMusicPitch(music: Music,pitch: float,) -> None: + """Set pitch for a music (1.0 is base level)""" + ... +def SetMusicVolume(music: Music,volume: float,) -> None: + """Set volume for music (1.0 is max level)""" + ... +def SetPhysicsBodyRotation(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: + """void SetPhysicsBodyRotation(struct PhysicsBodyData *, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def SetPhysicsGravity(float_0: float,float_1: float,) -> None: + """void SetPhysicsGravity(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def SetPhysicsTimeStep(double_0: float,) -> None: + """void SetPhysicsTimeStep(double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def SetPixelColor(dstPtr: Any,color: Color,format: int,) -> None: + """Set color formatted into destination pixel pointer""" + ... +def SetRandomSeed(seed: int,) -> None: + """Set the seed for the random number generator""" + ... +def SetSaveFileDataCallback(callback: str,) -> None: + """Set custom file binary data saver""" + ... +def SetSaveFileTextCallback(callback: str,) -> None: + """Set custom file text data saver""" + ... +def SetShaderValue(shader: Shader,locIndex: int,value: Any,uniformType: int,) -> None: + """Set shader uniform value""" + ... +def SetShaderValueMatrix(shader: Shader,locIndex: int,mat: Matrix,) -> None: + """Set shader uniform value (matrix 4x4)""" + ... +def SetShaderValueTexture(shader: Shader,locIndex: int,texture: Texture,) -> None: + """Set shader uniform value for texture (sampler2d)""" + ... +def SetShaderValueV(shader: Shader,locIndex: int,value: Any,uniformType: int,count: int,) -> None: + """Set shader uniform value vector""" + ... +def SetShapesTexture(texture: Texture,source: Rectangle,) -> None: + """Set texture and rectangle to be used on shapes drawing""" + ... +def SetSoundPan(sound: Sound,pan: float,) -> None: + """Set pan for a sound (0.5 is center)""" + ... +def SetSoundPitch(sound: Sound,pitch: float,) -> None: + """Set pitch for a sound (1.0 is base level)""" + ... +def SetSoundVolume(sound: Sound,volume: float,) -> None: + """Set volume for a sound (1.0 is max level)""" + ... +def SetTargetFPS(fps: int,) -> None: + """Set target FPS (maximum)""" + ... +def SetTextLineSpacing(spacing: int,) -> None: + """Set vertical line spacing when drawing with line-breaks""" + ... +def SetTextureFilter(texture: Texture,filter: int,) -> None: + """Set texture scaling filter mode""" + ... +def SetTextureWrap(texture: Texture,wrap: int,) -> None: + """Set texture wrapping mode""" + ... +def SetTraceLogCallback(callback: str,) -> None: + """Set custom trace log""" + ... +def SetTraceLogLevel(logLevel: int,) -> None: + """Set the current threshold (minimum) log level""" + ... +def SetWindowFocused() -> None: + """Set window focused (only PLATFORM_DESKTOP)""" + ... +def SetWindowIcon(image: Image,) -> None: + """Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)""" + ... +def SetWindowIcons(images: Any,count: int,) -> None: + """Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)""" + ... +def SetWindowMaxSize(width: int,height: int,) -> None: + """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)""" + ... +def SetWindowMinSize(width: int,height: int,) -> None: + """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)""" + ... +def SetWindowMonitor(monitor: int,) -> None: + """Set monitor for the current window""" + ... +def SetWindowOpacity(opacity: float,) -> None: + """Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)""" + ... +def SetWindowPosition(x: int,y: int,) -> None: + """Set window position on screen (only PLATFORM_DESKTOP)""" + ... +def SetWindowSize(width: int,height: int,) -> None: + """Set window dimensions""" + ... +def SetWindowState(flags: int,) -> None: + """Set window configuration state using flags (only PLATFORM_DESKTOP)""" + ... +def SetWindowTitle(title: str,) -> None: + """Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)""" + ... +def ShowCursor() -> None: + """Shows cursor""" + ... +def StartAutomationEventRecording() -> None: + """Start recording automation events (AutomationEventList must be set)""" + ... +def StopAudioStream(stream: AudioStream,) -> None: + """Stop audio stream""" + ... +def StopAutomationEventRecording() -> None: + """Stop recording automation events""" + ... +def StopMusicStream(music: Music,) -> None: + """Stop music playing""" + ... +def StopSound(sound: Sound,) -> None: + """Stop playing a sound""" + ... +def SwapScreenBuffer() -> None: + """Swap back buffer with front buffer (screen drawing)""" + ... +TEXTBOX: int +TEXTURE_FILTER_ANISOTROPIC_16X: int +TEXTURE_FILTER_ANISOTROPIC_4X: int +TEXTURE_FILTER_ANISOTROPIC_8X: int +TEXTURE_FILTER_BILINEAR: int +TEXTURE_FILTER_POINT: int +TEXTURE_FILTER_TRILINEAR: int +TEXTURE_WRAP_CLAMP: int +TEXTURE_WRAP_MIRROR_CLAMP: int +TEXTURE_WRAP_MIRROR_REPEAT: int +TEXTURE_WRAP_REPEAT: int +TEXT_ALIGNMENT: int +TEXT_ALIGNMENT_VERTICAL: int +TEXT_ALIGN_BOTTOM: int +TEXT_ALIGN_CENTER: int +TEXT_ALIGN_LEFT: int +TEXT_ALIGN_MIDDLE: int +TEXT_ALIGN_RIGHT: int +TEXT_ALIGN_TOP: int +TEXT_COLOR_DISABLED: int +TEXT_COLOR_FOCUSED: int +TEXT_COLOR_NORMAL: int +TEXT_COLOR_PRESSED: int +TEXT_LINE_SPACING: int +TEXT_PADDING: int +TEXT_READONLY: int +TEXT_SIZE: int +TEXT_SPACING: int +TEXT_WRAP_CHAR: int +TEXT_WRAP_MODE: int +TEXT_WRAP_NONE: int +TEXT_WRAP_WORD: int +TOGGLE: int +def TakeScreenshot(fileName: str,) -> None: + """Takes a screenshot of current screen (filename extension defines format)""" + ... +def TextAppend(text: str,append: str,position: Any,) -> None: + """Append text at specific position and move cursor!""" + ... +def TextCopy(dst: str,src: str,) -> int: + """Copy one string to another, returns bytes copied""" + ... +def TextFindIndex(text: str,find: str,) -> int: + """Find first text occurrence within a string""" + ... +def TextFormat(*args) -> str: + """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" + ... +def TextInsert(text: str,insert: str,position: int,) -> str: + """Insert text in a position (WARNING: memory must be freed!)""" + ... +def TextIsEqual(text1: str,text2: str,) -> bool: + """Check if two text string are equal""" + ... +def TextJoin(textList: str,count: int,delimiter: str,) -> str: + """Join text strings with delimiter""" + ... +def TextLength(text: str,) -> int: + """Get text length, checks for '\0' ending""" + ... +def TextReplace(text: str,replace: str,by: str,) -> str: + """Replace text string (WARNING: memory must be freed!)""" + ... +def TextSplit(text: str,delimiter: str,count: Any,) -> str: + """Split text into multiple strings""" + ... +def TextSubtext(text: str,position: int,length: int,) -> str: + """Get a piece of a text string""" + ... +def TextToInteger(text: str,) -> int: + """Get integer value from text (negative values not supported)""" + ... +def TextToLower(text: str,) -> str: + """Get lower case version of provided string""" + ... +def TextToPascal(text: str,) -> str: + """Get Pascal case notation version of provided string""" + ... +def TextToUpper(text: str,) -> str: + """Get upper case version of provided string""" + ... +def ToggleBorderlessWindowed() -> None: + """Toggle window state: borderless windowed (only PLATFORM_DESKTOP)""" + ... +def ToggleFullscreen() -> None: + """Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)""" + ... +def TraceLog(*args) -> None: + """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" + ... +def UnloadAudioStream(stream: AudioStream,) -> None: + """Unload audio stream and free memory""" + ... +def UnloadAutomationEventList(list: Any,) -> None: + """Unload automation events list from file""" + ... +def UnloadCodepoints(codepoints: Any,) -> None: + """Unload codepoints data from memory""" + ... +def UnloadDirectoryFiles(files: FilePathList,) -> None: + """Unload filepaths""" + ... +def UnloadDroppedFiles(files: FilePathList,) -> None: + """Unload dropped filepaths""" + ... +def UnloadFileData(data: str,) -> None: + """Unload file data allocated by LoadFileData()""" + ... +def UnloadFileText(text: str,) -> None: + """Unload file text data allocated by LoadFileText()""" + ... +def UnloadFont(font: Font,) -> None: + """Unload font from GPU memory (VRAM)""" + ... +def UnloadFontData(glyphs: Any,glyphCount: int,) -> None: + """Unload font chars info data (RAM)""" + ... +def UnloadImage(image: Image,) -> None: + """Unload image from CPU memory (RAM)""" + ... +def UnloadImageColors(colors: Any,) -> None: + """Unload color data loaded with LoadImageColors()""" + ... +def UnloadImagePalette(colors: Any,) -> None: + """Unload colors palette loaded with LoadImagePalette()""" + ... +def UnloadMaterial(material: Material,) -> None: + """Unload material from GPU memory (VRAM)""" + ... +def UnloadMesh(mesh: Mesh,) -> None: + """Unload mesh data from CPU and GPU""" + ... +def UnloadModel(model: Model,) -> None: + """Unload model (including meshes) from memory (RAM and/or VRAM)""" + ... +def UnloadModelAnimation(anim: ModelAnimation,) -> None: + """Unload animation data""" + ... +def UnloadModelAnimations(animations: Any,animCount: int,) -> None: + """Unload animation array data""" + ... +def UnloadMusicStream(music: Music,) -> None: + """Unload music stream""" + ... +def UnloadRandomSequence(sequence: Any,) -> None: + """Unload random values sequence""" + ... +def UnloadRenderTexture(target: RenderTexture,) -> None: + """Unload render texture from GPU memory (VRAM)""" + ... +def UnloadShader(shader: Shader,) -> None: + """Unload shader from GPU memory (VRAM)""" + ... +def UnloadSound(sound: Sound,) -> None: + """Unload sound""" + ... +def UnloadSoundAlias(alias: Sound,) -> None: + """Unload a sound alias (does not deallocate sample data)""" + ... +def UnloadTexture(texture: Texture,) -> None: + """Unload texture from GPU memory (VRAM)""" + ... +def UnloadUTF8(text: str,) -> None: + """Unload UTF-8 text encoded from codepoints array""" + ... +def UnloadVrStereoConfig(config: VrStereoConfig,) -> None: + """Unload VR stereo config""" + ... +def UnloadWave(wave: Wave,) -> None: + """Unload wave data""" + ... +def UnloadWaveSamples(samples: Any,) -> None: + """Unload samples data loaded with LoadWaveSamples()""" + ... +def UpdateAudioStream(stream: AudioStream,data: Any,frameCount: int,) -> None: + """Update audio stream buffers with data""" + ... +def UpdateCamera(camera: Any,mode: int,) -> None: + """Update camera position for selected mode""" + ... +def UpdateCameraPro(camera: Any,movement: Vector3,rotation: Vector3,zoom: float,) -> None: + """Update camera movement/rotation""" + ... +def UpdateMeshBuffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,) -> None: + """Update mesh vertex data in GPU for a specific buffer index""" + ... +def UpdateModelAnimation(model: Model,anim: ModelAnimation,frame: int,) -> None: + """Update model animation pose""" + ... +def UpdateMusicStream(music: Music,) -> None: + """Updates buffers for music streaming""" + ... +def UpdatePhysics() -> None: + """void UpdatePhysics(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def UpdateSound(sound: Sound,data: Any,sampleCount: int,) -> None: + """Update sound buffer with new data""" + ... +def UpdateTexture(texture: Texture,pixels: Any,) -> None: + """Update GPU texture with new data""" + ... +def UpdateTextureRec(texture: Texture,rec: Rectangle,pixels: Any,) -> None: + """Update GPU texture rectangle with new data""" + ... +def UploadMesh(mesh: Any,dynamic: bool,) -> None: + """Upload mesh vertex data in GPU and provide VAO/VBO ids""" + ... +VALUEBOX: int +def Vector2Add(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Add(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2AddValue(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2AddValue(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2Angle(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Clamp(Vector2_0: Vector2,Vector2_1: Vector2,Vector2_2: Vector2,) -> Vector2: + """struct Vector2 Vector2Clamp(struct Vector2, struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2ClampValue(Vector2_0: Vector2,float_1: float,float_2: float,) -> Vector2: + """struct Vector2 Vector2ClampValue(struct Vector2, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Distance(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2Distance(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2DistanceSqr(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2DistanceSqr(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Divide(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Divide(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2DotProduct(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2DotProduct(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Equals(Vector2_0: Vector2,Vector2_1: Vector2,) -> int: + """int Vector2Equals(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Invert(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Invert(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Length(Vector2_0: Vector2,) -> float: + """float Vector2Length(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2LengthSqr(Vector2_0: Vector2,) -> float: + """float Vector2LengthSqr(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Lerp(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: + """struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2LineAngle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: + """float Vector2LineAngle(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2MoveTowards(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: + """struct Vector2 Vector2MoveTowards(struct Vector2, struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Multiply(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Multiply(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Negate(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Negate(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Normalize(Vector2_0: Vector2,) -> Vector2: + """struct Vector2 Vector2Normalize(struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2One() -> Vector2: + """struct Vector2 Vector2One(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Reflect(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Reflect(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Rotate(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2Rotate(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Scale(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2Scale(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Subtract(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: + """struct Vector2 Vector2Subtract(struct Vector2, struct Vector2); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2SubtractValue(Vector2_0: Vector2,float_1: float,) -> Vector2: + """struct Vector2 Vector2SubtractValue(struct Vector2, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Transform(Vector2_0: Vector2,Matrix_1: Matrix,) -> Vector2: + """struct Vector2 Vector2Transform(struct Vector2, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector2Zero() -> Vector2: + """struct Vector2 Vector2Zero(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Add(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Add(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3AddValue(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3AddValue(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Angle(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3Angle(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Barycenter(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,Vector3_3: Vector3,) -> Vector3: + """struct Vector3 Vector3Barycenter(struct Vector3, struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Clamp(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Vector3: + """struct Vector3 Vector3Clamp(struct Vector3, struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3ClampValue(Vector3_0: Vector3,float_1: float,float_2: float,) -> Vector3: + """struct Vector3 Vector3ClampValue(struct Vector3, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3CrossProduct(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3CrossProduct(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Distance(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3Distance(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3DistanceSqr(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3DistanceSqr(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Divide(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Divide(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3DotProduct(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: + """float Vector3DotProduct(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Equals(Vector3_0: Vector3,Vector3_1: Vector3,) -> int: + """int Vector3Equals(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Invert(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Invert(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Length(Vector3_0: Vector3,) -> float: + """float Vector3Length(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3LengthSqr(Vector3_0: Vector3,) -> float: + """float Vector3LengthSqr(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Lerp(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3Lerp(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Max(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Max(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Min(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Min(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Multiply(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Multiply(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Negate(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Negate(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Normalize(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Normalize(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3One() -> Vector3: + """struct Vector3 Vector3One(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3OrthoNormalize(Vector3_pointer_0: Any,Vector3_pointer_1: Any,) -> None: + """void Vector3OrthoNormalize(struct Vector3 *, struct Vector3 *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Perpendicular(Vector3_0: Vector3,) -> Vector3: + """struct Vector3 Vector3Perpendicular(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Project(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Reflect(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Reject(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3RotateByAxisAngle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: + """struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3RotateByQuaternion(Vector3_0: Vector3,Vector4_1: Vector4,) -> Vector3: + """struct Vector3 Vector3RotateByQuaternion(struct Vector3, struct Vector4); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Scale(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3Scale(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Subtract(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: + """struct Vector3 Vector3Subtract(struct Vector3, struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3SubtractValue(Vector3_0: Vector3,float_1: float,) -> Vector3: + """struct Vector3 Vector3SubtractValue(struct Vector3, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3ToFloatV(Vector3_0: Vector3,) -> float3: + """struct float3 Vector3ToFloatV(struct Vector3); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Transform(Vector3_0: Vector3,Matrix_1: Matrix,) -> Vector3: + """struct Vector3 Vector3Transform(struct Vector3, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Unproject(Vector3_0: Vector3,Matrix_1: Matrix,Matrix_2: Matrix,) -> Vector3: + """struct Vector3 Vector3Unproject(struct Vector3, struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def Vector3Zero() -> Vector3: + """struct Vector3 Vector3Zero(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def WaitTime(seconds: float,) -> None: + """Wait for some time (halt program execution)""" + ... +def WaveCopy(wave: Wave,) -> Wave: + """Copy a wave to a new wave""" + ... +def WaveCrop(wave: Any,initSample: int,finalSample: int,) -> None: + """Crop a wave to defined samples range""" + ... +def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None: + """Convert wave data to desired format""" + ... +def WindowShouldClose() -> bool: + """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" + ... +def Wrap(float_0: float,float_1: float,float_2: float,) -> float: + """float Wrap(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlActiveDrawBuffers(int_0: int,) -> None: + """void rlActiveDrawBuffers(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlActiveTextureSlot(int_0: int,) -> None: + """void rlActiveTextureSlot(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlBegin(int_0: int,) -> None: + """void rlBegin(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlBindImageTexture(unsignedint_0: int,unsignedint_1: int,int_2: int,_Bool_3: bool,) -> None: + """void rlBindImageTexture(unsigned int, unsigned int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlBindShaderBuffer(unsignedint_0: int,unsignedint_1: int,) -> None: + """void rlBindShaderBuffer(unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlBlitFramebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None: + """void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlCheckErrors() -> None: + """void rlCheckErrors(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlCheckRenderBatchLimit(int_0: int,) -> bool: + """_Bool rlCheckRenderBatchLimit(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlClearColor(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: + """void rlClearColor(unsigned char, unsigned char, unsigned char, unsigned char); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlClearScreenBuffers() -> None: + """void rlClearScreenBuffers(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlColor3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlColor3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlColor4f(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: + """void rlColor4f(float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlColor4ub(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: + """void rlColor4ub(unsigned char, unsigned char, unsigned char, unsigned char); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlCompileShader(str_0: str,int_1: int,) -> int: + """unsigned int rlCompileShader(char *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlComputeShaderDispatch(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,) -> None: + """void rlComputeShaderDispatch(unsigned int, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlCopyShaderBuffer(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,unsignedint_3: int,unsignedint_4: int,) -> None: + """void rlCopyShaderBuffer(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlCubemapParameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: + """void rlCubemapParameters(unsigned int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableBackfaceCulling() -> None: + """void rlDisableBackfaceCulling(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableColorBlend() -> None: + """void rlDisableColorBlend(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableDepthMask() -> None: + """void rlDisableDepthMask(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableDepthTest() -> None: + """void rlDisableDepthTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableFramebuffer() -> None: + """void rlDisableFramebuffer(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableScissorTest() -> None: + """void rlDisableScissorTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableShader() -> None: + """void rlDisableShader(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableSmoothLines() -> None: + """void rlDisableSmoothLines(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableStereoRender() -> None: + """void rlDisableStereoRender(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableTexture() -> None: + """void rlDisableTexture(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableTextureCubemap() -> None: + """void rlDisableTextureCubemap(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableVertexArray() -> None: + """void rlDisableVertexArray(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableVertexAttribute(unsignedint_0: int,) -> None: + """void rlDisableVertexAttribute(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableVertexBuffer() -> None: + """void rlDisableVertexBuffer(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableVertexBufferElement() -> None: + """void rlDisableVertexBufferElement(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDisableWireMode() -> None: + """void rlDisableWireMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawRenderBatch(rlRenderBatch_pointer_0: Any,) -> None: + """void rlDrawRenderBatch(struct rlRenderBatch *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawRenderBatchActive() -> None: + """void rlDrawRenderBatchActive(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawVertexArray(int_0: int,int_1: int,) -> None: + """void rlDrawVertexArray(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawVertexArrayElements(int_0: int,int_1: int,void_pointer_2: Any,) -> None: + """void rlDrawVertexArrayElements(int, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawVertexArrayElementsInstanced(int_0: int,int_1: int,void_pointer_2: Any,int_3: int,) -> None: + """void rlDrawVertexArrayElementsInstanced(int, int, void *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlDrawVertexArrayInstanced(int_0: int,int_1: int,int_2: int,) -> None: + """void rlDrawVertexArrayInstanced(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableBackfaceCulling() -> None: + """void rlEnableBackfaceCulling(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableColorBlend() -> None: + """void rlEnableColorBlend(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableDepthMask() -> None: + """void rlEnableDepthMask(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableDepthTest() -> None: + """void rlEnableDepthTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableFramebuffer(unsignedint_0: int,) -> None: + """void rlEnableFramebuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnablePointMode() -> None: + """void rlEnablePointMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableScissorTest() -> None: + """void rlEnableScissorTest(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableShader(unsignedint_0: int,) -> None: + """void rlEnableShader(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableSmoothLines() -> None: + """void rlEnableSmoothLines(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableStereoRender() -> None: + """void rlEnableStereoRender(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableTexture(unsignedint_0: int,) -> None: + """void rlEnableTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableTextureCubemap(unsignedint_0: int,) -> None: + """void rlEnableTextureCubemap(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableVertexArray(unsignedint_0: int,) -> bool: + """_Bool rlEnableVertexArray(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableVertexAttribute(unsignedint_0: int,) -> None: + """void rlEnableVertexAttribute(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableVertexBuffer(unsignedint_0: int,) -> None: + """void rlEnableVertexBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableVertexBufferElement(unsignedint_0: int,) -> None: + """void rlEnableVertexBufferElement(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnableWireMode() -> None: + """void rlEnableWireMode(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlEnd() -> None: + """void rlEnd(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlFramebufferAttach(unsignedint_0: int,unsignedint_1: int,int_2: int,int_3: int,int_4: int,) -> None: + """void rlFramebufferAttach(unsigned int, unsigned int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlFramebufferComplete(unsignedint_0: int,) -> bool: + """_Bool rlFramebufferComplete(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlFrustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: + """void rlFrustum(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGenTextureMipmaps(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_pointer_4: Any,) -> None: + """void rlGenTextureMipmaps(unsigned int, int, int, int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetFramebufferHeight() -> int: + """int rlGetFramebufferHeight(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetFramebufferWidth() -> int: + """int rlGetFramebufferWidth(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetGlTextureFormats(int_0: int,unsignedint_pointer_1: Any,unsignedint_pointer_2: Any,unsignedint_pointer_3: Any,) -> None: + """void rlGetGlTextureFormats(int, unsigned int *, unsigned int *, unsigned int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetLineWidth() -> float: + """float rlGetLineWidth(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetLocationAttrib(unsignedint_0: int,str_1: str,) -> int: + """int rlGetLocationAttrib(unsigned int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetLocationUniform(unsignedint_0: int,str_1: str,) -> int: + """int rlGetLocationUniform(unsigned int, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetMatrixModelview() -> Matrix: + """struct Matrix rlGetMatrixModelview(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetMatrixProjection() -> Matrix: + """struct Matrix rlGetMatrixProjection(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetMatrixProjectionStereo(int_0: int,) -> Matrix: + """struct Matrix rlGetMatrixProjectionStereo(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetMatrixTransform() -> Matrix: + """struct Matrix rlGetMatrixTransform(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetMatrixViewOffsetStereo(int_0: int,) -> Matrix: + """struct Matrix rlGetMatrixViewOffsetStereo(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetPixelFormatName(unsignedint_0: int,) -> str: + """char *rlGetPixelFormatName(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetShaderBufferSize(unsignedint_0: int,) -> int: + """unsigned int rlGetShaderBufferSize(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetShaderIdDefault() -> int: + """unsigned int rlGetShaderIdDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetShaderLocsDefault() -> Any: + """int *rlGetShaderLocsDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetTextureIdDefault() -> int: + """unsigned int rlGetTextureIdDefault(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlGetVersion() -> int: + """int rlGetVersion(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlIsStereoRenderEnabled() -> bool: + """_Bool rlIsStereoRenderEnabled(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadComputeShaderProgram(unsignedint_0: int,) -> int: + """unsigned int rlLoadComputeShaderProgram(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadDrawCube() -> None: + """void rlLoadDrawCube(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadDrawQuad() -> None: + """void rlLoadDrawQuad(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadExtensions(void_pointer_0: Any,) -> None: + """void rlLoadExtensions(void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadFramebuffer(int_0: int,int_1: int,) -> int: + """unsigned int rlLoadFramebuffer(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadIdentity() -> None: + """void rlLoadIdentity(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadRenderBatch(int_0: int,int_1: int,) -> rlRenderBatch: + """struct rlRenderBatch rlLoadRenderBatch(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,) -> int: + """unsigned int rlLoadShaderBuffer(unsigned int, void *, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadShaderCode(str_0: str,str_1: str,) -> int: + """unsigned int rlLoadShaderCode(char *, char *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadShaderProgram(unsignedint_0: int,unsignedint_1: int,) -> int: + """unsigned int rlLoadShaderProgram(unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadTexture(void_pointer_0: Any,int_1: int,int_2: int,int_3: int,int_4: int,) -> int: + """unsigned int rlLoadTexture(void *, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadTextureCubemap(void_pointer_0: Any,int_1: int,int_2: int,) -> int: + """unsigned int rlLoadTextureCubemap(void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadTextureDepth(int_0: int,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadTextureDepth(int, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadVertexArray() -> int: + """unsigned int rlLoadVertexArray(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadVertexBuffer(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadVertexBuffer(void *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlLoadVertexBufferElement(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: + """unsigned int rlLoadVertexBufferElement(void *, int, _Bool); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlMatrixMode(int_0: int,) -> None: + """void rlMatrixMode(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlMultMatrixf(float_pointer_0: Any,) -> None: + """void rlMultMatrixf(float *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlNormal3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlNormal3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlOrtho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: + """void rlOrtho(double, double, double, double, double, double); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlPopMatrix() -> None: + """void rlPopMatrix(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlPushMatrix() -> None: + """void rlPushMatrix(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlReadScreenPixels(int_0: int,int_1: int,) -> str: + """unsigned char *rlReadScreenPixels(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlReadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: + """void rlReadShaderBuffer(unsigned int, void *, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlReadTexturePixels(unsignedint_0: int,int_1: int,int_2: int,int_3: int,) -> Any: + """void *rlReadTexturePixels(unsigned int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlRotatef(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: + """void rlRotatef(float, float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlScalef(float_0: float,float_1: float,float_2: float,) -> None: + """void rlScalef(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlScissor(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: + """void rlScissor(int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetBlendFactors(int_0: int,int_1: int,int_2: int,) -> None: + """void rlSetBlendFactors(int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetBlendFactorsSeparate(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,) -> None: + """void rlSetBlendFactorsSeparate(int, int, int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetBlendMode(int_0: int,) -> None: + """void rlSetBlendMode(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetCullFace(int_0: int,) -> None: + """void rlSetCullFace(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetFramebufferHeight(int_0: int,) -> None: + """void rlSetFramebufferHeight(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetFramebufferWidth(int_0: int,) -> None: + """void rlSetFramebufferWidth(int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetLineWidth(float_0: float,) -> None: + """void rlSetLineWidth(float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetMatrixModelview(Matrix_0: Matrix,) -> None: + """void rlSetMatrixModelview(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetMatrixProjection(Matrix_0: Matrix,) -> None: + """void rlSetMatrixProjection(struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetMatrixProjectionStereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: + """void rlSetMatrixProjectionStereo(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetMatrixViewOffsetStereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: + """void rlSetMatrixViewOffsetStereo(struct Matrix, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetRenderBatchActive(rlRenderBatch_pointer_0: Any,) -> None: + """void rlSetRenderBatchActive(struct rlRenderBatch *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetShader(unsignedint_0: int,int_pointer_1: Any,) -> None: + """void rlSetShader(unsigned int, int *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetTexture(unsignedint_0: int,) -> None: + """void rlSetTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetUniform(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlSetUniform(int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetUniformMatrix(int_0: int,Matrix_1: Matrix,) -> None: + """void rlSetUniformMatrix(int, struct Matrix); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetUniformSampler(int_0: int,unsignedint_1: int,) -> None: + """void rlSetUniformSampler(int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetVertexAttribute(unsignedint_0: int,int_1: int,int_2: int,_Bool_3: bool,int_4: int,void_pointer_5: Any,) -> None: + """void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetVertexAttributeDefault(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlSetVertexAttributeDefault(int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlSetVertexAttributeDivisor(unsignedint_0: int,int_1: int,) -> None: + """void rlSetVertexAttributeDivisor(unsigned int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlTexCoord2f(float_0: float,float_1: float,) -> None: + """void rlTexCoord2f(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlTextureParameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: + """void rlTextureParameters(unsigned int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlTranslatef(float_0: float,float_1: float,float_2: float,) -> None: + """void rlTranslatef(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadFramebuffer(unsignedint_0: int,) -> None: + """void rlUnloadFramebuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadRenderBatch(rlRenderBatch_0: rlRenderBatch,) -> None: + """void rlUnloadRenderBatch(struct rlRenderBatch); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadShaderBuffer(unsignedint_0: int,) -> None: + """void rlUnloadShaderBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadShaderProgram(unsignedint_0: int,) -> None: + """void rlUnloadShaderProgram(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadTexture(unsignedint_0: int,) -> None: + """void rlUnloadTexture(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadVertexArray(unsignedint_0: int,) -> None: + """void rlUnloadVertexArray(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUnloadVertexBuffer(unsignedint_0: int,) -> None: + """void rlUnloadVertexBuffer(unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUpdateShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: + """void rlUpdateShaderBuffer(unsigned int, void *, unsigned int, unsigned int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUpdateTexture(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,void_pointer_6: Any,) -> None: + """void rlUpdateTexture(unsigned int, int, int, int, int, int, void *); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUpdateVertexBuffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlUpdateVertexBuffer(unsigned int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlUpdateVertexBufferElements(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: + """void rlUpdateVertexBufferElements(unsigned int, void *, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlVertex2f(float_0: float,float_1: float,) -> None: + """void rlVertex2f(float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlVertex2i(int_0: int,int_1: int,) -> None: + """void rlVertex2i(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlVertex3f(float_0: float,float_1: float,float_2: float,) -> None: + """void rlVertex3f(float, float, float); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlViewport(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: + """void rlViewport(int, int, int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlglClose() -> None: + """void rlglClose(); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +def rlglInit(int_0: int,int_1: int,) -> None: + """void rlglInit(int, int); + +CFFI C function from raylib._raylib_cffi.lib""" + ... +AudioStream: struct +AutomationEvent: struct +AutomationEventList: struct +BlendMode: int +BoneInfo: struct +BoundingBox: struct +Camera: struct +Camera2D: struct +Camera3D: struct +CameraMode: int +CameraProjection: int +Color: struct +ConfigFlags: int +CubemapLayout: int +FilePathList: struct +Font: struct +FontType: int +GamepadAxis: int +GamepadButton: int +Gesture: int +GlyphInfo: struct +GuiCheckBoxProperty: int +GuiColorPickerProperty: int +GuiComboBoxProperty: int +GuiControl: int +GuiControlProperty: int +GuiDefaultProperty: int +GuiDropdownBoxProperty: int +GuiIconName: int +GuiListViewProperty: int +GuiProgressBarProperty: int +GuiScrollBarProperty: int +GuiSliderProperty: int +GuiSpinnerProperty: int +GuiState: int +GuiStyleProp: struct +GuiTextAlignment: int +GuiTextAlignmentVertical: int +GuiTextBoxProperty: int +GuiTextWrapMode: int +GuiToggleProperty: int +Image: struct +KeyboardKey: int +Material: struct +MaterialMap: struct +MaterialMapIndex: int +Matrix: struct +Matrix2x2: struct +Mesh: struct +Model: struct +ModelAnimation: struct +MouseButton: int +MouseCursor: int +Music: struct +NPatchInfo: struct +NPatchLayout: int +PhysicsBodyData: struct +PhysicsManifoldData: struct +PhysicsShape: struct +PhysicsShapeType: int +PhysicsVertexData: struct +PixelFormat: int +Quaternion: struct +Ray: struct +RayCollision: struct +Rectangle: struct +RenderTexture: struct +RenderTexture2D: struct +Shader: struct +ShaderAttributeDataType: int +ShaderLocationIndex: int +ShaderUniformDataType: int +Sound: struct +Texture: struct +Texture2D: struct +TextureCubemap: struct +TextureFilter: int +TextureWrap: int +TraceLogLevel: int +Transform: struct +Vector2: struct +Vector3: struct +Vector4: struct +VrDeviceInfo: struct +VrStereoConfig: struct +Wave: struct +float16: struct +float3: struct +rAudioBuffer: struct +rAudioProcessor: struct +rlBlendMode: int +rlCullMode: int +rlDrawCall: struct +rlFramebufferAttachTextureType: int +rlFramebufferAttachType: int +rlGlVersion: int +rlPixelFormat: int +rlRenderBatch: struct +rlShaderAttributeDataType: int +rlShaderLocationIndex: int +rlShaderUniformDataType: int +rlTextureFilter: int +rlTraceLogLevel: int +rlVertexBuffer: struct # Copyright (c) 2021 Richard Smith and others # # This program and the accompanying materials are made available under the diff --git a/raylib/enums.py b/raylib/enums.py index e69de29..1e66663 100644 --- a/raylib/enums.py +++ b/raylib/enums.py @@ -0,0 +1,714 @@ +from enum import IntEnum + +class ConfigFlags(IntEnum): + FLAG_VSYNC_HINT = 64 + FLAG_FULLSCREEN_MODE = 2 + FLAG_WINDOW_RESIZABLE = 4 + FLAG_WINDOW_UNDECORATED = 8 + FLAG_WINDOW_HIDDEN = 128 + FLAG_WINDOW_MINIMIZED = 512 + FLAG_WINDOW_MAXIMIZED = 1024 + FLAG_WINDOW_UNFOCUSED = 2048 + FLAG_WINDOW_TOPMOST = 4096 + FLAG_WINDOW_ALWAYS_RUN = 256 + FLAG_WINDOW_TRANSPARENT = 16 + FLAG_WINDOW_HIGHDPI = 8192 + FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384 + FLAG_BORDERLESS_WINDOWED_MODE = 32768 + FLAG_MSAA_4X_HINT = 32 + FLAG_INTERLACED_HINT = 65536 + +class TraceLogLevel(IntEnum): + LOG_ALL = 0 + LOG_TRACE = 1 + LOG_DEBUG = 2 + LOG_INFO = 3 + LOG_WARNING = 4 + LOG_ERROR = 5 + LOG_FATAL = 6 + LOG_NONE = 7 + +class KeyboardKey(IntEnum): + KEY_NULL = 0 + KEY_APOSTROPHE = 39 + KEY_COMMA = 44 + KEY_MINUS = 45 + KEY_PERIOD = 46 + KEY_SLASH = 47 + KEY_ZERO = 48 + KEY_ONE = 49 + KEY_TWO = 50 + KEY_THREE = 51 + KEY_FOUR = 52 + KEY_FIVE = 53 + KEY_SIX = 54 + KEY_SEVEN = 55 + KEY_EIGHT = 56 + KEY_NINE = 57 + KEY_SEMICOLON = 59 + KEY_EQUAL = 61 + KEY_A = 65 + KEY_B = 66 + KEY_C = 67 + KEY_D = 68 + KEY_E = 69 + KEY_F = 70 + KEY_G = 71 + KEY_H = 72 + KEY_I = 73 + KEY_J = 74 + KEY_K = 75 + KEY_L = 76 + KEY_M = 77 + KEY_N = 78 + KEY_O = 79 + KEY_P = 80 + KEY_Q = 81 + KEY_R = 82 + KEY_S = 83 + KEY_T = 84 + KEY_U = 85 + KEY_V = 86 + KEY_W = 87 + KEY_X = 88 + KEY_Y = 89 + KEY_Z = 90 + KEY_LEFT_BRACKET = 91 + KEY_BACKSLASH = 92 + KEY_RIGHT_BRACKET = 93 + KEY_GRAVE = 96 + KEY_SPACE = 32 + KEY_ESCAPE = 256 + KEY_ENTER = 257 + KEY_TAB = 258 + KEY_BACKSPACE = 259 + KEY_INSERT = 260 + KEY_DELETE = 261 + KEY_RIGHT = 262 + KEY_LEFT = 263 + KEY_DOWN = 264 + KEY_UP = 265 + KEY_PAGE_UP = 266 + KEY_PAGE_DOWN = 267 + KEY_HOME = 268 + KEY_END = 269 + KEY_CAPS_LOCK = 280 + KEY_SCROLL_LOCK = 281 + KEY_NUM_LOCK = 282 + KEY_PRINT_SCREEN = 283 + KEY_PAUSE = 284 + KEY_F1 = 290 + KEY_F2 = 291 + KEY_F3 = 292 + KEY_F4 = 293 + KEY_F5 = 294 + KEY_F6 = 295 + KEY_F7 = 296 + KEY_F8 = 297 + KEY_F9 = 298 + KEY_F10 = 299 + KEY_F11 = 300 + KEY_F12 = 301 + KEY_LEFT_SHIFT = 340 + KEY_LEFT_CONTROL = 341 + KEY_LEFT_ALT = 342 + KEY_LEFT_SUPER = 343 + KEY_RIGHT_SHIFT = 344 + KEY_RIGHT_CONTROL = 345 + KEY_RIGHT_ALT = 346 + KEY_RIGHT_SUPER = 347 + KEY_KB_MENU = 348 + KEY_KP_0 = 320 + KEY_KP_1 = 321 + KEY_KP_2 = 322 + KEY_KP_3 = 323 + KEY_KP_4 = 324 + KEY_KP_5 = 325 + KEY_KP_6 = 326 + KEY_KP_7 = 327 + KEY_KP_8 = 328 + KEY_KP_9 = 329 + KEY_KP_DECIMAL = 330 + KEY_KP_DIVIDE = 331 + KEY_KP_MULTIPLY = 332 + KEY_KP_SUBTRACT = 333 + KEY_KP_ADD = 334 + KEY_KP_ENTER = 335 + KEY_KP_EQUAL = 336 + KEY_BACK = 4 + KEY_MENU = 82 + KEY_VOLUME_UP = 24 + KEY_VOLUME_DOWN = 25 + +class MouseButton(IntEnum): + MOUSE_BUTTON_LEFT = 0 + MOUSE_BUTTON_RIGHT = 1 + MOUSE_BUTTON_MIDDLE = 2 + MOUSE_BUTTON_SIDE = 3 + MOUSE_BUTTON_EXTRA = 4 + MOUSE_BUTTON_FORWARD = 5 + MOUSE_BUTTON_BACK = 6 + +class MouseCursor(IntEnum): + MOUSE_CURSOR_DEFAULT = 0 + MOUSE_CURSOR_ARROW = 1 + MOUSE_CURSOR_IBEAM = 2 + MOUSE_CURSOR_CROSSHAIR = 3 + MOUSE_CURSOR_POINTING_HAND = 4 + MOUSE_CURSOR_RESIZE_EW = 5 + MOUSE_CURSOR_RESIZE_NS = 6 + MOUSE_CURSOR_RESIZE_NWSE = 7 + MOUSE_CURSOR_RESIZE_NESW = 8 + MOUSE_CURSOR_RESIZE_ALL = 9 + MOUSE_CURSOR_NOT_ALLOWED = 10 + +class GamepadButton(IntEnum): + GAMEPAD_BUTTON_UNKNOWN = 0 + GAMEPAD_BUTTON_LEFT_FACE_UP = 1 + GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2 + GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3 + GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4 + GAMEPAD_BUTTON_RIGHT_FACE_UP = 5 + GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 + GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7 + GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 + GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9 + GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10 + GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 + GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12 + GAMEPAD_BUTTON_MIDDLE_LEFT = 13 + GAMEPAD_BUTTON_MIDDLE = 14 + GAMEPAD_BUTTON_MIDDLE_RIGHT = 15 + GAMEPAD_BUTTON_LEFT_THUMB = 16 + GAMEPAD_BUTTON_RIGHT_THUMB = 17 + +class GamepadAxis(IntEnum): + GAMEPAD_AXIS_LEFT_X = 0 + GAMEPAD_AXIS_LEFT_Y = 1 + GAMEPAD_AXIS_RIGHT_X = 2 + GAMEPAD_AXIS_RIGHT_Y = 3 + GAMEPAD_AXIS_LEFT_TRIGGER = 4 + GAMEPAD_AXIS_RIGHT_TRIGGER = 5 + +class MaterialMapIndex(IntEnum): + MATERIAL_MAP_ALBEDO = 0 + MATERIAL_MAP_METALNESS = 1 + MATERIAL_MAP_NORMAL = 2 + MATERIAL_MAP_ROUGHNESS = 3 + MATERIAL_MAP_OCCLUSION = 4 + MATERIAL_MAP_EMISSION = 5 + MATERIAL_MAP_HEIGHT = 6 + MATERIAL_MAP_CUBEMAP = 7 + MATERIAL_MAP_IRRADIANCE = 8 + MATERIAL_MAP_PREFILTER = 9 + MATERIAL_MAP_BRDF = 10 + +class ShaderLocationIndex(IntEnum): + SHADER_LOC_VERTEX_POSITION = 0 + SHADER_LOC_VERTEX_TEXCOORD01 = 1 + SHADER_LOC_VERTEX_TEXCOORD02 = 2 + SHADER_LOC_VERTEX_NORMAL = 3 + SHADER_LOC_VERTEX_TANGENT = 4 + SHADER_LOC_VERTEX_COLOR = 5 + SHADER_LOC_MATRIX_MVP = 6 + SHADER_LOC_MATRIX_VIEW = 7 + SHADER_LOC_MATRIX_PROJECTION = 8 + SHADER_LOC_MATRIX_MODEL = 9 + SHADER_LOC_MATRIX_NORMAL = 10 + SHADER_LOC_VECTOR_VIEW = 11 + SHADER_LOC_COLOR_DIFFUSE = 12 + SHADER_LOC_COLOR_SPECULAR = 13 + SHADER_LOC_COLOR_AMBIENT = 14 + SHADER_LOC_MAP_ALBEDO = 15 + SHADER_LOC_MAP_METALNESS = 16 + SHADER_LOC_MAP_NORMAL = 17 + SHADER_LOC_MAP_ROUGHNESS = 18 + SHADER_LOC_MAP_OCCLUSION = 19 + SHADER_LOC_MAP_EMISSION = 20 + SHADER_LOC_MAP_HEIGHT = 21 + SHADER_LOC_MAP_CUBEMAP = 22 + SHADER_LOC_MAP_IRRADIANCE = 23 + SHADER_LOC_MAP_PREFILTER = 24 + SHADER_LOC_MAP_BRDF = 25 + +class ShaderUniformDataType(IntEnum): + SHADER_UNIFORM_FLOAT = 0 + SHADER_UNIFORM_VEC2 = 1 + SHADER_UNIFORM_VEC3 = 2 + SHADER_UNIFORM_VEC4 = 3 + SHADER_UNIFORM_INT = 4 + SHADER_UNIFORM_IVEC2 = 5 + SHADER_UNIFORM_IVEC3 = 6 + SHADER_UNIFORM_IVEC4 = 7 + SHADER_UNIFORM_SAMPLER2D = 8 + +class ShaderAttributeDataType(IntEnum): + SHADER_ATTRIB_FLOAT = 0 + SHADER_ATTRIB_VEC2 = 1 + SHADER_ATTRIB_VEC3 = 2 + SHADER_ATTRIB_VEC4 = 3 + +class PixelFormat(IntEnum): + PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1 + PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2 + PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3 + PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4 + PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5 + PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6 + PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7 + PIXELFORMAT_UNCOMPRESSED_R32 = 8 + PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9 + PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10 + PIXELFORMAT_UNCOMPRESSED_R16 = 11 + PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12 + PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13 + PIXELFORMAT_COMPRESSED_DXT1_RGB = 14 + PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15 + PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16 + PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17 + PIXELFORMAT_COMPRESSED_ETC1_RGB = 18 + PIXELFORMAT_COMPRESSED_ETC2_RGB = 19 + PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20 + PIXELFORMAT_COMPRESSED_PVRT_RGB = 21 + PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22 + PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23 + PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24 + +class TextureFilter(IntEnum): + TEXTURE_FILTER_POINT = 0 + TEXTURE_FILTER_BILINEAR = 1 + TEXTURE_FILTER_TRILINEAR = 2 + TEXTURE_FILTER_ANISOTROPIC_4X = 3 + TEXTURE_FILTER_ANISOTROPIC_8X = 4 + TEXTURE_FILTER_ANISOTROPIC_16X = 5 + +class TextureWrap(IntEnum): + TEXTURE_WRAP_REPEAT = 0 + TEXTURE_WRAP_CLAMP = 1 + TEXTURE_WRAP_MIRROR_REPEAT = 2 + TEXTURE_WRAP_MIRROR_CLAMP = 3 + +class CubemapLayout(IntEnum): + CUBEMAP_LAYOUT_AUTO_DETECT = 0 + CUBEMAP_LAYOUT_LINE_VERTICAL = 1 + CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2 + CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3 + CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4 + CUBEMAP_LAYOUT_PANORAMA = 5 + +class FontType(IntEnum): + FONT_DEFAULT = 0 + FONT_BITMAP = 1 + FONT_SDF = 2 + +class BlendMode(IntEnum): + BLEND_ALPHA = 0 + BLEND_ADDITIVE = 1 + BLEND_MULTIPLIED = 2 + BLEND_ADD_COLORS = 3 + BLEND_SUBTRACT_COLORS = 4 + BLEND_ALPHA_PREMULTIPLY = 5 + BLEND_CUSTOM = 6 + BLEND_CUSTOM_SEPARATE = 7 + +class Gesture(IntEnum): + GESTURE_NONE = 0 + GESTURE_TAP = 1 + GESTURE_DOUBLETAP = 2 + GESTURE_HOLD = 4 + GESTURE_DRAG = 8 + GESTURE_SWIPE_RIGHT = 16 + GESTURE_SWIPE_LEFT = 32 + GESTURE_SWIPE_UP = 64 + GESTURE_SWIPE_DOWN = 128 + GESTURE_PINCH_IN = 256 + GESTURE_PINCH_OUT = 512 + +class CameraMode(IntEnum): + CAMERA_CUSTOM = 0 + CAMERA_FREE = 1 + CAMERA_ORBITAL = 2 + CAMERA_FIRST_PERSON = 3 + CAMERA_THIRD_PERSON = 4 + +class CameraProjection(IntEnum): + CAMERA_PERSPECTIVE = 0 + CAMERA_ORTHOGRAPHIC = 1 + +class NPatchLayout(IntEnum): + NPATCH_NINE_PATCH = 0 + NPATCH_THREE_PATCH_VERTICAL = 1 + NPATCH_THREE_PATCH_HORIZONTAL = 2 + +class GuiState(IntEnum): + STATE_NORMAL = 0 + STATE_FOCUSED = 1 + STATE_PRESSED = 2 + STATE_DISABLED = 3 + +class GuiTextAlignment(IntEnum): + TEXT_ALIGN_LEFT = 0 + TEXT_ALIGN_CENTER = 1 + TEXT_ALIGN_RIGHT = 2 + +class GuiTextAlignmentVertical(IntEnum): + TEXT_ALIGN_TOP = 0 + TEXT_ALIGN_MIDDLE = 1 + TEXT_ALIGN_BOTTOM = 2 + +class GuiTextWrapMode(IntEnum): + TEXT_WRAP_NONE = 0 + TEXT_WRAP_CHAR = 1 + TEXT_WRAP_WORD = 2 + +class GuiControl(IntEnum): + DEFAULT = 0 + LABEL = 1 + BUTTON = 2 + TOGGLE = 3 + SLIDER = 4 + PROGRESSBAR = 5 + CHECKBOX = 6 + COMBOBOX = 7 + DROPDOWNBOX = 8 + TEXTBOX = 9 + VALUEBOX = 10 + SPINNER = 11 + LISTVIEW = 12 + COLORPICKER = 13 + SCROLLBAR = 14 + STATUSBAR = 15 + +class GuiControlProperty(IntEnum): + BORDER_COLOR_NORMAL = 0 + BASE_COLOR_NORMAL = 1 + TEXT_COLOR_NORMAL = 2 + BORDER_COLOR_FOCUSED = 3 + BASE_COLOR_FOCUSED = 4 + TEXT_COLOR_FOCUSED = 5 + BORDER_COLOR_PRESSED = 6 + BASE_COLOR_PRESSED = 7 + TEXT_COLOR_PRESSED = 8 + BORDER_COLOR_DISABLED = 9 + BASE_COLOR_DISABLED = 10 + TEXT_COLOR_DISABLED = 11 + BORDER_WIDTH = 12 + TEXT_PADDING = 13 + TEXT_ALIGNMENT = 14 + +class GuiDefaultProperty(IntEnum): + TEXT_SIZE = 16 + TEXT_SPACING = 17 + LINE_COLOR = 18 + BACKGROUND_COLOR = 19 + TEXT_LINE_SPACING = 20 + TEXT_ALIGNMENT_VERTICAL = 21 + TEXT_WRAP_MODE = 22 + +class GuiToggleProperty(IntEnum): + GROUP_PADDING = 16 + +class GuiSliderProperty(IntEnum): + SLIDER_WIDTH = 16 + SLIDER_PADDING = 17 + +class GuiProgressBarProperty(IntEnum): + PROGRESS_PADDING = 16 + +class GuiScrollBarProperty(IntEnum): + ARROWS_SIZE = 16 + ARROWS_VISIBLE = 17 + SCROLL_SLIDER_PADDING = 18 + SCROLL_SLIDER_SIZE = 19 + SCROLL_PADDING = 20 + SCROLL_SPEED = 21 + +class GuiCheckBoxProperty(IntEnum): + CHECK_PADDING = 16 + +class GuiComboBoxProperty(IntEnum): + COMBO_BUTTON_WIDTH = 16 + COMBO_BUTTON_SPACING = 17 + +class GuiDropdownBoxProperty(IntEnum): + ARROW_PADDING = 16 + DROPDOWN_ITEMS_SPACING = 17 + +class GuiTextBoxProperty(IntEnum): + TEXT_READONLY = 16 + +class GuiSpinnerProperty(IntEnum): + SPIN_BUTTON_WIDTH = 16 + SPIN_BUTTON_SPACING = 17 + +class GuiListViewProperty(IntEnum): + LIST_ITEMS_HEIGHT = 16 + LIST_ITEMS_SPACING = 17 + SCROLLBAR_WIDTH = 18 + SCROLLBAR_SIDE = 19 + +class GuiColorPickerProperty(IntEnum): + COLOR_SELECTOR_SIZE = 16 + HUEBAR_WIDTH = 17 + HUEBAR_PADDING = 18 + HUEBAR_SELECTOR_HEIGHT = 19 + HUEBAR_SELECTOR_OVERFLOW = 20 + +class GuiIconName(IntEnum): + ICON_NONE = 0 + ICON_FOLDER_FILE_OPEN = 1 + ICON_FILE_SAVE_CLASSIC = 2 + ICON_FOLDER_OPEN = 3 + ICON_FOLDER_SAVE = 4 + ICON_FILE_OPEN = 5 + ICON_FILE_SAVE = 6 + ICON_FILE_EXPORT = 7 + ICON_FILE_ADD = 8 + ICON_FILE_DELETE = 9 + ICON_FILETYPE_TEXT = 10 + ICON_FILETYPE_AUDIO = 11 + ICON_FILETYPE_IMAGE = 12 + ICON_FILETYPE_PLAY = 13 + ICON_FILETYPE_VIDEO = 14 + ICON_FILETYPE_INFO = 15 + ICON_FILE_COPY = 16 + ICON_FILE_CUT = 17 + ICON_FILE_PASTE = 18 + ICON_CURSOR_HAND = 19 + ICON_CURSOR_POINTER = 20 + ICON_CURSOR_CLASSIC = 21 + ICON_PENCIL = 22 + ICON_PENCIL_BIG = 23 + ICON_BRUSH_CLASSIC = 24 + ICON_BRUSH_PAINTER = 25 + ICON_WATER_DROP = 26 + ICON_COLOR_PICKER = 27 + ICON_RUBBER = 28 + ICON_COLOR_BUCKET = 29 + ICON_TEXT_T = 30 + ICON_TEXT_A = 31 + ICON_SCALE = 32 + ICON_RESIZE = 33 + ICON_FILTER_POINT = 34 + ICON_FILTER_BILINEAR = 35 + ICON_CROP = 36 + ICON_CROP_ALPHA = 37 + ICON_SQUARE_TOGGLE = 38 + ICON_SYMMETRY = 39 + ICON_SYMMETRY_HORIZONTAL = 40 + ICON_SYMMETRY_VERTICAL = 41 + ICON_LENS = 42 + ICON_LENS_BIG = 43 + ICON_EYE_ON = 44 + ICON_EYE_OFF = 45 + ICON_FILTER_TOP = 46 + ICON_FILTER = 47 + ICON_TARGET_POINT = 48 + ICON_TARGET_SMALL = 49 + ICON_TARGET_BIG = 50 + ICON_TARGET_MOVE = 51 + ICON_CURSOR_MOVE = 52 + ICON_CURSOR_SCALE = 53 + ICON_CURSOR_SCALE_RIGHT = 54 + ICON_CURSOR_SCALE_LEFT = 55 + ICON_UNDO = 56 + ICON_REDO = 57 + ICON_REREDO = 58 + ICON_MUTATE = 59 + ICON_ROTATE = 60 + ICON_REPEAT = 61 + ICON_SHUFFLE = 62 + ICON_EMPTYBOX = 63 + ICON_TARGET = 64 + ICON_TARGET_SMALL_FILL = 65 + ICON_TARGET_BIG_FILL = 66 + ICON_TARGET_MOVE_FILL = 67 + ICON_CURSOR_MOVE_FILL = 68 + ICON_CURSOR_SCALE_FILL = 69 + ICON_CURSOR_SCALE_RIGHT_FILL = 70 + ICON_CURSOR_SCALE_LEFT_FILL = 71 + ICON_UNDO_FILL = 72 + ICON_REDO_FILL = 73 + ICON_REREDO_FILL = 74 + ICON_MUTATE_FILL = 75 + ICON_ROTATE_FILL = 76 + ICON_REPEAT_FILL = 77 + ICON_SHUFFLE_FILL = 78 + ICON_EMPTYBOX_SMALL = 79 + ICON_BOX = 80 + ICON_BOX_TOP = 81 + ICON_BOX_TOP_RIGHT = 82 + ICON_BOX_RIGHT = 83 + ICON_BOX_BOTTOM_RIGHT = 84 + ICON_BOX_BOTTOM = 85 + ICON_BOX_BOTTOM_LEFT = 86 + ICON_BOX_LEFT = 87 + ICON_BOX_TOP_LEFT = 88 + ICON_BOX_CENTER = 89 + ICON_BOX_CIRCLE_MASK = 90 + ICON_POT = 91 + ICON_ALPHA_MULTIPLY = 92 + ICON_ALPHA_CLEAR = 93 + ICON_DITHERING = 94 + ICON_MIPMAPS = 95 + ICON_BOX_GRID = 96 + ICON_GRID = 97 + ICON_BOX_CORNERS_SMALL = 98 + ICON_BOX_CORNERS_BIG = 99 + ICON_FOUR_BOXES = 100 + ICON_GRID_FILL = 101 + ICON_BOX_MULTISIZE = 102 + ICON_ZOOM_SMALL = 103 + ICON_ZOOM_MEDIUM = 104 + ICON_ZOOM_BIG = 105 + ICON_ZOOM_ALL = 106 + ICON_ZOOM_CENTER = 107 + ICON_BOX_DOTS_SMALL = 108 + ICON_BOX_DOTS_BIG = 109 + ICON_BOX_CONCENTRIC = 110 + ICON_BOX_GRID_BIG = 111 + ICON_OK_TICK = 112 + ICON_CROSS = 113 + ICON_ARROW_LEFT = 114 + ICON_ARROW_RIGHT = 115 + ICON_ARROW_DOWN = 116 + ICON_ARROW_UP = 117 + ICON_ARROW_LEFT_FILL = 118 + ICON_ARROW_RIGHT_FILL = 119 + ICON_ARROW_DOWN_FILL = 120 + ICON_ARROW_UP_FILL = 121 + ICON_AUDIO = 122 + ICON_FX = 123 + ICON_WAVE = 124 + ICON_WAVE_SINUS = 125 + ICON_WAVE_SQUARE = 126 + ICON_WAVE_TRIANGULAR = 127 + ICON_CROSS_SMALL = 128 + ICON_PLAYER_PREVIOUS = 129 + ICON_PLAYER_PLAY_BACK = 130 + ICON_PLAYER_PLAY = 131 + ICON_PLAYER_PAUSE = 132 + ICON_PLAYER_STOP = 133 + ICON_PLAYER_NEXT = 134 + ICON_PLAYER_RECORD = 135 + ICON_MAGNET = 136 + ICON_LOCK_CLOSE = 137 + ICON_LOCK_OPEN = 138 + ICON_CLOCK = 139 + ICON_TOOLS = 140 + ICON_GEAR = 141 + ICON_GEAR_BIG = 142 + ICON_BIN = 143 + ICON_HAND_POINTER = 144 + ICON_LASER = 145 + ICON_COIN = 146 + ICON_EXPLOSION = 147 + ICON_1UP = 148 + ICON_PLAYER = 149 + ICON_PLAYER_JUMP = 150 + ICON_KEY = 151 + ICON_DEMON = 152 + ICON_TEXT_POPUP = 153 + ICON_GEAR_EX = 154 + ICON_CRACK = 155 + ICON_CRACK_POINTS = 156 + ICON_STAR = 157 + ICON_DOOR = 158 + ICON_EXIT = 159 + ICON_MODE_2D = 160 + ICON_MODE_3D = 161 + ICON_CUBE = 162 + ICON_CUBE_FACE_TOP = 163 + ICON_CUBE_FACE_LEFT = 164 + ICON_CUBE_FACE_FRONT = 165 + ICON_CUBE_FACE_BOTTOM = 166 + ICON_CUBE_FACE_RIGHT = 167 + ICON_CUBE_FACE_BACK = 168 + ICON_CAMERA = 169 + ICON_SPECIAL = 170 + ICON_LINK_NET = 171 + ICON_LINK_BOXES = 172 + ICON_LINK_MULTI = 173 + ICON_LINK = 174 + ICON_LINK_BROKE = 175 + ICON_TEXT_NOTES = 176 + ICON_NOTEBOOK = 177 + ICON_SUITCASE = 178 + ICON_SUITCASE_ZIP = 179 + ICON_MAILBOX = 180 + ICON_MONITOR = 181 + ICON_PRINTER = 182 + ICON_PHOTO_CAMERA = 183 + ICON_PHOTO_CAMERA_FLASH = 184 + ICON_HOUSE = 185 + ICON_HEART = 186 + ICON_CORNER = 187 + ICON_VERTICAL_BARS = 188 + ICON_VERTICAL_BARS_FILL = 189 + ICON_LIFE_BARS = 190 + ICON_INFO = 191 + ICON_CROSSLINE = 192 + ICON_HELP = 193 + ICON_FILETYPE_ALPHA = 194 + ICON_FILETYPE_HOME = 195 + ICON_LAYERS_VISIBLE = 196 + ICON_LAYERS = 197 + ICON_WINDOW = 198 + ICON_HIDPI = 199 + ICON_FILETYPE_BINARY = 200 + ICON_HEX = 201 + ICON_SHIELD = 202 + ICON_FILE_NEW = 203 + ICON_FOLDER_ADD = 204 + ICON_ALARM = 205 + ICON_CPU = 206 + ICON_ROM = 207 + ICON_STEP_OVER = 208 + ICON_STEP_INTO = 209 + ICON_STEP_OUT = 210 + ICON_RESTART = 211 + ICON_BREAKPOINT_ON = 212 + ICON_BREAKPOINT_OFF = 213 + ICON_BURGER_MENU = 214 + ICON_CASE_SENSITIVE = 215 + ICON_REG_EXP = 216 + ICON_FOLDER = 217 + ICON_FILE = 218 + ICON_SAND_TIMER = 219 + ICON_220 = 220 + ICON_221 = 221 + ICON_222 = 222 + ICON_223 = 223 + ICON_224 = 224 + ICON_225 = 225 + ICON_226 = 226 + ICON_227 = 227 + ICON_228 = 228 + ICON_229 = 229 + ICON_230 = 230 + ICON_231 = 231 + ICON_232 = 232 + ICON_233 = 233 + ICON_234 = 234 + ICON_235 = 235 + ICON_236 = 236 + ICON_237 = 237 + ICON_238 = 238 + ICON_239 = 239 + ICON_240 = 240 + ICON_241 = 241 + ICON_242 = 242 + ICON_243 = 243 + ICON_244 = 244 + ICON_245 = 245 + ICON_246 = 246 + ICON_247 = 247 + ICON_248 = 248 + ICON_249 = 249 + ICON_250 = 250 + ICON_251 = 251 + ICON_252 = 252 + ICON_253 = 253 + ICON_254 = 254 + ICON_255 = 255 +