MiniQuake

src/miniquake/native.ml

Package
miniquake.native
Reachable
Yes

Declarations

asciiChar

function asciiChar(value)

Implements the `asciiChar` operation for `miniquake.native` (ascii char).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `asciiChar`.

View source

asciiCharRaw

extern function asciiCharRaw(value as i32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_ascii_char" returns u32

Invokes the native `asciiCharRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
valuei32—Value consumed by `asciiCharRaw`.
outputbytes—Destination buffer that receives the encoded character.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `asciiCharRaw`.

View source

asciiCode

extern function asciiCode(text as cstr) from "miniquake_native.dll" symbol "mq_ascii_code" returns i32

Invokes the native `asciiCode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
textcstr—Text to parse or process.

Returns: The `i32` result produced by `asciiCode`.

View source

atan2

function atan2(y, x)

Implements the `atan2` operation for `miniquake.native` (atan2).

ParameterTypeDefaultDescription
ydynamic—The y input consumed by `atan2`.
xdynamic—The x input consumed by `atan2`.

View source

audioCapacity

extern function audioCapacity() from "miniquake_native.dll" symbol "mq_audio_capacity" returns u32

Invokes the native `audioCapacity` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `audioCapacity`.

View source

audioClose

extern function audioClose() from "miniquake_native.dll" symbol "mq_audio_close" returns void

Invokes the native `audioClose` bridge operation used by `miniquake.native`.

View source

audioCompleted

extern function audioCompleted() from "miniquake_native.dll" symbol "mq_audio_completed" returns u32

Invokes the native `audioCompleted` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `audioCompleted`.

View source

audioHeaderState

extern function audioHeaderState(index as u32) from "miniquake_native.dll" symbol "mq_audio_header_state" returns u32

Invokes the native `audioHeaderState` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
indexu32—Zero-based index of the requested entry.

Returns: The `u32` result produced by `audioHeaderState`.

View source

audioIsOpen

extern function audioIsOpen() from "miniquake_native.dll" symbol "mq_audio_is_open" returns i32

Invokes the native `audioIsOpen` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `audioIsOpen`.

View source

audioOpen

extern function audioOpen(sampleRate as u32, channels as u32, bitsPerSample as u32) from "miniquake_native.dll" symbol "mq_audio_open" returns i32

Invokes the native `audioOpen` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
sampleRateu32—The sample rate input consumed by `audioOpen`.
channelsu32—Number of interleaved audio channels.
bitsPerSampleu32—The bits per sample input consumed by `audioOpen`.

Returns: The `i32` result produced by `audioOpen`.

View source

audioPosition

extern function audioPosition(sampleMask as u32) from "miniquake_native.dll" symbol "mq_audio_position" returns u32

Invokes the native `audioPosition` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
sampleMasku32—The sample mask input consumed by `audioPosition`.

Returns: The `u32` result produced by `audioPosition`.

View source

audioQueued

extern function audioQueued() from "miniquake_native.dll" symbol "mq_audio_queued" returns u32

Invokes the native `audioQueued` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `audioQueued`.

View source

audioReset

extern function audioReset() from "miniquake_native.dll" symbol "mq_audio_reset" returns i32

Invokes the native `audioReset` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `audioReset`.

View source

audioSubmit

extern function audioSubmit(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_audio_submit" returns i32

Invokes the native `audioSubmit` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `audioSubmit`.

View source

audioSubmitted

extern function audioSubmitted() from "miniquake_native.dll" symbol "mq_audio_submitted" returns u32

Invokes the native `audioSubmitted` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `audioSubmitted`.

View source

audioUnderruns

extern function audioUnderruns() from "miniquake_native.dll" symbol "mq_audio_underruns" returns u32

Invokes the native `audioUnderruns` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `audioUnderruns`.

View source

bitsFloat

function bitsFloat(bits)

Implements the `bitsFloat` operation for `miniquake.native` (bits float).

ParameterTypeDefaultDescription
bitsdynamic—The bits input consumed by `bitsFloat`.

View source

conprocCloseHandle

extern function conprocCloseHandle(handle as u64) from "miniquake_native.dll" symbol "mq_conproc_close_handle" returns void

Invokes the native `conprocCloseHandle` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `conprocCloseHandle`.

View source

conprocCreateEvent

extern function conprocCreateEvent() from "miniquake_native.dll" symbol "mq_conproc_create_event" returns u64

Invokes the native `conprocCreateEvent` bridge operation used by `miniquake.native`.

Returns: The `u64` result produced by `conprocCreateEvent`.

View source

conprocMap

extern function conprocMap(handle as u64) from "miniquake_native.dll" symbol "mq_conproc_map" returns ptr

Invokes the native `conprocMap` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `conprocMap`.

Returns: The `ptr` result produced by `conprocMap`.

View source

conprocReadConsoleText

function conprocReadConsoleText(beginLine, endLine)

Implements the `conprocReadConsoleText` operation for `miniquake.native` (conproc read console text).

ParameterTypeDefaultDescription
beginLinedynamic—The begin line input consumed by `conprocReadConsoleText`.
endLinedynamic—The end line input consumed by `conprocReadConsoleText`.

View source

conprocReadConsoleTextRaw

extern function conprocReadConsoleTextRaw(beginLine as i32, endLine as i32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_conproc_read_console_text" returns u32

Invokes the native `conprocReadConsoleTextRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
beginLinei32—The begin line input consumed by `conprocReadConsoleTextRaw`.
endLinei32—The end line input consumed by `conprocReadConsoleTextRaw`.
outputbytes—Destination buffer that receives console text.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `conprocReadConsoleTextRaw`.

View source

conprocReadI32

extern function conprocReadI32(mapped as ptr, index as u32) from "miniquake_native.dll" symbol "mq_conproc_read_i32" returns i32

Invokes the native `conprocReadI32` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
mappedptr—The mapped input consumed by `conprocReadI32`.
indexu32—Zero-based index of the requested entry.

Returns: The `i32` result produced by `conprocReadI32`.

View source

conprocReadText

function conprocReadText(mapped, byteOffset)

Implements the `conprocReadText` operation for `miniquake.native` (conproc read text).

ParameterTypeDefaultDescription
mappeddynamic—The mapped input consumed by `conprocReadText`.
byteOffsetdynamic—Zero-based offset of the requested data.

View source

conprocReadTextRaw

extern function conprocReadTextRaw(mapped as ptr, byteOffset as u32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_conproc_read_text" returns u32

Invokes the native `conprocReadTextRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
mappedptr—The mapped input consumed by `conprocReadTextRaw`.
byteOffsetu32—Zero-based offset of the requested data.
outputbytes—Destination buffer that receives process text.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `conprocReadTextRaw`.

View source

conprocScreenLines

extern function conprocScreenLines() from "miniquake_native.dll" symbol "mq_conproc_screen_lines" returns i32

Invokes the native `conprocScreenLines` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `conprocScreenLines`.

View source

conprocSetEvent

extern function conprocSetEvent(handle as u64) from "miniquake_native.dll" symbol "mq_conproc_set_event" returns i32

Invokes the native `conprocSetEvent` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `conprocSetEvent`.

Returns: The `i32` result produced by `conprocSetEvent`.

View source

conprocSetScreenSize

extern function conprocSetScreenSize(width as i32, height as i32) from "miniquake_native.dll" symbol "mq_conproc_set_screen_size" returns i32

Invokes the native `conprocSetScreenSize` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.

Returns: The `i32` result produced by `conprocSetScreenSize`.

View source

conprocUnmap

extern function conprocUnmap(mapped as ptr) from "miniquake_native.dll" symbol "mq_conproc_unmap" returns i32

Invokes the native `conprocUnmap` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
mappedptr—The mapped input consumed by `conprocUnmap`.

Returns: The `i32` result produced by `conprocUnmap`.

View source

conprocWaitAny

extern function conprocWaitAny(first as u64, second as u64, milliseconds as u32) from "miniquake_native.dll" symbol "mq_conproc_wait_any" returns i32

Invokes the native `conprocWaitAny` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
firstu64—The first input consumed by `conprocWaitAny`.
secondu64—The second input consumed by `conprocWaitAny`.
millisecondsu32—The milliseconds input consumed by `conprocWaitAny`.

Returns: The `i32` result produced by `conprocWaitAny`.

View source

conprocWriteI32

extern function conprocWriteI32(mapped as ptr, index as u32, value as i32) from "miniquake_native.dll" symbol "mq_conproc_write_i32" returns void

Invokes the native `conprocWriteI32` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
mappedptr—The mapped input consumed by `conprocWriteI32`.
indexu32—Zero-based index of the requested entry.
valuei32—Value consumed by `conprocWriteI32`.

View source

conprocWriteKey

extern function conprocWriteKey(character as i32, virtualKey as i32, scanCode as i32, shift as i32, down as i32) from "miniquake_native.dll" symbol "mq_conproc_write_key" returns i32

Invokes the native `conprocWriteKey` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
characteri32—The character input consumed by `conprocWriteKey`.
virtualKeyi32—The virtual key input consumed by `conprocWriteKey`.
scanCodei32—The scan code input consumed by `conprocWriteKey`.
shifti32—The shift input consumed by `conprocWriteKey`.
downi32—The down input consumed by `conprocWriteKey`.

Returns: The `i32` result produced by `conprocWriteKey`.

View source

conprocWriteText

extern function conprocWriteText(mapped as ptr, byteOffset as u32, text as cstr, capacity as u32) from "miniquake_native.dll" symbol "mq_conproc_write_text" returns i32

Invokes the native `conprocWriteText` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
mappedptr—The mapped input consumed by `conprocWriteText`.
byteOffsetu32—Zero-based offset of the requested data.
textcstr—Text to parse or process.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `i32` result produced by `conprocWriteText`.

View source

cos

function cos(value)

Implements the `cos` operation for `miniquake.native` (cos).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `cos`.

View source

f32Atan2

extern function f32Atan2(yBits as u32, xBits as u32) from "miniquake_native.dll" symbol "mq_f32_atan2" returns u32

Invokes the native `f32Atan2` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
yBitsu32—The y bits input consumed by `f32Atan2`.
xBitsu32—The x bits input consumed by `f32Atan2`.

Returns: The `u32` result produced by `f32Atan2`.

View source

f32Cos

extern function f32Cos(bits as u32) from "miniquake_native.dll" symbol "mq_f32_cos" returns u32

Invokes the native `f32Cos` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32Cos`.

Returns: The `u32` result produced by `f32Cos`.

View source

f32FromRaw

extern function f32FromRaw(rawValue as u64) from "miniquake_native.dll" symbol "mq_f32_from_ml_raw" returns u32

Invokes the native `f32FromRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
rawValueu64—The raw value input consumed by `f32FromRaw`.

Returns: The `u32` result produced by `f32FromRaw`.

View source

f32FromText

extern function f32FromText(text as cstr) from "miniquake_native.dll" symbol "mq_f32_from_text" returns u32

Invokes the native `f32FromText` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
textcstr—Text to parse or process.

Returns: The `u32` result produced by `f32FromText`.

View source

f32Sin

extern function f32Sin(bits as u32) from "miniquake_native.dll" symbol "mq_f32_sin" returns u32

Invokes the native `f32Sin` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32Sin`.

Returns: The `u32` result produced by `f32Sin`.

View source

f32Sqrt

extern function f32Sqrt(bits as u32) from "miniquake_native.dll" symbol "mq_f32_sqrt" returns u32

Invokes the native `f32Sqrt` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32Sqrt`.

Returns: The `u32` result produced by `f32Sqrt`.

View source

f32ToFixed6

function f32ToFixed6(bits)

C printf("%f") boundary used by Cvar_SetValue, ED_Write and version-5 savegames. The native bridge avoids i32 overflow for values such as the stock Quake item bitmask 4097 and preserves negative zero exactly.

ParameterTypeDefaultDescription
bitsdynamic—The bits input consumed by `f32ToFixed6`.

View source

f32ToFixed6Raw

extern function f32ToFixed6Raw(bits as u32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_f32_to_fixed6" returns u32

Invokes the native `f32ToFixed6Raw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32ToFixed6Raw`.
outputbytes—Destination buffer that receives the fixed-point text.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `f32ToFixed6Raw`.

View source

f32ToI32Trunc

extern function f32ToI32Trunc(bits as u32) from "miniquake_native.dll" symbol "mq_f32_to_i32_trunc" returns i32

Invokes the native `f32ToI32Trunc` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32ToI32Trunc`.

Returns: The `i32` result produced by `f32ToI32Trunc`.

View source

f32ToRaw

extern function f32ToRaw(bits as u32) from "miniquake_native.dll" symbol "mq_f32_to_ml_raw" returns u64

Invokes the native `f32ToRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32ToRaw`.

Returns: The `u64` result produced by `f32ToRaw`.

View source

f32ToText

function f32ToText(bits)

Implements the `f32ToText` operation for `miniquake.native` (f32 to text).

ParameterTypeDefaultDescription
bitsdynamic—The bits input consumed by `f32ToText`.

View source

f32ToTextRaw

extern function f32ToTextRaw(bits as u32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_f32_to_text" returns u32

Invokes the native `f32ToTextRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
bitsu32—The bits input consumed by `f32ToTextRaw`.
outputbytes—Destination buffer that receives the formatted text.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `f32ToTextRaw`.

View source

fixedSixText

function fixedSixText(value)

Implements the `fixedSixText` operation for `miniquake.native` (fixed six text).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `fixedSixText`.

View source

floatBits

function floatBits(value)

Return float bits derived from the active module state.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `floatBits`.

View source

floatText

function floatText(value)

Implements the `floatText` operation for `miniquake.native` (float text).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `floatText`.

View source

glActiveTexture

extern function glActiveTexture(unit as i32) from "miniquake_native.dll" symbol "mq_gl_active_texture" returns void

Invokes the native `glActiveTexture` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
uniti32—The unit input consumed by `glActiveTexture`.

View source

glAlphaFunc

extern function glAlphaFunc(functionName as u32, referenceBits as u32) from "miniquake_native.dll" symbol "mq_gl_alpha_func" returns void

Invokes the native `glAlphaFunc` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
functionNameu32—Name that identifies the requested value or resource.
referenceBitsu32—The reference bits input consumed by `glAlphaFunc`.

View source

glBegin

extern function glBegin(mode as u32) from "miniquake_native.dll" symbol "mq_gl_begin" returns void

Invokes the native `glBegin` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
modeu32—The mode input consumed by `glBegin`.

View source

glBindTexture

extern function glBindTexture(target as u32, texture as u32) from "miniquake_native.dll" symbol "mq_gl_bind_texture" returns void

Invokes the native `glBindTexture` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
targetu32—The target input consumed by `glBindTexture`.
textureu32—Texture resource processed by the operation.

View source

glBlendFunc

extern function glBlendFunc(source as u32, destination as u32) from "miniquake_native.dll" symbol "mq_gl_blend_func" returns void

Invokes the native `glBlendFunc` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
sourceu32—Source value or collection to read.
destinationu32—Destination value or collection to update.

View source

glClear

extern function glClear(mask as u32) from "miniquake_native.dll" symbol "mq_gl_clear" returns void

Invokes the native `glClear` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
masku32—The mask input consumed by `glClear`.

View source

glClearColor

extern function glClearColor(redBits as u32, greenBits as u32, blueBits as u32, alphaBits as u32) from "miniquake_native.dll" symbol "mq_gl_clear_color" returns void

Invokes the native `glClearColor` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
redBitsu32—The red bits input consumed by `glClearColor`.
greenBitsu32—The green bits input consumed by `glClearColor`.
blueBitsu32—The blue bits input consumed by `glClearColor`.
alphaBitsu32—The alpha bits input consumed by `glClearColor`.

View source

glColor4ub

extern function glColor4ub(red as u32, green as u32, blue as u32, alpha as u32) from "miniquake_native.dll" symbol "mq_gl_color4ub" returns void

Invokes the native `glColor4ub` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
redu32—The red input consumed by `glColor4ub`.
greenu32—The green input consumed by `glColor4ub`.
blueu32—The blue input consumed by `glColor4ub`.
alphau32—The alpha input consumed by `glColor4ub`.

View source

glCullFace

extern function glCullFace(mode as u32) from "miniquake_native.dll" symbol "mq_gl_cull_face" returns void

Invokes the native `glCullFace` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
modeu32—The mode input consumed by `glCullFace`.

View source

glDeleteTextures

extern function glDeleteTextures(count as i32, textureIds as bytes) from "miniquake_native.dll" symbol "mq_gl_delete_textures" returns void

Invokes the native `glDeleteTextures` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
counti32—Number of entries or units to process.
textureIdsbytes—The texture ids input consumed by `glDeleteTextures`.

View source

glDepthFunc

extern function glDepthFunc(functionName as u32) from "miniquake_native.dll" symbol "mq_gl_depth_func" returns void

Invokes the native `glDepthFunc` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
functionNameu32—Name that identifies the requested value or resource.

View source

glDepthMask

extern function glDepthMask(enabled as i32) from "miniquake_native.dll" symbol "mq_gl_depth_mask" returns void

Invokes the native `glDepthMask` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
enabledi32—Whether the optional behavior is enabled.

View source

glDepthRange

extern function glDepthRange(nearBits as u32, farBits as u32) from "miniquake_native.dll" symbol "mq_gl_depth_range" returns void

Invokes the native `glDepthRange` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
nearBitsu32—The near bits input consumed by `glDepthRange`.
farBitsu32—The far bits input consumed by `glDepthRange`.

View source

glDisable

extern function glDisable(capability as u32) from "miniquake_native.dll" symbol "mq_gl_disable" returns void

Invokes the native `glDisable` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
capabilityu32—The capability input consumed by `glDisable`.

View source

glDrawAliasBatch

extern function glDrawAliasBatch(data as bytes, byteCount as u32, shadeDots as bytes, shadeDotCount as u32, shadeLightBits as u32) from "miniquake_native.dll" symbol "mq_gl_draw_alias_batch" returns i32

Invokes the native `glDrawAliasBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.
shadeDotsbytes—The shade dots input consumed by `glDrawAliasBatch`.
shadeDotCountu32—Number of entries or units to process.
shadeLightBitsu32—The shade light bits input consumed by `glDrawAliasBatch`.

Returns: The `i32` result produced by `glDrawAliasBatch`.

View source

glDrawAliasModel

extern function glDrawAliasModel(data as bytes, byteCount as u32, shadeDots as bytes, shadeDotCount as u32, shadeLightBits as u32, originX as u32, originY as u32, originZ as u32, angleX as u32, angleY as u32, angleZ as u32, scaleOriginX as u32, scaleOriginY as u32, scaleOriginZ as u32, scaleX as u32, scaleY as u32, scaleZ as u32, doubleEyes as i32, smooth as i32) from "miniquake_native.dll" symbol "mq_gl_draw_alias_model" returns i32

Invokes the native `glDrawAliasModel` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.
shadeDotsbytes—The shade dots input consumed by `glDrawAliasModel`.
shadeDotCountu32—Number of entries or units to process.
shadeLightBitsu32—The shade light bits input consumed by `glDrawAliasModel`.
originXu32—The origin x input consumed by `glDrawAliasModel`.
originYu32—The origin y input consumed by `glDrawAliasModel`.
originZu32—The origin z input consumed by `glDrawAliasModel`.
angleXu32—The angle x input consumed by `glDrawAliasModel`.
angleYu32—The angle y input consumed by `glDrawAliasModel`.
angleZu32—The angle z input consumed by `glDrawAliasModel`.
scaleOriginXu32—The scale origin x input consumed by `glDrawAliasModel`.
scaleOriginYu32—The scale origin y input consumed by `glDrawAliasModel`.
scaleOriginZu32—The scale origin z input consumed by `glDrawAliasModel`.
scaleXu32—The scale x input consumed by `glDrawAliasModel`.
scaleYu32—The scale y input consumed by `glDrawAliasModel`.
scaleZu32—The scale z input consumed by `glDrawAliasModel`.
doubleEyesi32—The double eyes input consumed by `glDrawAliasModel`.
smoothi32—The smooth input consumed by `glDrawAliasModel`.

Returns: The `i32` result produced by `glDrawAliasModel`.

View source

glDrawAliasModelLerp

extern function glDrawAliasModelLerp(previousData as bytes, previousByteCount as u32, currentData as bytes, currentByteCount as u32, fractionBits as u32, shadeDots as bytes, shadeDotCount as u32, shadeLightBits as u32, originX as u32, originY as u32, originZ as u32, angleX as u32, angleY as u32, angleZ as u32, scaleOriginX as u32, scaleOriginY as u32, scaleOriginZ as u32, scaleX as u32, scaleY as u32, scaleZ as u32, doubleEyes as i32, smooth as i32) from "miniquake_native.dll" symbol "mq_gl_draw_alias_model_lerp" returns i32

Invokes the native `glDrawAliasModelLerp` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
previousDatabytes—The previous data input consumed by `glDrawAliasModelLerp`.
previousByteCountu32—Number of entries or units to process.
currentDatabytes—The current data input consumed by `glDrawAliasModelLerp`.
currentByteCountu32—Number of entries or units to process.
fractionBitsu32—The fraction bits input consumed by `glDrawAliasModelLerp`.
shadeDotsbytes—The shade dots input consumed by `glDrawAliasModelLerp`.
shadeDotCountu32—Number of entries or units to process.
shadeLightBitsu32—The shade light bits input consumed by `glDrawAliasModelLerp`.
originXu32—The origin x input consumed by `glDrawAliasModelLerp`.
originYu32—The origin y input consumed by `glDrawAliasModelLerp`.
originZu32—The origin z input consumed by `glDrawAliasModelLerp`.
angleXu32—The angle x input consumed by `glDrawAliasModelLerp`.
angleYu32—The angle y input consumed by `glDrawAliasModelLerp`.
angleZu32—The angle z input consumed by `glDrawAliasModelLerp`.
scaleOriginXu32—The scale origin x input consumed by `glDrawAliasModelLerp`.
scaleOriginYu32—The scale origin y input consumed by `glDrawAliasModelLerp`.
scaleOriginZu32—The scale origin z input consumed by `glDrawAliasModelLerp`.
scaleXu32—The scale x input consumed by `glDrawAliasModelLerp`.
scaleYu32—The scale y input consumed by `glDrawAliasModelLerp`.
scaleZu32—The scale z input consumed by `glDrawAliasModelLerp`.
doubleEyesi32—The double eyes input consumed by `glDrawAliasModelLerp`.
smoothi32—The smooth input consumed by `glDrawAliasModelLerp`.

Returns: The `i32` result produced by `glDrawAliasModelLerp`.

View source

glDrawAliasRayShadow

extern function glDrawAliasRayShadow(data as bytes, byteCount as u32, originX as u32, originY as u32, originZ as u32, angleX as u32, angleY as u32, angleZ as u32, scaleOriginX as u32, scaleOriginY as u32, scaleOriginZ as u32, scaleX as u32, scaleY as u32, scaleZ as u32, doubleEyes as i32, pointLightActive as i32, lightX as u32, lightY as u32, lightZ as u32, sampleX as u32, sampleY as u32) from "miniquake_native.dll" symbol "mq_gl_draw_alias_ray_shadow" returns i32

Invokes the native `glDrawAliasRayShadow` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.
originXu32—The origin x input consumed by `glDrawAliasRayShadow`.
originYu32—The origin y input consumed by `glDrawAliasRayShadow`.
originZu32—The origin z input consumed by `glDrawAliasRayShadow`.
angleXu32—The angle x input consumed by `glDrawAliasRayShadow`.
angleYu32—The angle y input consumed by `glDrawAliasRayShadow`.
angleZu32—The angle z input consumed by `glDrawAliasRayShadow`.
scaleOriginXu32—The scale origin x input consumed by `glDrawAliasRayShadow`.
scaleOriginYu32—The scale origin y input consumed by `glDrawAliasRayShadow`.
scaleOriginZu32—The scale origin z input consumed by `glDrawAliasRayShadow`.
scaleXu32—The scale x input consumed by `glDrawAliasRayShadow`.
scaleYu32—The scale y input consumed by `glDrawAliasRayShadow`.
scaleZu32—The scale z input consumed by `glDrawAliasRayShadow`.
doubleEyesi32—The double eyes input consumed by `glDrawAliasRayShadow`.
pointLightActivei32—The point light active input consumed by `glDrawAliasRayShadow`.
lightXu32—The light x input consumed by `glDrawAliasRayShadow`.
lightYu32—The light y input consumed by `glDrawAliasRayShadow`.
lightZu32—The light z input consumed by `glDrawAliasRayShadow`.
sampleXu32—The sample x input consumed by `glDrawAliasRayShadow`.
sampleYu32—The sample y input consumed by `glDrawAliasRayShadow`.

Returns: The `i32` result produced by `glDrawAliasRayShadow`.

View source

glDrawBuffer

extern function glDrawBuffer(mode as u32) from "miniquake_native.dll" symbol "mq_gl_draw_buffer" returns void

Invokes the native `glDrawBuffer` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
modeu32—The mode input consumed by `glDrawBuffer`.

View source

glDrawParticleBatch

extern function glDrawParticleBatch(data as bytes, byteCount as u32, viewOriginX as u32, viewOriginY as u32, viewOriginZ as u32, viewForwardX as u32, viewForwardY as u32, viewForwardZ as u32, viewUpX as u32, viewUpY as u32, viewUpZ as u32, viewRightX as u32, viewRightY as u32, viewRightZ as u32) from "miniquake_native.dll" symbol "mq_gl_draw_particle_batch" returns i32

Invokes the native `glDrawParticleBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.
viewOriginXu32—The view origin x input consumed by `glDrawParticleBatch`.
viewOriginYu32—The view origin y input consumed by `glDrawParticleBatch`.
viewOriginZu32—The view origin z input consumed by `glDrawParticleBatch`.
viewForwardXu32—The view forward x input consumed by `glDrawParticleBatch`.
viewForwardYu32—The view forward y input consumed by `glDrawParticleBatch`.
viewForwardZu32—The view forward z input consumed by `glDrawParticleBatch`.
viewUpXu32—The view up x input consumed by `glDrawParticleBatch`.
viewUpYu32—The view up y input consumed by `glDrawParticleBatch`.
viewUpZu32—The view up z input consumed by `glDrawParticleBatch`.
viewRightXu32—The view right x input consumed by `glDrawParticleBatch`.
viewRightYu32—The view right y input consumed by `glDrawParticleBatch`.
viewRightZu32—The view right z input consumed by `glDrawParticleBatch`.

Returns: The `i32` result produced by `glDrawParticleBatch`.

View source

glDrawParticleBatchStyled

extern function glDrawParticleBatchStyled(data as bytes, byteCount as u32, viewOriginX as u32, viewOriginY as u32, viewOriginZ as u32, viewForwardX as u32, viewForwardY as u32, viewForwardZ as u32, viewUpX as u32, viewUpY as u32, viewUpZ as u32, viewRightX as u32, viewRightY as u32, viewRightZ as u32) from "miniquake_native.dll" symbol "mq_gl_draw_particle_batch_styled" returns i32

Invokes the native `glDrawParticleBatchStyled` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.
viewOriginXu32—The view origin x input consumed by `glDrawParticleBatchStyled`.
viewOriginYu32—The view origin y input consumed by `glDrawParticleBatchStyled`.
viewOriginZu32—The view origin z input consumed by `glDrawParticleBatchStyled`.
viewForwardXu32—The view forward x input consumed by `glDrawParticleBatchStyled`.
viewForwardYu32—The view forward y input consumed by `glDrawParticleBatchStyled`.
viewForwardZu32—The view forward z input consumed by `glDrawParticleBatchStyled`.
viewUpXu32—The view up x input consumed by `glDrawParticleBatchStyled`.
viewUpYu32—The view up y input consumed by `glDrawParticleBatchStyled`.
viewUpZu32—The view up z input consumed by `glDrawParticleBatchStyled`.
viewRightXu32—The view right x input consumed by `glDrawParticleBatchStyled`.
viewRightYu32—The view right y input consumed by `glDrawParticleBatchStyled`.
viewRightZu32—The view right z input consumed by `glDrawParticleBatchStyled`.

Returns: The `i32` result produced by `glDrawParticleBatchStyled`.

View source

glDrawShadowBatch

extern function glDrawShadowBatch(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_gl_draw_shadow_batch" returns i32

Invokes the native `glDrawShadowBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `glDrawShadowBatch`.

View source

glEnable

extern function glEnable(capability as u32) from "miniquake_native.dll" symbol "mq_gl_enable" returns void

Invokes the native `glEnable` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
capabilityu32—The capability input consumed by `glEnable`.

View source

glEnd

extern function glEnd() from "miniquake_native.dll" symbol "mq_gl_end" returns void

Invokes the native `glEnd` bridge operation used by `miniquake.native`.

View source

glEnhancedAvailable

extern function glEnhancedAvailable() from "miniquake_native.dll" symbol "mq_gl_enhanced_available" returns i32

Invokes the native `glEnhancedAvailable` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `glEnhancedAvailable`.

View source

glEnhancedBeginFrame

extern function glEnhancedBeginFrame(lights as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_gl_enhanced_begin_frame" returns i32

Invokes the native `glEnhancedBeginFrame` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
lightsbytes—The lights input consumed by `glEnhancedBeginFrame`.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `glEnhancedBeginFrame`.

View source

glEnhancedConfigure

extern function glEnhancedConfigure(enabled as i32, shadows as i32, shadowQuality as i32) from "miniquake_native.dll" symbol "mq_gl_enhanced_configure" returns i32

Invokes the native `glEnhancedConfigure` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
enabledi32—Whether the optional behavior is enabled.
shadowsi32—The shadows input consumed by `glEnhancedConfigure`.
shadowQualityi32—The shadow quality input consumed by `glEnhancedConfigure`.

Returns: The `i32` result produced by `glEnhancedConfigure`.

View source

glEnhancedDrawKind

extern function glEnhancedDrawKind(kind as i32) from "miniquake_native.dll" symbol "mq_gl_enhanced_draw_kind" returns void

Invokes the native `glEnhancedDrawKind` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
kindi32—The kind input consumed by `glEnhancedDrawKind`.

View source

glEnhancedEndFrame

extern function glEnhancedEndFrame() from "miniquake_native.dll" symbol "mq_gl_enhanced_end_frame" returns void

Invokes the native `glEnhancedEndFrame` bridge operation used by `miniquake.native`.

View source

glFinish

extern function glFinish() from "miniquake_native.dll" symbol "mq_gl_finish" returns void

Invokes the native `glFinish` bridge operation used by `miniquake.native`.

View source

glFlush

extern function glFlush() from "miniquake_native.dll" symbol "mq_gl_flush" returns void

Invokes the native `glFlush` bridge operation used by `miniquake.native`.

View source

glFrustum

extern function glFrustum(leftBits as u32, rightBits as u32, bottomBits as u32, topBits as u32, nearBits as u32, farBits as u32) from "miniquake_native.dll" symbol "mq_gl_frustum" returns void

Invokes the native `glFrustum` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
leftBitsu32—The left bits input consumed by `glFrustum`.
rightBitsu32—The right bits input consumed by `glFrustum`.
bottomBitsu32—The bottom bits input consumed by `glFrustum`.
topBitsu32—The top bits input consumed by `glFrustum`.
nearBitsu32—The near bits input consumed by `glFrustum`.
farBitsu32—The far bits input consumed by `glFrustum`.

View source

glGenTextures

extern function glGenTextures(count as i32, textureIds as bytes) from "miniquake_native.dll" symbol "mq_gl_gen_textures" returns void

Invokes the native `glGenTextures` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
counti32—Number of entries or units to process.
textureIdsbytes—The texture ids input consumed by `glGenTextures`.

View source

glGetError

extern function glGetError() from "miniquake_native.dll" symbol "mq_gl_get_error" returns u32

Invokes the native `glGetError` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `glGetError`.

View source

glGetString

function glGetString(name)

Implements the `glGetString` operation for `miniquake.native` (gl get string).

ParameterTypeDefaultDescription
namedynamic—Stable name that identifies the requested object or option.

View source

glGetStringRaw

extern function glGetStringRaw(name as u32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_gl_get_string" returns u32

Invokes the native `glGetStringRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
nameu32—Stable name that identifies the requested object or option.
outputbytes—Destination buffer that receives the OpenGL string.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `glGetStringRaw`.

View source

glLoadIdentity

extern function glLoadIdentity() from "miniquake_native.dll" symbol "mq_gl_load_identity" returns void

Invokes the native `glLoadIdentity` bridge operation used by `miniquake.native`.

View source

glMatrixMode

extern function glMatrixMode(mode as u32) from "miniquake_native.dll" symbol "mq_gl_matrix_mode" returns void

Invokes the native `glMatrixMode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
modeu32—The mode input consumed by `glMatrixMode`.

View source

glMultiTexCoord2

extern function glMultiTexCoord2(unit as i32, sBits as u32, tBits as u32) from "miniquake_native.dll" symbol "mq_gl_multi_tex_coord2" returns void

Invokes the native `glMultiTexCoord2` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
uniti32—The unit input consumed by `glMultiTexCoord2`.
sBitsu32—The s bits input consumed by `glMultiTexCoord2`.
tBitsu32—The t bits input consumed by `glMultiTexCoord2`.

View source

glMultitextureAvailable

extern function glMultitextureAvailable() from "miniquake_native.dll" symbol "mq_gl_multitexture_available" returns i32

Invokes the native `glMultitextureAvailable` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `glMultitextureAvailable`.

View source

glOrtho

extern function glOrtho(leftBits as u32, rightBits as u32, bottomBits as u32, topBits as u32, nearBits as u32, farBits as u32) from "miniquake_native.dll" symbol "mq_gl_ortho" returns void

Invokes the native `glOrtho` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
leftBitsu32—The left bits input consumed by `glOrtho`.
rightBitsu32—The right bits input consumed by `glOrtho`.
bottomBitsu32—The bottom bits input consumed by `glOrtho`.
topBitsu32—The top bits input consumed by `glOrtho`.
nearBitsu32—The near bits input consumed by `glOrtho`.
farBitsu32—The far bits input consumed by `glOrtho`.

View source

glPolygonMode

extern function glPolygonMode(face as u32, mode as u32) from "miniquake_native.dll" symbol "mq_gl_polygon_mode" returns void

Invokes the native `glPolygonMode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
faceu32—The face input consumed by `glPolygonMode`.
modeu32—The mode input consumed by `glPolygonMode`.

View source

glPopMatrix

extern function glPopMatrix() from "miniquake_native.dll" symbol "mq_gl_pop_matrix" returns void

Invokes the native `glPopMatrix` bridge operation used by `miniquake.native`.

View source

glPushMatrix

extern function glPushMatrix() from "miniquake_native.dll" symbol "mq_gl_push_matrix" returns void

Invokes the native `glPushMatrix` bridge operation used by `miniquake.native`.

View source

glReadPixels

extern function glReadPixels(x as i32, y as i32, width as i32, height as i32, format as u32, type as u32, pixels as bytes) from "miniquake_native.dll" symbol "mq_gl_read_pixels" returns void

Invokes the native `glReadPixels` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xi32—The x input consumed by `glReadPixels`.
yi32—The y input consumed by `glReadPixels`.
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
formatu32—The format input consumed by `glReadPixels`.
typeu32—The type input consumed by `glReadPixels`.
pixelsbytes—The pixels input consumed by `glReadPixels`.

View source

glRotate

extern function glRotate(angleBits as u32, xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_rotate" returns void

Invokes the native `glRotate` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
angleBitsu32—The angle bits input consumed by `glRotate`.
xBitsu32—The x bits input consumed by `glRotate`.
yBitsu32—The y bits input consumed by `glRotate`.
zBitsu32—The z bits input consumed by `glRotate`.

View source

glScale

extern function glScale(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_scale" returns void

Invokes the native `glScale` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xBitsu32—The x bits input consumed by `glScale`.
yBitsu32—The y bits input consumed by `glScale`.
zBitsu32—The z bits input consumed by `glScale`.

View source

glShadeModel

extern function glShadeModel(mode as u32) from "miniquake_native.dll" symbol "mq_gl_shade_model" returns void

Invokes the native `glShadeModel` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
modeu32—The mode input consumed by `glShadeModel`.

View source

glStaticGeometryCall

extern function glStaticGeometryCall(keyValue as u64, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call" returns i32

Invokes the native `glStaticGeometryCall` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
keyValueu64—The key value input consumed by `glStaticGeometryCall`.
passValuei32—The pass value input consumed by `glStaticGeometryCall`.

Returns: The `i32` result produced by `glStaticGeometryCall`.

View source

glStaticGeometryCallBatch

extern function glStaticGeometryCallBatch(keys as bytes, byteCount as u32, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call_batch" returns i32

Invokes the native `glStaticGeometryCallBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
keysbytes—The keys input consumed by `glStaticGeometryCallBatch`.
byteCountu32—Number of entries or units to process.
passValuei32—The pass value input consumed by `glStaticGeometryCallBatch`.

Returns: The `i32` result produced by `glStaticGeometryCallBatch`.

View source

glStaticGeometryCallMultitextureBatch

extern function glStaticGeometryCallMultitextureBatch(records as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call_multitexture_batch" returns i32

Invokes the native `glStaticGeometryCallMultitextureBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
recordsbytes—The records input consumed by `glStaticGeometryCallMultitextureBatch`.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `glStaticGeometryCallMultitextureBatch`.

View source

glStaticGeometryClear

extern function glStaticGeometryClear() from "miniquake_native.dll" symbol "mq_gl_static_geometry_clear" returns void

Invokes the native `glStaticGeometryClear` bridge operation used by `miniquake.native`.

View source

glStaticGeometryPrepare

extern function glStaticGeometryPrepare(keyValue as u64, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_prepare" returns i32

Invokes the native `glStaticGeometryPrepare` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
keyValueu64—The key value input consumed by `glStaticGeometryPrepare`.
passValuei32—The pass value input consumed by `glStaticGeometryPrepare`.

Returns: The `i32` result produced by `glStaticGeometryPrepare`.

View source

glTexcoord2

extern function glTexcoord2(sBits as u32, tBits as u32) from "miniquake_native.dll" symbol "mq_gl_texcoord2" returns void

Invokes the native `glTexcoord2` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
sBitsu32—The s bits input consumed by `glTexcoord2`.
tBitsu32—The t bits input consumed by `glTexcoord2`.

View source

glTexEnvI

extern function glTexEnvI(target as u32, name as u32, value as i32) from "miniquake_native.dll" symbol "mq_gl_tex_env_i" returns void

Invokes the native `glTexEnvI` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
targetu32—The target input consumed by `glTexEnvI`.
nameu32—Stable name that identifies the requested object or option.
valuei32—Value consumed by `glTexEnvI`.

View source

glTexImage2D

extern function glTexImage2D(target as u32, level as i32, internalFormat as i32, width as i32, height as i32, border as i32, format as u32, type as u32, pixels as bytes) from "miniquake_native.dll" symbol "mq_gl_tex_image_2d" returns void

Invokes the native `glTexImage2D` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
targetu32—The target input consumed by `glTexImage2D`.
leveli32—The level input consumed by `glTexImage2D`.
internalFormati32—The internal format input consumed by `glTexImage2D`.
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
borderi32—The border input consumed by `glTexImage2D`.
formatu32—The format input consumed by `glTexImage2D`.
typeu32—The type input consumed by `glTexImage2D`.
pixelsbytes—The pixels input consumed by `glTexImage2D`.

View source

glTexParameterI

extern function glTexParameterI(target as u32, name as u32, value as i32) from "miniquake_native.dll" symbol "mq_gl_tex_parameter_i" returns void

Invokes the native `glTexParameterI` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
targetu32—The target input consumed by `glTexParameterI`.
nameu32—Stable name that identifies the requested object or option.
valuei32—Value consumed by `glTexParameterI`.

View source

glTexSubImage2D

extern function glTexSubImage2D(target as u32, level as i32, xOffset as i32, yOffset as i32, width as i32, height as i32, format as u32, type as u32, pixels as bytes) from "miniquake_native.dll" symbol "mq_gl_tex_sub_image_2d" returns void

Invokes the native `glTexSubImage2D` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
targetu32—The target input consumed by `glTexSubImage2D`.
leveli32—The level input consumed by `glTexSubImage2D`.
xOffseti32—Zero-based offset of the requested data.
yOffseti32—Zero-based offset of the requested data.
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
formatu32—The format input consumed by `glTexSubImage2D`.
typeu32—The type input consumed by `glTexSubImage2D`.
pixelsbytes—The pixels input consumed by `glTexSubImage2D`.

View source

glTranslate

extern function glTranslate(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_translate" returns void

Invokes the native `glTranslate` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xBitsu32—The x bits input consumed by `glTranslate`.
yBitsu32—The y bits input consumed by `glTranslate`.
zBitsu32—The z bits input consumed by `glTranslate`.

View source

glVertex2

extern function glVertex2(xBits as u32, yBits as u32) from "miniquake_native.dll" symbol "mq_gl_vertex2" returns void

Invokes the native `glVertex2` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xBitsu32—The x bits input consumed by `glVertex2`.
yBitsu32—The y bits input consumed by `glVertex2`.

View source

glVertex3

extern function glVertex3(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_vertex3" returns void

Invokes the native `glVertex3` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xBitsu32—The x bits input consumed by `glVertex3`.
yBitsu32—The y bits input consumed by `glVertex3`.
zBitsu32—The z bits input consumed by `glVertex3`.

View source

glViewport

extern function glViewport(x as i32, y as i32, width as i32, height as i32) from "miniquake_native.dll" symbol "mq_gl_viewport" returns void

Invokes the native `glViewport` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
xi32—The x input consumed by `glViewport`.
yi32—The y input consumed by `glViewport`.
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.

View source

glWorldProgramAvailable

extern function glWorldProgramAvailable() from "miniquake_native.dll" symbol "mq_gl_world_program_available" returns i32

Invokes the native `glWorldProgramAvailable` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `glWorldProgramAvailable`.

View source

glWorldProgramEnable

extern function glWorldProgramEnable(enabled as i32) from "miniquake_native.dll" symbol "mq_gl_world_program_enable" returns void

Invokes the native `glWorldProgramEnable` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
enabledi32—Whether the optional behavior is enabled.

View source

i32ToF32

extern function i32ToF32(value as i32) from "miniquake_native.dll" symbol "mq_i32_to_f32" returns u32

Invokes the native `i32ToF32` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
valuei32—Value consumed by `i32ToF32`.

Returns: The `u32` result produced by `i32ToF32`.

View source

nativeTextResult

function nativeTextResult(buffer, count)

Win64-safe native text bridge.

The MiniLang v1.0 runtime can pass caller-owned bytes reliably, while a

direct extern `returns cstr` may truncate a high-address DLL pointer. Native

string producers therefore return a byte count and write into a MiniLang

buffer owned by the caller.

ParameterTypeDefaultDescription
bufferdynamic—The buffer input consumed by `nativeTextResult`.
countdynamic—Number of entries or units to process.

View source

oggChannels

extern function oggChannels() from "miniquake_native.dll" symbol "mq_ogg_channels" returns u32

Invokes the native `oggChannels` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `oggChannels`.

View source

oggClose

extern function oggClose() from "miniquake_native.dll" symbol "mq_ogg_close" returns int

Invokes the native `oggClose` bridge operation used by `miniquake.native`.

Returns: The `int` result produced by `oggClose`.

View source

oggDecode

extern function oggDecode(output as bytes, frameCapacity as u32) from "miniquake_native.dll" symbol "mq_ogg_decode" returns u32

Invokes the native `oggDecode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
outputbytes—Destination buffer that receives decoded PCM samples.
frameCapacityu32—The frame capacity input consumed by `oggDecode`.

Returns: The `u32` result produced by `oggDecode`.

View source

oggFrames

extern function oggFrames() from "miniquake_native.dll" symbol "mq_ogg_frames" returns u32

Invokes the native `oggFrames` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `oggFrames`.

View source

oggOpen

extern function oggOpen(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_ogg_open" returns u32

Invokes the native `oggOpen` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `u32` result produced by `oggOpen`.

View source

oggOpenFile

extern function oggOpenFile(filename as wstr) from "miniquake_native.dll" symbol "mq_ogg_open_file" returns u32

Invokes the native `oggOpenFile` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
filenamewstr—Path of the file to process.

Returns: The `u32` result produced by `oggOpenFile`.

View source

oggRate

extern function oggRate() from "miniquake_native.dll" symbol "mq_ogg_rate" returns u32

Invokes the native `oggRate` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `oggRate`.

View source

oggSeekStart

extern function oggSeekStart() from "miniquake_native.dll" symbol "mq_ogg_seek_start" returns i32

Invokes the native `oggSeekStart` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `oggSeekStart`.

View source

processHandleCount

extern function processHandleCount() from "miniquake_native.dll" symbol "mq_process_handle_count" returns u32

Invokes the native `processHandleCount` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `processHandleCount`.

View source

renderAvailable

extern function renderAvailable(backend as i32) from "miniquake_native.dll" symbol "mq_render_available" returns i32

Invokes the native `renderAvailable` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
backendi32—The backend input consumed by `renderAvailable`.

Returns: The `i32` result produced by `renderAvailable`.

View source

renderBackend

extern function renderBackend() from "miniquake_native.dll" symbol "mq_render_backend" returns i32

Invokes the native `renderBackend` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `renderBackend`.

View source

renderSelect

extern function renderSelect(backend as i32) from "miniquake_native.dll" symbol "mq_render_select" returns i32

Invokes the native `renderSelect` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
backendi32—The backend input consumed by `renderSelect`.

Returns: The `i32` result produced by `renderSelect`.

View source

shadowTraceBatch

extern function shadowTraceBatch(rays as bytes, rayBytes as u32, results as bytes, resultBytes as u32) from "miniquake_native.dll" symbol "mq_shadow_trace_batch" returns i32

Invokes the native `shadowTraceBatch` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
raysbytes—The rays input consumed by `shadowTraceBatch`.
rayBytesu32—Byte data consumed by the operation.
resultsbytes—The results input consumed by `shadowTraceBatch`.
resultBytesu32—Byte data consumed by the operation.

Returns: The `i32` result produced by `shadowTraceBatch`.

View source

shadowWorldClear

extern function shadowWorldClear() from "miniquake_native.dll" symbol "mq_shadow_world_clear" returns void

Invokes the native `shadowWorldClear` bridge operation used by `miniquake.native`.

View source

shadowWorldUpload

extern function shadowWorldUpload(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_shadow_world_upload" returns i32

Invokes the native `shadowWorldUpload` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `shadowWorldUpload`.

View source

shadowWorldUploadSurfaces

extern function shadowWorldUploadSurfaces(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_shadow_world_upload_surfaces" returns i32

Invokes the native `shadowWorldUploadSurfaces` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `shadowWorldUploadSurfaces`.

View source

sin

function sin(value)

Implements the `sin` operation for `miniquake.native` (sin).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `sin`.

View source

sqrt

function sqrt(value)

Implements the `sqrt` operation for `miniquake.native` (sqrt).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `sqrt`.

View source

sysConsoleAlloc

extern function sysConsoleAlloc() from "miniquake_native.dll" symbol "mq_sys_console_alloc" returns i32

Invokes the native `sysConsoleAlloc` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `sysConsoleAlloc`.

View source

sysConsoleEventPop

extern function sysConsoleEventPop() from "miniquake_native.dll" symbol "mq_sys_console_event_pop" returns u32

Invokes the native `sysConsoleEventPop` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `sysConsoleEventPop`.

View source

sysConsoleFree

extern function sysConsoleFree() from "miniquake_native.dll" symbol "mq_sys_console_free" returns i32

Invokes the native `sysConsoleFree` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `sysConsoleFree`.

View source

sysConsoleWrite

extern function sysConsoleWrite(text as cstr) from "miniquake_native.dll" symbol "mq_sys_console_write" returns i32

Invokes the native `sysConsoleWrite` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
textcstr—Text to parse or process.

Returns: The `i32` result produced by `sysConsoleWrite`.

View source

sysCounter

extern function sysCounter() from "miniquake_native.dll" symbol "mq_sys_counter" returns u64

Invokes the native `sysCounter` bridge operation used by `miniquake.native`.

Returns: The `u64` result produced by `sysCounter`.

View source

sysFrequency

extern function sysFrequency() from "miniquake_native.dll" symbol "mq_sys_frequency" returns u64

Invokes the native `sysFrequency` bridge operation used by `miniquake.native`.

Returns: The `u64` result produced by `sysFrequency`.

View source

sysMakeCodeWriteable

extern function sysMakeCodeWriteable(address as u64, length as u64) from "miniquake_native.dll" symbol "mq_sys_make_code_writeable" returns i32

Invokes the native `sysMakeCodeWriteable` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
addressu64—Network address of the peer.
lengthu64—Length of the requested data in units appropriate to the operation.

Returns: The `i32` result produced by `sysMakeCodeWriteable`.

View source

sysSleepUntilInput

extern function sysSleepUntilInput(milliseconds as u32) from "miniquake_native.dll" symbol "mq_sys_sleep_until_input" returns void

Invokes the native `sysSleepUntilInput` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
millisecondsu32—The milliseconds input consumed by `sysSleepUntilInput`.

View source

trunc

function trunc(value)

Implements the `trunc` operation for `miniquake.native` (trunc).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `trunc`.

View source

udpBoundAddress

function udpBoundAddress(handle)

Implements the `udpBoundAddress` operation for `miniquake.native` (udp bound address).

ParameterTypeDefaultDescription
handledynamic—The handle input consumed by `udpBoundAddress`.

View source

udpBoundAddressRaw

extern function udpBoundAddressRaw(handle as u64, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_bound_address" returns u32

Invokes the native `udpBoundAddressRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpBoundAddressRaw`.
outputbytes—Destination buffer that receives the bound address.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpBoundAddressRaw`.

View source

udpBoundPort

extern function udpBoundPort(handle as u64) from "miniquake_native.dll" symbol "mq_udp_bound_port" returns u32

Invokes the native `udpBoundPort` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpBoundPort`.

Returns: The `u32` result produced by `udpBoundPort`.

View source

udpClose

extern function udpClose(handle as u64) from "miniquake_native.dll" symbol "mq_udp_close" returns void

Invokes the native `udpClose` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpClose`.

View source

udpEnableBroadcast

extern function udpEnableBroadcast(handle as u64) from "miniquake_native.dll" symbol "mq_udp_enable_broadcast" returns i32

Invokes the native `udpEnableBroadcast` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpEnableBroadcast`.

Returns: The `i32` result produced by `udpEnableBroadcast`.

View source

udpHostName

function udpHostName()

Return udp host name derived from the active module state.

View source

udpHostNameRaw

extern function udpHostNameRaw(output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_host_name" returns u32

Invokes the native `udpHostNameRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
outputbytes—Destination buffer that receives the local host name.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpHostNameRaw`.

View source

udpLastAddress

function udpLastAddress()

Implements the `udpLastAddress` operation for `miniquake.native` (udp last address).

View source

udpLastAddressRaw

extern function udpLastAddressRaw(output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_last_address" returns u32

Invokes the native `udpLastAddressRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
outputbytes—Destination buffer that receives the most recent peer address.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpLastAddressRaw`.

View source

udpLastError

extern function udpLastError() from "miniquake_native.dll" symbol "mq_udp_last_error" returns i32

Invokes the native `udpLastError` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `udpLastError`.

View source

udpLastPort

extern function udpLastPort() from "miniquake_native.dll" symbol "mq_udp_last_port" returns u32

Invokes the native `udpLastPort` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `udpLastPort`.

View source

udpLocalAddress

function udpLocalAddress()

Implements the `udpLocalAddress` operation for `miniquake.native` (udp local address).

View source

udpLocalAddressRaw

extern function udpLocalAddressRaw(output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_local_address" returns u32

Invokes the native `udpLocalAddressRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
outputbytes—Destination buffer that receives the local address.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpLocalAddressRaw`.

View source

udpOpen

extern function udpOpen(port as u32) from "miniquake_native.dll" symbol "mq_udp_open" returns u64

Invokes the native `udpOpen` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
portu32—The port input consumed by `udpOpen`.

Returns: The `u64` result produced by `udpOpen`.

View source

udpOpenBound

extern function udpOpenBound(port as u32, address as cstr) from "miniquake_native.dll" symbol "mq_udp_open_bound" returns u64

Invokes the native `udpOpenBound` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
portu32—The port input consumed by `udpOpenBound`.
addresscstr—Network address of the peer.

Returns: The `u64` result produced by `udpOpenBound`.

View source

udpPeek

extern function udpPeek(handle as u64) from "miniquake_native.dll" symbol "mq_udp_peek" returns i32

Invokes the native `udpPeek` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpPeek`.

Returns: The `i32` result produced by `udpPeek`.

View source

udpReceive

extern function udpReceive(handle as u64, data as bytes, capacity as u32) from "miniquake_native.dll" symbol "mq_udp_receive" returns i32

Invokes the native `udpReceive` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpReceive`.
databytes—Input data consumed by the operation.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `i32` result produced by `udpReceive`.

View source

udpResolveName

function udpResolveName(name)

Return udp resolve name derived from the active module state.

ParameterTypeDefaultDescription
namedynamic—Stable name that identifies the requested object or option.

View source

udpResolveNameRaw

extern function udpResolveNameRaw(name as cstr, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_resolve_name" returns u32

Invokes the native `udpResolveNameRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
namecstr—Stable name that identifies the requested object or option.
outputbytes—Destination buffer that receives the resolved address.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpResolveNameRaw`.

View source

udpReverseName

function udpReverseName(address)

Return udp reverse name derived from the active module state.

ParameterTypeDefaultDescription
addressdynamic—Network address of the peer.

View source

udpReverseNameRaw

extern function udpReverseNameRaw(address as cstr, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_reverse_name" returns u32

Invokes the native `udpReverseNameRaw` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
addresscstr—Network address of the peer.
outputbytes—Destination buffer that receives the reverse-resolved name.
capacityu32—Maximum number of entries the destination can hold.

Returns: The `u32` result produced by `udpReverseNameRaw`.

View source

udpSend

extern function udpSend(handle as u64, address as cstr, port as u32, data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_udp_send" returns i32

Invokes the native `udpSend` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
handleu64—The handle input consumed by `udpSend`.
addresscstr—Network address of the peer.
portu32—The port input consumed by `udpSend`.
databytes—Input data consumed by the operation.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `udpSend`.

View source

winActivate

extern function winActivate(active as i32, minimized as i32) from "miniquake_native.dll" symbol "mq_win_activate" returns void

Invokes the native `winActivate` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
activei32—The active input consumed by `winActivate`.
minimizedi32—The minimized input consumed by `winActivate`.

View source

winClientHeight

extern function winClientHeight() from "miniquake_native.dll" symbol "mq_win_client_height" returns i32

Invokes the native `winClientHeight` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winClientHeight`.

View source

winClientWidth

extern function winClientWidth() from "miniquake_native.dll" symbol "mq_win_client_width" returns i32

Invokes the native `winClientWidth` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winClientWidth`.

View source

winConfigureDisplayMode

extern function winConfigureDisplayMode(width as i32, height as i32, bpp as i32, frequency as i32, fullscreen as i32, useCurrent as i32) from "miniquake_native.dll" symbol "mq_win_configure_display_mode" returns i32

Invokes the native `winConfigureDisplayMode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
bppi32—The bpp input consumed by `winConfigureDisplayMode`.
frequencyi32—The frequency input consumed by `winConfigureDisplayMode`.
fullscreeni32—The fullscreen input consumed by `winConfigureDisplayMode`.
useCurrenti32—The use current input consumed by `winConfigureDisplayMode`.

Returns: The `i32` result produced by `winConfigureDisplayMode`.

View source

winContextReady

extern function winContextReady() from "miniquake_native.dll" symbol "mq_win_context_ready" returns i32

Invokes the native `winContextReady` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winContextReady`.

View source

winCreate

extern function winCreate(title as wstr, width as i32, height as i32, fullscreen as i32) from "miniquake_native.dll" symbol "mq_win_create" returns ptr

Invokes the native `winCreate` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
titlewstr—The title input consumed by `winCreate`.
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
fullscreeni32—The fullscreen input consumed by `winCreate`.

Returns: The `ptr` result produced by `winCreate`.

View source

winCursorCenter

extern function winCursorCenter() from "miniquake_native.dll" symbol "mq_win_cursor_center" returns i32

Invokes the native `winCursorCenter` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winCursorCenter`.

View source

winCursorShow

extern function winCursorShow(show as i32) from "miniquake_native.dll" symbol "mq_win_cursor_show" returns void

Invokes the native `winCursorShow` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
showi32—The show input consumed by `winCursorShow`.

View source

winDesktopHeight

extern function winDesktopHeight() from "miniquake_native.dll" symbol "mq_win_desktop_height" returns i32

Invokes the native `winDesktopHeight` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winDesktopHeight`.

View source

winDesktopWidth

extern function winDesktopWidth() from "miniquake_native.dll" symbol "mq_win_desktop_width" returns i32

Invokes the native `winDesktopWidth` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winDesktopWidth`.

View source

winDestroy

extern function winDestroy() from "miniquake_native.dll" symbol "mq_win_destroy" returns void

Invokes the native `winDestroy` bridge operation used by `miniquake.native`.

View source

winDisplayModeBpp

extern function winDisplayModeBpp(index as u32) from "miniquake_native.dll" symbol "mq_win_display_mode_bpp" returns i32

Invokes the native `winDisplayModeBpp` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
indexu32—Zero-based index of the requested entry.

Returns: The `i32` result produced by `winDisplayModeBpp`.

View source

winDisplayModeCount

extern function winDisplayModeCount() from "miniquake_native.dll" symbol "mq_win_display_mode_count" returns u32

Invokes the native `winDisplayModeCount` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winDisplayModeCount`.

View source

winDisplayModeFrequency

extern function winDisplayModeFrequency(index as u32) from "miniquake_native.dll" symbol "mq_win_display_mode_frequency" returns i32

Invokes the native `winDisplayModeFrequency` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
indexu32—Zero-based index of the requested entry.

Returns: The `i32` result produced by `winDisplayModeFrequency`.

View source

winDisplayModeHeight

extern function winDisplayModeHeight(index as u32) from "miniquake_native.dll" symbol "mq_win_display_mode_height" returns i32

Invokes the native `winDisplayModeHeight` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
indexu32—Zero-based index of the requested entry.

Returns: The `i32` result produced by `winDisplayModeHeight`.

View source

winDisplayModeWidth

extern function winDisplayModeWidth(index as u32) from "miniquake_native.dll" symbol "mq_win_display_mode_width" returns i32

Invokes the native `winDisplayModeWidth` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
indexu32—Zero-based index of the requested entry.

Returns: The `i32` result produced by `winDisplayModeWidth`.

View source

winGetGammaRamp

extern function winGetGammaRamp(ramp as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_win_get_gamma_ramp" returns i32

Invokes the native `winGetGammaRamp` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
rampbytes—The ramp input consumed by `winGetGammaRamp`.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `winGetGammaRamp`.

View source

winHasFocus

extern function winHasFocus() from "miniquake_native.dll" symbol "mq_win_has_focus" returns i32

Invokes the native `winHasFocus` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winHasFocus`.

View source

winInputEventPop

extern function winInputEventPop() from "miniquake_native.dll" symbol "mq_win_input_event_pop" returns u32

Invokes the native `winInputEventPop` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winInputEventPop`.

View source

winInputTestPush

extern function winInputTestPush(eventType as u32, code as u32, value as i32) from "miniquake_native.dll" symbol "mq_win_input_test_push" returns void

Invokes the native `winInputTestPush` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
eventTypeu32—The event type input consumed by `winInputTestPush`.
codeu32—The code input consumed by `winInputTestPush`.
valuei32—Value consumed by `winInputTestPush`.

View source

winIsMinimized

extern function winIsMinimized() from "miniquake_native.dll" symbol "mq_win_is_minimized" returns i32

Invokes the native `winIsMinimized` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winIsMinimized`.

View source

winJoyAxis

extern function winJoyAxis(axis as u32) from "miniquake_native.dll" symbol "mq_win_joy_axis" returns u32

Invokes the native `winJoyAxis` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
axisu32—The axis input consumed by `winJoyAxis`.

Returns: The `u32` result produced by `winJoyAxis`.

View source

winJoyButtonCount

extern function winJoyButtonCount() from "miniquake_native.dll" symbol "mq_win_joy_button_count" returns u32

Invokes the native `winJoyButtonCount` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winJoyButtonCount`.

View source

winJoyButtons

extern function winJoyButtons() from "miniquake_native.dll" symbol "mq_win_joy_buttons" returns u32

Invokes the native `winJoyButtons` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winJoyButtons`.

View source

winJoyHasPov

extern function winJoyHasPov() from "miniquake_native.dll" symbol "mq_win_joy_has_pov" returns i32

Invokes the native `winJoyHasPov` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winJoyHasPov`.

View source

winJoyPov

extern function winJoyPov() from "miniquake_native.dll" symbol "mq_win_joy_pov" returns u32

Invokes the native `winJoyPov` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winJoyPov`.

View source

winJoyRead

extern function winJoyRead() from "miniquake_native.dll" symbol "mq_win_joy_read" returns i32

Invokes the native `winJoyRead` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winJoyRead`.

View source

winJoyStartup

extern function winJoyStartup() from "miniquake_native.dll" symbol "mq_win_joy_startup" returns i32

Invokes the native `winJoyStartup` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winJoyStartup`.

View source

winJoyWarriorCurve

extern function winJoyWarriorCurve(rawValue as i32) from "miniquake_native.dll" symbol "mq_win_joy_warrior_curve" returns i32

Invokes the native `winJoyWarriorCurve` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
rawValuei32—The raw value input consumed by `winJoyWarriorCurve`.

Returns: The `i32` result produced by `winJoyWarriorCurve`.

View source

winJoyWarriorCurveF32

extern function winJoyWarriorCurveF32(rawValue as i32) from "miniquake_native.dll" symbol "mq_win_joy_warrior_curve_f32" returns u32

Invokes the native `winJoyWarriorCurveF32` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
rawValuei32—The raw value input consumed by `winJoyWarriorCurveF32`.

Returns: The `u32` result produced by `winJoyWarriorCurveF32`.

View source

winKeyDown

extern function winKeyDown(virtualKey as i32) from "miniquake_native.dll" symbol "mq_win_key_down" returns i32

Invokes the native `winKeyDown` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
virtualKeyi32—The virtual key input consumed by `winKeyDown`.

Returns: The `i32` result produced by `winKeyDown`.

View source

winKeyPressed

extern function winKeyPressed(virtualKey as i32) from "miniquake_native.dll" symbol "mq_win_key_pressed" returns i32

Invokes the native `winKeyPressed` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
virtualKeyi32—The virtual key input consumed by `winKeyPressed`.

Returns: The `i32` result produced by `winKeyPressed`.

View source

winKeySnapshot

extern function winKeySnapshot(downStates as bytes, pressedStates as bytes, queryMask as bytes, stateCount as u32) from "miniquake_native.dll" symbol "mq_win_key_snapshot" returns i32

Invokes the native `winKeySnapshot` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
downStatesbytes—The down states input consumed by `winKeySnapshot`.
pressedStatesbytes—The pressed states input consumed by `winKeySnapshot`.
queryMaskbytes—The query mask input consumed by `winKeySnapshot`.
stateCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `winKeySnapshot`.

View source

winMakeCurrent

extern function winMakeCurrent() from "miniquake_native.dll" symbol "mq_win_make_current" returns i32

Invokes the native `winMakeCurrent` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winMakeCurrent`.

View source

winMouseButtons

extern function winMouseButtons() from "miniquake_native.dll" symbol "mq_win_mouse_buttons" returns i32

Invokes the native `winMouseButtons` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winMouseButtons`.

View source

winMouseDx

extern function winMouseDx() from "miniquake_native.dll" symbol "mq_win_mouse_dx" returns i32

Invokes the native `winMouseDx` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winMouseDx`.

View source

winMouseDy

extern function winMouseDy() from "miniquake_native.dll" symbol "mq_win_mouse_dy" returns i32

Invokes the native `winMouseDy` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winMouseDy`.

View source

winMouseWheel

extern function winMouseWheel() from "miniquake_native.dll" symbol "mq_win_mouse_wheel" returns i32

Invokes the native `winMouseWheel` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winMouseWheel`.

View source

winPoll

extern function winPoll() from "miniquake_native.dll" symbol "mq_win_poll" returns i32

Invokes the native `winPoll` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winPoll`.

View source

winResizeClient

extern function winResizeClient(width as i32, height as i32) from "miniquake_native.dll" symbol "mq_win_resize_client" returns i32

Invokes the native `winResizeClient` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.

Returns: The `i32` result produced by `winResizeClient`.

View source

winRestoreDisplayMode

extern function winRestoreDisplayMode() from "miniquake_native.dll" symbol "mq_win_restore_display_mode" returns void

Invokes the native `winRestoreDisplayMode` bridge operation used by `miniquake.native`.

View source

winSetCursorCapture

extern function winSetCursorCapture(enabled as i32) from "miniquake_native.dll" symbol "mq_win_set_cursor_capture" returns void

Invokes the native `winSetCursorCapture` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
enabledi32—Whether the optional behavior is enabled.

View source

winSetGammaRamp

extern function winSetGammaRamp(ramp as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_win_set_gamma_ramp" returns i32

Invokes the native `winSetGammaRamp` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
rampbytes—The ramp input consumed by `winSetGammaRamp`.
byteCountu32—Number of entries or units to process.

Returns: The `i32` result produced by `winSetGammaRamp`.

View source

winSetTitle

extern function winSetTitle(title as wstr) from "miniquake_native.dll" symbol "mq_win_set_title" returns void

Invokes the native `winSetTitle` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
titlewstr—The title input consumed by `winSetTitle`.

View source

winSleep

extern function winSleep(milliseconds as u32) from "miniquake_native.dll" symbol "mq_win_sleep" returns void

Invokes the native `winSleep` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
millisecondsu32—The milliseconds input consumed by `winSleep`.

View source

winSwap

extern function winSwap() from "miniquake_native.dll" symbol "mq_win_swap" returns void

Invokes the native `winSwap` bridge operation used by `miniquake.native`.

View source

winTestDisplayMode

extern function winTestDisplayMode(width as i32, height as i32, bpp as i32, frequency as i32) from "miniquake_native.dll" symbol "mq_win_test_display_mode" returns i32

Invokes the native `winTestDisplayMode` bridge operation used by `miniquake.native`.

ParameterTypeDefaultDescription
widthi32—Requested width in pixels or data units.
heighti32—Requested height in pixels or data units.
bppi32—The bpp input consumed by `winTestDisplayMode`.
frequencyi32—The frequency input consumed by `winTestDisplayMode`.

Returns: The `i32` result produced by `winTestDisplayMode`.

View source

winTextPop

extern function winTextPop() from "miniquake_native.dll" symbol "mq_win_text_pop" returns i32

Invokes the native `winTextPop` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winTextPop`.

View source

winTicks

extern function winTicks() from "miniquake_native.dll" symbol "mq_win_ticks" returns u32

Invokes the native `winTicks` bridge operation used by `miniquake.native`.

Returns: The `u32` result produced by `winTicks`.

View source

winUpdateClipCursor

extern function winUpdateClipCursor() from "miniquake_native.dll" symbol "mq_win_update_clip_cursor" returns i32

Invokes the native `winUpdateClipCursor` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winUpdateClipCursor`.

View source

winWindowX

extern function winWindowX() from "miniquake_native.dll" symbol "mq_win_window_x" returns i32

Invokes the native `winWindowX` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winWindowX`.

View source

winWindowY

extern function winWindowY() from "miniquake_native.dll" symbol "mq_win_window_y" returns i32

Invokes the native `winWindowY` bridge operation used by `miniquake.native`.

Returns: The `i32` result produced by `winWindowY`.

View source