[INFO] fetching crate rayfork-sys 0.0.1... [INFO] checking rayfork-sys-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rayfork-sys 0.0.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rayfork-sys 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rayfork-sys 0.0.1 [INFO] finished tweaking crates.io crate rayfork-sys 0.0.1 [INFO] tweaked toml for crates.io crate rayfork-sys 0.0.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f86a8e3cb087a13c5de189af43fbee16a9e934ea2da2d24fea9bdc722434d2e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f86a8e3cb087a13c5de189af43fbee16a9e934ea2da2d24fea9bdc722434d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f86a8e3cb087a13c5de189af43fbee16a9e934ea2da2d24fea9bdc722434d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f86a8e3cb087a13c5de189af43fbee16a9e934ea2da2d24fea9bdc722434d2e", kill_on_drop: false }` [INFO] [stdout] 0f86a8e3cb087a13c5de189af43fbee16a9e934ea2da2d24fea9bdc722434d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b40cda90da56062aed80d5ed7121c2d695d02426ade08a50c0f55ab40d89e033 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b40cda90da56062aed80d5ed7121c2d695d02426ade08a50c0f55ab40d89e033", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.4.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rayfork-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `FP_NAN` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406096 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_NAN : u32 = 0 ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pu... [INFO] [stdout] | ---------------------------- previous definition of the value `FP_NAN` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NAN` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_NAN` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_NAN` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406096 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_NAN : u32 = 0 ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pu... [INFO] [stdout] | ---------------------------- previous definition of the value `FP_NAN` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NAN` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_NAN` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_INFINITE` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406135 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pu... [INFO] [stdout] | --------------------------------- previous definition of the value `FP_INFINITE` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_INFINITE` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_INFINITE` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_INFINITE` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406135 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pu... [INFO] [stdout] | --------------------------------- previous definition of the value `FP_INFINITE` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_INFINITE` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_INFINITE` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_ZERO` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406179 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pu... [INFO] [stdout] | ----------------------------- previous definition of the value `FP_ZERO` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_ZERO` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_ZERO` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_ZERO` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406179 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pu... [INFO] [stdout] | ----------------------------- previous definition of the value `FP_ZERO` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_ZERO` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_ZERO` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_SUBNORMAL` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406219 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pu... [INFO] [stdout] | ---------------------------------- previous definition of the value `FP_SUBNORMAL` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_SUBNORMAL` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_SUBNORMAL` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_SUBNORMAL` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/debug/build/rayfork-sys-19872035a18b337a/out/bindings.rs:3:406219 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [u8 ; 6usize] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = - 1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = - 2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = - 3 ; pub const _STDIO_H : u32 = 1 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [u8 ; 5usize] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = - 1 ; pub const CGLTF_ERROR_NOMEM : i32 = - 2 ; pub const CGLTF_ERROR_LEGACY : i32 = - 3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = - 0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = - 0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = - 0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = - 1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = - 85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = - 85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = - 85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [u8 ; 16usize] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_gladGLversionStruct () { assert_eq ! (:: std :: mem :: size_of :: < gladGLversionStruct > () , 8usize , concat ! ("Size of: " , stringify ! (gladGLversionStruct))) ; assert_eq ! (:: std :: mem :: align_of :: < gladGLversionStruct > () , 4usize , concat ! ("Alignment of " , stringify ! (gladGLversionStruct))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . major as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < gladGLversionStruct > ())) . minor as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (gladGLversionStruct) , "::" , stringify ! (minor))) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader (arg1 : GLADloadproc) -> :: std :: os :: raw :: c_int ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __GLsync { _unused : [u8 ; 0] , } pub type GLsync = * mut __GLsync ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_context { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _cl_event { _unused : [u8 ; 0] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn (source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLfloat) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLfloat) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buf : GLenum) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn (depth : GLdouble) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactor : GLenum , dfactor : GLenum) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn (opcode : GLenum) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn (fail : GLenum , zfail : GLenum , zpass : GLenum) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (src : GLenum) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn (cap : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLdouble , f : GLdouble) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint , range : GLsizei) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn (range : GLsizei) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (base : GLuint) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint , alpha : GLint) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn (flag : * const GLboolean) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLdouble) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLdouble) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLfloat) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLint) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLint) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLshort) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLshort) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLbyte , ny : GLbyte , nz : GLbyte) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLdouble , ny : GLdouble , nz : GLdouble) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLfloat , ny : GLfloat , nz : GLfloat) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLint , ny : GLint , nz : GLint) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn (nx : GLshort , ny : GLshort , nz : GLshort) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLdouble , v2 : * const GLdouble) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLfloat , v2 : * const GLfloat) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLint , v2 : * const GLint) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn (x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn (v1 : * const GLshort , v2 : * const GLshort) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * const GLdouble) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mode : GLenum) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLint , pattern : GLushort) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * const GLubyte) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLdouble) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLdouble) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , type_ : GLenum , buffer : * mut GLfloat) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLsizei , buffer : * mut GLuint) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn (token : GLfloat) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLuint) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLfloat) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLuint) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn (op : GLenum , value : GLfloat) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn (un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLdouble , v : GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLdouble) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (u : GLfloat , v : GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (u : * const GLfloat) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint , j : GLint) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn (func : GLenum , ref_ : GLfloat) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn (xfactor : GLfloat , yfactor : GLfloat) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLfloat) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLuint) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , mapsize : GLsizei , values : * const GLushort) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn (width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn (plane : GLenum , equation : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (light : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , query : GLenum , v : * mut GLint) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLuint) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (map : GLenum , values : * mut GLushort) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : * mut GLubyte) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn (list : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn (left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn (factor : GLfloat , units : GLfloat) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , texture : GLuint) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * mut GLuint) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn (i : GLint) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLenum) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , residences : * mut GLboolean) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , textures : * const GLuint , priorities : * const GLfloat) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn (c : GLubyte) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (c : * const GLubyte) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (mask : GLbitfield) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (value : GLfloat , invert : GLboolean) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLdouble) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLfloat) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLint) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , v : * const GLshort) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLfloat) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn (m : * const GLdouble) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLfloat) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLfloat) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLfloat) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : GLdouble) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn (coord : * const GLdouble) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLbyte , green : GLbyte , blue : GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLbyte) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLdouble , green : GLdouble , blue : GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLint , green : GLint , blue : GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLshort , green : GLshort , blue : GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLubyte , green : GLubyte , blue : GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLubyte) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLuint , green : GLuint , blue : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLushort , green : GLushort , blue : GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLushort) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLdouble) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLfloat) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLint) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn (x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (v : * const GLshort) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * mut GLuint) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , ids : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , id : GLuint) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , buffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , access : GLenum) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (modeRGB : GLenum , modeAlpha : GLenum) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , bufs : * const GLenum) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn (face : GLenum , mask : GLuint) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn () -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , shader : GLuint) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLdouble) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn (shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLint) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLdouble) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLfloat) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLboolean) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn (primitiveMode : GLenum) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , buffer : GLuint) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , clamp : GLenum) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , mode : GLenum) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLint) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLbyte) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLshort) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLubyte) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , v : * const GLushort) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , location : GLint , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , color : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (location : GLint , count : GLsizei , value : * const GLuint) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLint) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * const GLuint) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLint) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLuint) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , value : * const GLfloat) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn (buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn (name : GLenum , index : GLuint) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (renderbuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , renderbuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (framebuffer : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , framebuffer : GLuint) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , framebuffers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , offset : GLintptr , length : GLsizeiptr) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn (n : GLsizei , arrays : * mut GLuint) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn (array : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , internalformat : GLenum , buffer : GLuint) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn (readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockName : * const GLchar) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn (mode : GLenum) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (condition : GLenum , flags : GLbitfield) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , flags : GLbitfield , timeout : GLuint64) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , index : GLuint , data : * mut GLint64) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , attachment : GLenum , texture : GLuint , level : GLint) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn (target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn (pname : GLenum , index : GLuint , val : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn (maskNumber : GLuint , mask : GLbitfield) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn (program : GLuint , name : * const GLchar) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * mut GLuint) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn (count : GLsizei , samplers : * const GLuint) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn (unit : GLuint , sampler : GLuint) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLint) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLfloat) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLint) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , param : * const GLuint) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLfloat) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn (sampler : GLuint , pname : GLenum , params : * mut GLuint) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , target : GLenum) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLint64) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn (id : GLuint , pname : GLenum , params : * mut GLuint64) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , divisor : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : GLuint) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , value : * const GLuint) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (texture : GLenum , type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : GLuint) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , coords : * const GLuint) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn (type_ : GLenum , color : * const GLuint) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_sizei () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizei > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizei))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizei > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizei))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizei > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizei) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_sizef () { assert_eq ! (:: std :: mem :: size_of :: < rf_sizef > () , 8usize , concat ! ("Size of: " , stringify ! (rf_sizef))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_sizef > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_sizef))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_sizef > ())) . height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_sizef) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_rf_vector2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_vector2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector2 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector2) , "::" , stringify ! (y))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [test] fn bindgen_test_layout_rf_vector3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_vector3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector3 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector3) , "::" , stringify ! (z))) ; } pub type rf_quaternion = rf_vector4 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [test] fn bindgen_test_layout_rf_vector4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_vector4 > () , 16usize , concat ! ("Size of: " , stringify ! (rf_vector4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_vector4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_vector4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . z as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (z))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_vector4 > ())) . w as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_vector4) , "::" , stringify ! (w))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [test] fn bindgen_test_layout_rf_matrix () { assert_eq ! (:: std :: mem :: size_of :: < rf_matrix > () , 64usize , concat ! ("Size of: " , stringify ! (rf_matrix))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_matrix > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m0 as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m0))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m4 as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m8 as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m8))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m12 as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m12))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m1 as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m5 as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m5))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m9 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m9))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m13 as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m13))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m2 as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m6 as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m6))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m10 as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m10))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m14 as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m14))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m3 as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m7 as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m7))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m11 as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m11))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_matrix > ())) . m15 as * const _ as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (rf_matrix) , "::" , stringify ! (m15))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [test] fn bindgen_test_layout_rf_rectangle () { assert_eq ! (:: std :: mem :: size_of :: < rf_rectangle > () , 16usize , concat ! ("Size of: " , stringify ! (rf_rectangle))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_rectangle > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_rectangle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . x as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . y as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_rectangle > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_rectangle) , "::" , stringify ! (height))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float3 { pub v : [f32 ; 3usize] , } # [test] fn bindgen_test_layout_rf_float3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float3 > () , 12usize , concat ! ("Size of: " , stringify ! (rf_float3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float3 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float3) , "::" , stringify ! (v))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_float16 { pub v : [f32 ; 16usize] , } # [test] fn bindgen_test_layout_rf_float16 () { assert_eq ! (:: std :: mem :: size_of :: < rf_float16 > () , 64usize , concat ! ("Size of: " , stringify ! (rf_float16))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_float16 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_float16))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_float16 > ())) . v as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_float16) , "::" , stringify ! (v))) ; } extern "C" { pub fn rf_clamp (value : f32 , min : f32 , max : f32) -> f32 ; } extern "C" { pub fn rf_lerp (start : f32 , end : f32 , amount : f32) -> f32 ; } extern "C" { pub fn rf_vector2_zero () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one () -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length (v : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_distance (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_angle (v1 : rf_vector2 , v2 : rf_vector2) -> f32 ; } extern "C" { pub fn rf_vector2_scale (v : rf_vector2 , scale : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide (v : rf_vector2 , div : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v (v1 : rf_vector2 , v2 : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize (v : rf_vector2) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp (v1 : rf_vector2 , v2 : rf_vector2 , amount : f32) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one () -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply (v : rf_vector3 , scalar : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length (v : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_distance (v1 : rf_vector3 , v2 : rf_vector3) -> f32 ; } extern "C" { pub fn rf_vector3_scale (v : rf_vector3 , scale : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide (v : rf_vector3 , div : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize (v : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize (v1 : * mut rf_vector3 , v2 : * mut rf_vector3) ; } extern "C" { pub fn rf_vector3_transform (v : rf_vector3 , mat : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion (v : rf_vector3 , q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp (v1 : rf_vector3 , v2 : rf_vector3 , amount : f32) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect (v : rf_vector3 , normal : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max (v1 : rf_vector3 , v2 : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter (p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v (v : rf_vector3) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_trace (mat : rf_matrix) -> f32 ; } extern "C" { pub fn rf_matrix_transpose (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize (mat : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity () -> rf_matrix ; } extern "C" { pub fn rf_matrix_add (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate (axis : rf_vector3 , angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz (ang : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z (angle : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale (x : f32 , y : f32 , z : f32) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply (left : rf_matrix , right : rf_matrix) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective (fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at (eye : rf_vector3 , target : rf_vector3 , up : rf_vector3) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv (mat : rf_matrix) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity () -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length (q : rf_quaternion) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert (q : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply (q1 : rf_quaternion , q2 : rf_quaternion) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp (q1 : rf_quaternion , q2 : rf_quaternion , amount : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 (from : rf_vector3 , to : rf_vector3) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix (mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix (q : rf_quaternion) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle (axis : rf_vector3 , angle : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle (q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32) ; } extern "C" { pub fn rf_quaternion_from_euler (roll : f32 , pitch : f32 , yaw : f32) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler (q : rf_quaternion) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform (q : rf_quaternion , mat : rf_matrix) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs (rec1 : rf_rectangle , rec2 : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_circles (center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec (center : rf_vector2 , radius : f32 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_get_collision_rec (rec1 : rf_rectangle , rec2 : rf_rectangle) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec (point : rf_vector2 , rec : rf_rectangle) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle (point : rf_vector2 , center : rf_vector2 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle (point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2) -> bool ; } extern "C" { pub fn rf_get_random_value (min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [bool ; 6usize] , } # [test] fn bindgen_test_layout_rf_input_state_for_update_camera () { assert_eq ! (:: std :: mem :: size_of :: < rf_input_state_for_update_camera > () , 24usize , concat ! ("Size of: " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_input_state_for_update_camera > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_input_state_for_update_camera))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (mouse_wheel_move))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_pan_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_alt_control_key_down))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (is_camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_input_state_for_update_camera > ())) . direction_keys as * const _ as usize } , 15usize , concat ! ("Offset of field: " , stringify ! (rf_input_state_for_update_camera) , "::" , stringify ! (direction_keys))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_rf_color () { assert_eq ! (:: std :: mem :: size_of :: < rf_color > () , 4usize , concat ! ("Size of: " , stringify ! (rf_color))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_color > () , 1usize , concat ! ("Alignment of " , stringify ! (rf_color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . r as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (r))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . g as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (g))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . b as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (b))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_color > ())) . a as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (rf_color) , "::" , stringify ! (a))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_image () { assert_eq ! (:: std :: mem :: size_of :: < rf_image > () , 24usize , concat ! ("Size of: " , stringify ! (rf_image))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_image > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_image))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . width as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . height as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . mipmaps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_image > ())) . format as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_image) , "::" , stringify ! (format))) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_texture2d > () , 20usize , concat ! ("Size of: " , stringify ! (rf_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . width as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . height as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . mipmaps as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (mipmaps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_texture2d > ())) . format as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_texture2d) , "::" , stringify ! (format))) ; } pub type rf_render_texture = rf_render_texture2d ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [test] fn bindgen_test_layout_rf_render_texture2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_render_texture2d > () , 48usize , concat ! ("Size of: " , stringify ! (rf_render_texture2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_render_texture2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_render_texture2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . texture as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_render_texture2d > ())) . depth_texture as * const _ as usize } , 44usize , concat ! ("Offset of field: " , stringify ! (rf_render_texture2d) , "::" , stringify ! (depth_texture))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_npatch_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_npatch_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_npatch_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_npatch_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_npatch_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . source_rec as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (source_rec))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . left as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (left))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . top as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (top))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . right as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (right))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . bottom as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (bottom))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_npatch_info > ())) . type_ as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_npatch_info) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [test] fn bindgen_test_layout_rf_char_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_char_info > () , 40usize , concat ! ("Size of: " , stringify ! (rf_char_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_char_info > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_char_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . value as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (value))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_x as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . offset_y as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . advance_x as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (advance_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_char_info > ())) . image as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_char_info) , "::" , stringify ! (image))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [test] fn bindgen_test_layout_rf_font () { assert_eq ! (:: std :: mem :: size_of :: < rf_font > () , 48usize , concat ! ("Size of: " , stringify ! (rf_font))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_font > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . base_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (base_size))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . texture as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . recs as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (recs))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_font > ())) . chars as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_font) , "::" , stringify ! (chars))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [test] fn bindgen_test_layout_rf_load_font_async_result () { assert_eq ! (:: std :: mem :: size_of :: < rf_load_font_async_result > () , 72usize , concat ! ("Size of: " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_load_font_async_result > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_load_font_async_result))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . font as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_load_font_async_result > ())) . atlas as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_load_font_async_result) , "::" , stringify ! (atlas))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_camera3d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera3d > () , 44usize , concat ! ("Size of: " , stringify ! (rf_camera3d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera3d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera3d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . target as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . up as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (up))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . fovy as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (fovy))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera3d > ())) . type_ as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_camera3d) , "::" , stringify ! (type_))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [test] fn bindgen_test_layout_rf_camera2d () { assert_eq ! (:: std :: mem :: size_of :: < rf_camera2d > () , 24usize , concat ! ("Size of: " , stringify ! (rf_camera2d))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_camera2d > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_camera2d))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . offset as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (offset))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . target as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (target))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . rotation as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_camera2d > ())) . zoom as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_camera2d) , "::" , stringify ! (zoom))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_mesh () { assert_eq ! (:: std :: mem :: size_of :: < rf_mesh > () , 112usize , concat ! ("Size of: " , stringify ! (rf_mesh))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_mesh > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_mesh))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertex_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . triangle_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (triangle_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vertices as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . texcoords2 as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (texcoords2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . normals as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . tangents as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (tangents))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . colors as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . indices as * const _ as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_vertices as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . anim_normals as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (anim_normals))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_ids as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_ids))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . bone_weights as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (bone_weights))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vao_id as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_mesh > ())) . vbo_id as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_mesh) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_shader () { assert_eq ! (:: std :: mem :: size_of :: < rf_shader > () , 16usize , concat ! ("Size of: " , stringify ! (rf_shader))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_shader > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . id as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_shader > ())) . locs as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_shader) , "::" , stringify ! (locs))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [test] fn bindgen_test_layout_rf_material_map () { assert_eq ! (:: std :: mem :: size_of :: < rf_material_map > () , 28usize , concat ! ("Size of: " , stringify ! (rf_material_map))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material_map > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_material_map))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . texture as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (texture))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . color as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (color))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material_map > ())) . value as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material_map) , "::" , stringify ! (value))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [test] fn bindgen_test_layout_rf_material () { assert_eq ! (:: std :: mem :: size_of :: < rf_material > () , 32usize , concat ! ("Size of: " , stringify ! (rf_material))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_material > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . shader as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . maps as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (maps))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_material > ())) . params as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_material) , "::" , stringify ! (params))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [test] fn bindgen_test_layout_rf_transform () { assert_eq ! (:: std :: mem :: size_of :: < rf_transform > () , 40usize , concat ! ("Size of: " , stringify ! (rf_transform))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_transform > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . translation as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (translation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . rotation as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (rotation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_transform > ())) . scale as * const _ as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (rf_transform) , "::" , stringify ! (scale))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bone_info { pub name : [:: std :: os :: raw :: c_char ; 32usize] , pub parent : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_bone_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_bone_info > () , 36usize , concat ! ("Size of: " , stringify ! (rf_bone_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bone_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bone_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . name as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bone_info > ())) . parent as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_bone_info) , "::" , stringify ! (parent))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model () { assert_eq ! (:: std :: mem :: size_of :: < rf_model > () , 128usize , concat ! ("Size of: " , stringify ! (rf_model))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . transform as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (transform))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_count as * const _ as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . meshes as * const _ as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (meshes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . material_count as * const _ as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (material_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . materials as * const _ as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (materials))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . mesh_material as * const _ as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (mesh_material))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bone_count as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bones as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model > ())) . bind_pose as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_model) , "::" , stringify ! (bind_pose))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [test] fn bindgen_test_layout_rf_model_animation () { assert_eq ! (:: std :: mem :: size_of :: < rf_model_animation > () , 32usize , concat ! ("Size of: " , stringify ! (rf_model_animation))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_model_animation > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_model_animation))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bone_count as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bone_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . bones as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (bones))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_count as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_model_animation > ())) . frame_poses as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_model_animation) , "::" , stringify ! (frame_poses))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray > () , 24usize , concat ! ("Size of: " , stringify ! (rf_ray))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . position as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray > ())) . direction as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_ray) , "::" , stringify ! (direction))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [test] fn bindgen_test_layout_rf_ray_hit_info () { assert_eq ! (:: std :: mem :: size_of :: < rf_ray_hit_info > () , 32usize , concat ! ("Size of: " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_ray_hit_info > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_ray_hit_info))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . hit as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (hit))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . distance as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . position as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_ray_hit_info > ())) . normal as * const _ as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (rf_ray_hit_info) , "::" , stringify ! (normal))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [test] fn bindgen_test_layout_rf_bounding_box () { assert_eq ! (:: std :: mem :: size_of :: < rf_bounding_box > () , 24usize , concat ! ("Size of: " , stringify ! (rf_bounding_box))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_bounding_box > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_bounding_box))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . min as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (min))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_bounding_box > ())) . max as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_bounding_box) , "::" , stringify ! (max))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [:: std :: os :: raw :: c_uint ; 4usize] , } # [test] fn bindgen_test_layout_rf_dynamic_buffer () { assert_eq ! (:: std :: mem :: size_of :: < rf_dynamic_buffer > () , 72usize , concat ! ("Size of: " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_dynamic_buffer > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_dynamic_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vCounter as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . tcCounter as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (tcCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . cCounter as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (cCounter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vertices as * const _ as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vertices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . texcoords as * const _ as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (texcoords))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . colors as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (colors))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . indices as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (indices))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vao_id as * const _ as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vao_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_dynamic_buffer > ())) . vbo_id as * const _ as usize } , 52usize , concat ! ("Offset of field: " , stringify ! (rf_dynamic_buffer) , "::" , stringify ! (vbo_id))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_rf_draw_call () { assert_eq ! (:: std :: mem :: size_of :: < rf_draw_call > () , 16usize , concat ! ("Size of: " , stringify ! (rf_draw_call))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_draw_call > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_draw_call))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . mode as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertex_count as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertex_count))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . vertexAlignment as * const _ as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (vertexAlignment))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_draw_call > ())) . textureId as * const _ as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (rf_draw_call) , "::" , stringify ! (textureId))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_gl_context { pub stack : [rf_matrix ; 32usize] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [rf_dynamic_buffer ; 1usize] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [:: std :: os :: raw :: c_int ; 6usize] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [test] fn bindgen_test_layout_rf_gl_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_gl_context > () , 2536usize , concat ! ("Size of: " , stringify ! (rf_gl_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_gl_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_gl_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . stack_counter as * const _ as usize } , 2048usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (stack_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . modelview as * const _ as usize } , 2052usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (modelview))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . projection as * const _ as usize } , 2116usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (projection))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix as * const _ as usize } , 2184usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_matrix_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_depth as * const _ as usize } , 2196usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_depth))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vertex_data as * const _ as usize } , 2200usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vertex_data))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_buffer as * const _ as usize } , 2272usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_buffer))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . transform_matrix as * const _ as usize } , 2276usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (use_transform_matrix))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws as * const _ as usize } , 2344usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . draws_counter as * const _ as usize } , 2352usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (draws_counter))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_texture_id as * const _ as usize } , 2356usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_texture_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_vertex_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_frag_shader_id))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . default_shader as * const _ as usize } , 2368usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (default_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . current_shader as * const _ as usize } , 2384usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (current_shader))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . vao_supported as * const _ as usize } , 2400usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (vao_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_dxt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc1_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_etc2_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_pvrt_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_comp_astc_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_npot_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_float_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_depth_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_depth_bits))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_mirror_clamp_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_anisotropic_filter_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (max_anisotropic_level))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (debug_marker_supported))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . blend_mode as * const _ as usize } , 2428usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (blend_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (framebuffer_height))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_angle as * const _ as usize } , 2440usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_angle))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_target_distance))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (player_eyes_position))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_move_control as * const _ as usize } , 2456usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_move_control))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_pan_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_alt_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_smooth_zoom_control_key))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . camera_mode as * const _ as usize } , 2492usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (camera_mode))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . tex_shapes as * const _ as usize } , 2496usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (tex_shapes))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_gl_context > ())) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ("Offset of field: " , stringify ! (rf_gl_context) , "::" , stringify ! (rec_tex_shapes))) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [repr (C)] # [derive (Copy , Clone)] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ())) . display_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1__bindgen_ty_1) , "::" , stringify ! (display_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ())) . display_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_1) , "::" , stringify ! (display_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ())) . screen_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2__bindgen_ty_1) , "::" , stringify ! (screen_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_2))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ())) . screen_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_2) , "::" , stringify ! (screen_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ())) . render_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3__bindgen_ty_1) , "::" , stringify ! (render_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_3))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ())) . render_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_3) , "::" , stringify ! (render_size))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [u32 ; 2usize] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_width as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_width))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ())) . current_height as * const _ as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (current_height))) ; } # [test] fn bindgen_test_layout_rf_context__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > () , 8usize , concat ! ("Size of: " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > () , 4usize , concat ! ("Alignment of " , stringify ! (rf_context__bindgen_ty_4))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ())) . current_size as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (rf_context__bindgen_ty_4) , "::" , stringify ! (current_size))) ; } # [test] fn bindgen_test_layout_rf_context () { assert_eq ! (:: std :: mem :: size_of :: < rf_context > () , 2744usize , concat ! ("Size of: " , stringify ! (rf_context))) ; assert_eq ! (:: std :: mem :: align_of :: < rf_context > () , 8usize , concat ! ("Alignment of " , stringify ! (rf_context))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_x as * const _ as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_x))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . render_offset_y as * const _ as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (render_offset_y))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . screen_scaling as * const _ as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (screen_scaling))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . base_time as * const _ as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (base_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . current_time as * const _ as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (current_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . previous_time as * const _ as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (previous_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . update_time as * const _ as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (update_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . draw_time as * const _ as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (draw_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . frame_time as * const _ as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (frame_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . target_time as * const _ as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (target_time))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . default_font as * const _ as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (default_font))) ; assert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < rf_context > ())) . gl_ctx as * const _ as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (rf_context) , "::" , stringify ! (gl_ctx))) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait (arg1 : f32) ; } extern "C" { pub fn rf_get_time () -> f64 ; } extern "C" { pub fn rf_get_file_size (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer (filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_context_init (rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_global_context_ptr (rf_ctx : * mut rf_context) ; } extern "C" { pub fn rf_load_font_default () ; } extern "C" { pub fn rf_clear_background (color : rf_color) ; } extern "C" { pub fn rf_begin_drawing () ; } extern "C" { pub fn rf_end_drawing () ; } extern "C" { pub fn rf_begin_mode2d (camera : rf_camera2d) ; } extern "C" { pub fn rf_end_mode2d () ; } extern "C" { pub fn rf_begin_mode3d (camera : rf_camera3d) ; } extern "C" { pub fn rf_end_mode3d () ; } extern "C" { pub fn rf_begin_texture_mode (target : rf_render_texture2d) ; } extern "C" { pub fn rf_end_texture_mode () ; } extern "C" { pub fn rf_begin_scissor_mode (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_scissor_mode () ; } extern "C" { pub fn rf_get_mouse_ray (screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix (camera : rf_camera3d) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d (camera : rf_camera2d) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen (screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d (position : rf_vector2 , camera : rf_camera2d) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps (fps : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_get_fps () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time () -> f32 ; } extern "C" { pub fn rf_color_to_int (color : rf_color) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize (color : rf_color) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized (normalized : rf_vector4) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv (color : rf_color) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv (hsv : rf_vector3) -> rf_color ; } extern "C" { pub fn rf_color_from_int (hexValue : :: std :: os :: raw :: c_int) -> rf_color ; } extern "C" { pub fn rf_fade (color : rf_color , alpha : f32) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode (camera : rf_camera3d , mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_update_camera3d (camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera) ; } extern "C" { pub fn rf_set_camera_pan_control (panKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_alt_control (altKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control (szKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_camera_move_controls (frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_pixel (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_pixel_v (position : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line (startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_line_v (startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_ex (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_bezier (startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_line_strip (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_sector_lines (center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_gradient (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_circle_v (center : rf_vector2 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle_lines (centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_ring (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_ring_lines (center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_v (position : rf_vector2 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rec (rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_pro (rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex (rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex (rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines (rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_lines (v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_fan (points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_triangle_strip (points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_poly (center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color) ; } extern "C" { pub fn rf_set_shapes_texture (texture : rf_texture2d , source : rf_rectangle) ; } extern "C" { pub fn rf_load_image (fileName : * const :: std :: os :: raw :: c_char) -> rf_image ; } extern "C" { pub fn rf_load_image_ex (pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_pro (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_load_image_raw (fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_export_image (image : rf_image , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_load_texture (fileName : * const :: std :: os :: raw :: c_char) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image (image : rf_image) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap (image : rf_image , layoutType : :: std :: os :: raw :: c_int) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image (image : rf_image) ; } extern "C" { pub fn rf_unload_texture (texture : rf_texture2d) ; } extern "C" { pub fn rf_unload_render_texture (target : rf_render_texture2d) ; } extern "C" { pub fn rf_get_image_data (image : rf_image) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized (image : rf_image) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border (image : rf_image , threshold : f32) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data (texture : rf_texture2d) -> rf_image ; } extern "C" { pub fn rf_get_screen_data () -> rf_image ; } extern "C" { pub fn rf_update_texture (texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_image_copy (image : rf_image) -> rf_image ; } extern "C" { pub fn rf_image_from_image (image : rf_image , rec : rf_rectangle) -> rf_image ; } extern "C" { pub fn rf_image_to_pot (image : * mut rf_image , fillColor : rf_color) ; } extern "C" { pub fn rf_image_format (image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_alpha_mask (image : * mut rf_image , alphaMask : rf_image) ; } extern "C" { pub fn rf_image_alpha_clear (image : * mut rf_image , color : rf_color , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_crop (image : * mut rf_image , threshold : f32) ; } extern "C" { pub fn rf_image_alpha_premultiply (image : * mut rf_image) ; } extern "C" { pub fn rf_image_crop (image : * mut rf_image , crop : rf_rectangle) ; } extern "C" { pub fn rf_image_resize (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_nn (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_resize_canvas (image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_mipmaps (image : * mut rf_image) ; } extern "C" { pub fn rf_image_dither (image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_extract_palette (image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_color ; } extern "C" { pub fn rf_image_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color) -> rf_image ; } extern "C" { pub fn rf_image_draw (dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle (dst : * mut rf_image , rec : rf_rectangle , color : rf_color) ; } extern "C" { pub fn rf_image_draw_rectangle_lines (dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text (dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_image_draw_text_ex (dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color) ; } extern "C" { pub fn rf_image_flip_vertical (image : * mut rf_image) ; } extern "C" { pub fn rf_image_flip_horizontal (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_cw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_rotate_ccw (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_tint (image : * mut rf_image , color : rf_color) ; } extern "C" { pub fn rf_image_color_invert (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_grayscale (image : * mut rf_image) ; } extern "C" { pub fn rf_image_color_contrast (image : * mut rf_image , contrast : f32) ; } extern "C" { pub fn rf_image_color_brightness (image : * mut rf_image , brightness : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_image_color_replace (image : * mut rf_image , color : rf_color , replace : rf_color) ; } extern "C" { pub fn rf_gen_image_color (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_set_texture_filter (texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_texture_wrap (texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_texture (texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_v (texture : rf_texture2d , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_ex (texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_rec (texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_quad (texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_pro (texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_texture_npatch (texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color) ; } extern "C" { pub fn rf_get_font_default () -> rf_font ; } extern "C" { pub fn rf_load_font (fileName : * const :: std :: os :: raw :: c_char) -> rf_font ; } extern "C" { pub fn rf_load_font_ex (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_async (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async (fontJobResult : rf_load_font_async_result) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image (image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int) -> rf_font ; } extern "C" { pub fn rf_load_font_data (fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas (chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int) -> rf_image ; } extern "C" { pub fn rf_unload_font (font : rf_font) ; } extern "C" { pub fn rf_unload_font_default () ; } extern "C" { pub fn rf_draw_fps (posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_draw_text (text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color) ; } extern "C" { pub fn rf_draw_text_rec_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color) ; } extern "C" { pub fn rf_measure_text (text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex (font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer (font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index (font : rf_font , character : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container (font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32) -> f32 ; } extern "C" { pub fn rf_draw_line3d (startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_circle3d (center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires (position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_wires_v (position : rf_vector3 , size : rf_vector3 , color : rf_color) ; } extern "C" { pub fn rf_draw_cube_texture (texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere (centerPos : rf_vector3 , radius : f32 , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_ex (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_sphere_wires (centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_cylinder_wires (position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color) ; } extern "C" { pub fn rf_draw_plane (centerPos : rf_vector3 , size : rf_vector2 , color : rf_color) ; } extern "C" { pub fn rf_draw_ray (ray : rf_ray , color : rf_color) ; } extern "C" { pub fn rf_draw_grid (slices : :: std :: os :: raw :: c_int , spacing : f32) ; } extern "C" { pub fn rf_draw_gizmo (position : rf_vector3) ; } extern "C" { pub fn rf_load_model (fileName : * const :: std :: os :: raw :: c_char) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh (mesh : rf_mesh) -> rf_model ; } extern "C" { pub fn rf_unload_model (model : rf_model) ; } extern "C" { pub fn rf_load_meshes (fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh (mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub fn rf_load_materials (fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default () -> rf_material ; } extern "C" { pub fn rf_unload_material (material : rf_material) ; } extern "C" { pub fn rf_set_material_texture (material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_model_mesh_material (model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_load_model_animations (fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation (model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_unload_model_animation (anim : rf_model_animation) ; } extern "C" { pub fn rf_is_model_animation_valid (model : rf_model , anim : rf_model_animation) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly (sides : :: std :: os :: raw :: c_int , radius : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane (width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube (width : f32 , height : f32 , length : f32) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere (radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder (radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot (radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap (heightmap : rf_image , size : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap (cubicmap : rf_image , cubeSize : rf_vector3) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box (mesh : rf_mesh) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_mesh_binormals (mesh : * mut rf_mesh) ; } extern "C" { pub fn rf_draw_model (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires (model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_model_wires_ex (model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color) ; } extern "C" { pub fn rf_draw_bounding_box (box_ : rf_bounding_box , color : rf_color) ; } extern "C" { pub fn rf_draw_billboard (camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_draw_billboard_rec (camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color) ; } extern "C" { pub fn rf_check_collision_spheres (centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32) -> bool ; } extern "C" { pub fn rf_check_collision_boxes (box1 : rf_bounding_box , box2 : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere (box_ : rf_bounding_box , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere (ray : rf_ray , center : rf_vector3 , radius : f32) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex (ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box (ray : rf_ray , box_ : rf_bounding_box) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model (ray : rf_ray , model : rf_model) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle (ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground (ray : rf_ray , groundHeight : f32) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader (vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code (vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char) -> rf_shader ; } extern "C" { pub fn rf_unload_shader (shader : rf_shader) ; } extern "C" { pub fn rf_get_shader_default () -> rf_shader ; } extern "C" { pub fn rf_get_texture_default () -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location (shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_v (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_set_shader_value_matrix (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix) ; } extern "C" { pub fn rf_set_shader_value_texture (shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d) ; } extern "C" { pub fn rf_set_matrix_projection (proj : rf_matrix) ; } extern "C" { pub fn rf_set_matrix_modelview (view : rf_matrix) ; } extern "C" { pub fn rf_get_matrix_modelview () -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection () -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap (shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter (shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf (shader : rf_shader , size : :: std :: os :: raw :: c_int) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode (shader : rf_shader) ; } extern "C" { pub fn rf_end_shader_mode () ; } extern "C" { pub fn rf_begin_blend_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_end_blend_mode () ; } extern "C" { pub fn rf_matrix_mode (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_push_matrix () ; } extern "C" { pub fn rf_pop_matrix () ; } extern "C" { pub fn rf_load_identity () ; } extern "C" { pub fn rf_translatef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_rotatef (angleDeg : f32 , x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_scalef (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_mult_matrixf (matf : * mut f32) ; } extern "C" { pub fn rf_frustum (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_ortho (left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64) ; } extern "C" { pub fn rf_gl_viewport (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_begin (mode : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_end () ; } extern "C" { pub fn rf_gl_vertex2i (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_vertex2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_vertex3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_tex_coord2f (x : f32 , y : f32) ; } extern "C" { pub fn rf_gl_normal3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4ub (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_color3f (x : f32 , y : f32 , z : f32) ; } extern "C" { pub fn rf_gl_color4f (x : f32 , y : f32 , z : f32 , w : f32) ; } extern "C" { pub fn rf_gl_enable_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_texture () ; } extern "C" { pub fn rf_gl_texture_parameters (id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_render_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_disable_render_texture () ; } extern "C" { pub fn rf_gl_enable_depth_test () ; } extern "C" { pub fn rf_gl_disable_depth_test () ; } extern "C" { pub fn rf_gl_enable_backface_culling () ; } extern "C" { pub fn rf_gl_disable_backface_culling () ; } extern "C" { pub fn rf_gl_enable_scissor_test () ; } extern "C" { pub fn rf_gl_disable_scissor_test () ; } extern "C" { pub fn rf_gl_scissor (x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_enable_wire_mode () ; } extern "C" { pub fn rf_gl_disable_wire_mode () ; } extern "C" { pub fn rf_gl_delete_textures (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_render_textures (target : rf_render_texture2d) ; } extern "C" { pub fn rf_gl_delete_shader (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_delete_buffers (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_clear_color (r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte) ; } extern "C" { pub fn rf_gl_clear_screen_buffers () ; } extern "C" { pub fn rf_gl_update_buffer (bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_load_attrib_buffer (vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close () ; } extern "C" { pub fn rf_gl_draw () ; } extern "C" { pub fn rf_gl_check_buffer_limit (vCount : :: std :: os :: raw :: c_int) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker (text : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn rf_gl_load_extensions (loader : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_unproject (source : rf_vector3 , proj : rf_matrix , view : rf_matrix) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture (data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap (data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture (id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats (format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_unload_texture (id : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rf_gl_generate_mipmaps (texture : * mut rf_texture2d) ; } extern "C" { pub fn rf_gl_read_texture_pixels (texture : rf_texture2d) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach (target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_render_texture_complete (target : rf_render_texture) -> bool ; } extern "C" { pub fn rf_gl_load_mesh (mesh : * mut rf_mesh , dynamic : bool) ; } extern "C" { pub fn rf_gl_update_mesh (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_update_mesh_at (mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int) ; } extern "C" { pub fn rf_gl_draw_mesh (mesh : rf_mesh , material : rf_material , transform : rf_matrix) ; } extern "C" { pub fn rf_gl_unload_mesh (mesh : rf_mesh) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pu... [WARN] too much data in the log, truncating it