# atan2
function atan2(y, x)Return the atan 2 value.
| Parameter | Type | Default | Description |
|---|---|---|---|
y | dynamic | — | Vertical coordinate used by the operation. |
x | dynamic | — | Horizontal coordinate used by the operation. |
src/miniquake2/native.mlProvides miniquake2 native facilities for this project.
function atan2(y, x)Return the atan 2 value.
| Parameter | Type | Default | Description |
|---|---|---|---|
y | dynamic | — | Vertical coordinate used by the operation. |
x | dynamic | — | Horizontal coordinate used by the operation. |
extern function audioCapacity() from "miniquake_native.dll" symbol "mq_audio_capacity" returns u32Invokes the native audioCapacity entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function audioClose() from "miniquake_native.dll" symbol "mq_audio_close" returns voidInvokes the native audioClose entry point used by the miniquake2 native module.
extern function audioCompleted() from "miniquake_native.dll" symbol "mq_audio_completed" returns u32Invokes the native audioCompleted entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function audioIsOpen() from "miniquake_native.dll" symbol "mq_audio_is_open" returns i32Invokes the native audioIsOpen entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function audioOpen(sampleRate as u32, channels as u32, bitsPerSample as u32) from "miniquake_native.dll" symbol "mq_audio_open" returns i32Invokes the native audioOpen entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
sampleRate | u32 | — | sampleRate value consumed by this operation. |
channels | u32 | — | channels value consumed by this operation. |
bitsPerSample | u32 | — | bitsPerSample value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function audioQueued() from "miniquake_native.dll" symbol "mq_audio_queued" returns u32Invokes the native audioQueued entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function audioReset() from "miniquake_native.dll" symbol "mq_audio_reset" returns i32Invokes the native audioReset entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function audioSubmit(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_audio_submit" returns i32Invokes the native audioSubmit entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native i32 result produced by the call.
extern function audioSubmitted() from "miniquake_native.dll" symbol "mq_audio_submitted" returns u32Invokes the native audioSubmitted entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function audioUnderruns() from "miniquake_native.dll" symbol "mq_audio_underruns" returns u32Invokes the native audioUnderruns entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
function bitsFloat(bits)Return the bits float value.
| Parameter | Type | Default | Description |
|---|---|---|---|
bits | dynamic | — | bits value consumed by this operation. |
function cos(value)Return the cos value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
extern function f32Atan2(yBits as u32, xBits as u32) from "miniquake_native.dll" symbol "mq_f32_atan2" returns u32Invokes the native f32Atan2 entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
yBits | u32 | — | yBits value consumed by this operation. |
xBits | u32 | — | xBits value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function f32Cos(bits as u32) from "miniquake_native.dll" symbol "mq_f32_cos" returns u32Invokes the native f32Cos entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
bits | u32 | — | bits value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function f32FromRaw(rawValue as u64) from "miniquake_native.dll" symbol "mq_f32_from_ml_raw" returns u32Invokes the native f32FromRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
rawValue | u64 | — | rawValue value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function f32Sin(bits as u32) from "miniquake_native.dll" symbol "mq_f32_sin" returns u32Invokes the native f32Sin entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
bits | u32 | — | bits value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function f32ToRaw(bits as u32) from "miniquake_native.dll" symbol "mq_f32_to_ml_raw" returns u64Invokes the native f32ToRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
bits | u32 | — | bits value consumed by this operation. |
Returns: Native u64 result produced by the call.
function floatBits(value)Return the float bits value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
extern function glActiveTexture(unit as i32) from "miniquake_native.dll" symbol "mq_gl_active_texture" returns voidInvokes the native glActiveTexture entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
unit | i32 | — | unit value consumed by this operation. |
extern function glAlphaFunc(functionName as u32, referenceBits as u32) from "miniquake_native.dll" symbol "mq_gl_alpha_func" returns voidInvokes the native glAlphaFunc entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
functionName | u32 | — | functionName value consumed by this operation. |
referenceBits | u32 | — | referenceBits value consumed by this operation. |
extern function glBegin(mode as u32) from "miniquake_native.dll" symbol "mq_gl_begin" returns voidFixed-function OpenGL 1.1 bridge used by the Quake II refexport adapter. Floats cross the ABI as their exact IEEE-754 bit pattern; this is the same narrow bridge used and exercised by MiniQuake's renderer.
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | u32 | — | Mode selecting the requested behavior. |
extern function glBindTexture(target as u32, texture as u32) from "miniquake_native.dll" symbol "mq_gl_bind_texture" returns voidInvokes the native glBindTexture entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | u32 | — | target value consumed by this operation. |
texture | u32 | — | texture value consumed by this operation. |
extern function glBlendFunc(source as u32, destination as u32) from "miniquake_native.dll" symbol "mq_gl_blend_func" returns voidInvokes the native glBlendFunc entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
source | u32 | — | source value consumed by this operation. |
destination | u32 | — | destination value consumed by this operation. |
extern function glClear(mask as u32) from "miniquake_native.dll" symbol "mq_gl_clear" returns voidInvokes the native glClear entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
mask | u32 | — | mask value consumed by this operation. |
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 voidInvokes the native glClearColor entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
redBits | u32 | — | redBits value consumed by this operation. |
greenBits | u32 | — | greenBits value consumed by this operation. |
blueBits | u32 | — | blueBits value consumed by this operation. |
alphaBits | u32 | — | alphaBits value consumed by this operation. |
extern function glColor4ub(red as u32, green as u32, blue as u32, alpha as u32) from "miniquake_native.dll" symbol "mq_gl_color4ub" returns voidInvokes the native glColor4ub entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
red | u32 | — | red value consumed by this operation. |
green | u32 | — | green value consumed by this operation. |
blue | u32 | — | blue value consumed by this operation. |
alpha | u32 | — | alpha value consumed by this operation. |
extern function glCullFace(mode as u32) from "miniquake_native.dll" symbol "mq_gl_cull_face" returns voidInvokes the native glCullFace entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | u32 | — | Mode selecting the requested behavior. |
extern function glDeleteTextures(count as i32, textureIds as bytes) from "miniquake_native.dll" symbol "mq_gl_delete_textures" returns voidInvokes the native glDeleteTextures entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
count | i32 | — | Number of items or units to process. |
textureIds | bytes | — | textureIds value consumed by this operation. |
extern function glDepthFunc(functionName as u32) from "miniquake_native.dll" symbol "mq_gl_depth_func" returns voidInvokes the native glDepthFunc entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
functionName | u32 | — | functionName value consumed by this operation. |
extern function glDepthMask(enabled as i32) from "miniquake_native.dll" symbol "mq_gl_depth_mask" returns voidInvokes the native glDepthMask entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | i32 | — | enabled value consumed by this operation. |
extern function glDepthRange(nearBits as u32, farBits as u32) from "miniquake_native.dll" symbol "mq_gl_depth_range" returns voidInvokes the native glDepthRange entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
nearBits | u32 | — | nearBits value consumed by this operation. |
farBits | u32 | — | farBits value consumed by this operation. |
extern function glDisable(capability as u32) from "miniquake_native.dll" symbol "mq_gl_disable" returns voidInvokes the native glDisable entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
capability | u32 | — | capability value consumed by this operation. |
extern function glDrawAliasRgbEnd() from "miniquake_native.dll" symbol "mq_gl_draw_alias_rgb_end" returns voidInvokes the native glDrawAliasRgbEnd entry point used by the miniquake2 native module.
extern function glDrawMd2Rgb(data as bytes, byteCount as u32, frameIndex as u32, oldFrameIndex as u32, backLerp as u32, shadeDots as bytes, shadeDotCount as u32, normalVectors as bytes, normalCount as u32, geometryKey as u64, geometryState as u32, shadeState as u32, shadeRed as u32, shadeGreen as u32, shadeBlue as u32, alpha as u32) from "miniquake_native.dll" symbol "mq_gl_draw_md2_rgb" returns i32Invokes the native glDrawMd2Rgb entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
frameIndex | u32 | — | Zero-based index of frame. |
oldFrameIndex | u32 | — | Zero-based index of old frame. |
backLerp | u32 | — | backLerp value consumed by this operation. |
shadeDots | bytes | — | shadeDots value consumed by this operation. |
shadeDotCount | u32 | — | Number of shade dot to process. |
normalVectors | bytes | — | normalVectors value consumed by this operation. |
normalCount | u32 | — | Number of normal to process. |
geometryKey | u64 | — | geometryKey value consumed by this operation. |
geometryState | u32 | — | geometryState value consumed by this operation. |
shadeState | u32 | — | shadeState value consumed by this operation. |
shadeRed | u32 | — | shadeRed value consumed by this operation. |
shadeGreen | u32 | — | shadeGreen value consumed by this operation. |
shadeBlue | u32 | — | shadeBlue value consumed by this operation. |
alpha | u32 | — | alpha value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glDrawMd2Shadow(data as bytes, byteCount as u32, frameIndex as u32, oldFrameIndex as u32, backLerp as u32, normalVectors as bytes, normalCount as u32, geometryKey as u64, geometryState as u32, triangleCount as u32, shadeX as u32, shadeY as u32, lightHeight as u32) from "miniquake_native.dll" symbol "mq_gl_draw_md2_shadow" returns i32Invokes the native glDrawMd2Shadow entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
frameIndex | u32 | — | Zero-based index of frame. |
oldFrameIndex | u32 | — | Zero-based index of old frame. |
backLerp | u32 | — | backLerp value consumed by this operation. |
normalVectors | bytes | — | normalVectors value consumed by this operation. |
normalCount | u32 | — | Number of normal to process. |
geometryKey | u64 | — | geometryKey value consumed by this operation. |
geometryState | u32 | — | geometryState value consumed by this operation. |
triangleCount | u32 | — | Number of triangle to process. |
shadeX | u32 | — | shadeX value consumed by this operation. |
shadeY | u32 | — | shadeY value consumed by this operation. |
lightHeight | u32 | — | lightHeight value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glDrawMd2ShadowSoft(data as bytes, byteCount as u32, frameIndex as u32, oldFrameIndex as u32, backLerp as u32, normalVectors as bytes, normalCount as u32, geometryKey as u64, geometryState as u32, triangleCount as u32, shadeX as u32, shadeY as u32, lightHeight as u32) from "miniquake_native.dll" symbol "mq_gl_draw_md2_shadow_soft" returns i32Invokes the native glDrawMd2ShadowSoft entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
frameIndex | u32 | — | Zero-based index of frame. |
oldFrameIndex | u32 | — | Zero-based index of old frame. |
backLerp | u32 | — | backLerp value consumed by this operation. |
normalVectors | bytes | — | normalVectors value consumed by this operation. |
normalCount | u32 | — | Number of normal to process. |
geometryKey | u64 | — | geometryKey value consumed by this operation. |
geometryState | u32 | — | geometryState value consumed by this operation. |
triangleCount | u32 | — | Number of triangle to process. |
shadeX | u32 | — | shadeX value consumed by this operation. |
shadeY | u32 | — | shadeY value consumed by this operation. |
lightHeight | u32 | — | lightHeight value consumed by this operation. |
Returns: Native i32 result produced by the call.
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 i32Invokes the native glDrawParticleBatch entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
viewOriginX | u32 | — | viewOriginX value consumed by this operation. |
viewOriginY | u32 | — | viewOriginY value consumed by this operation. |
viewOriginZ | u32 | — | viewOriginZ value consumed by this operation. |
viewForwardX | u32 | — | viewForwardX value consumed by this operation. |
viewForwardY | u32 | — | viewForwardY value consumed by this operation. |
viewForwardZ | u32 | — | viewForwardZ value consumed by this operation. |
viewUpX | u32 | — | viewUpX value consumed by this operation. |
viewUpY | u32 | — | viewUpY value consumed by this operation. |
viewUpZ | u32 | — | viewUpZ value consumed by this operation. |
viewRightX | u32 | — | viewRightX value consumed by this operation. |
viewRightY | u32 | — | viewRightY value consumed by this operation. |
viewRightZ | u32 | — | viewRightZ value consumed by this operation. |
Returns: Native i32 result produced by the call.
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 i32Invokes the native glDrawParticleBatchStyled entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
viewOriginX | u32 | — | viewOriginX value consumed by this operation. |
viewOriginY | u32 | — | viewOriginY value consumed by this operation. |
viewOriginZ | u32 | — | viewOriginZ value consumed by this operation. |
viewForwardX | u32 | — | viewForwardX value consumed by this operation. |
viewForwardY | u32 | — | viewForwardY value consumed by this operation. |
viewForwardZ | u32 | — | viewForwardZ value consumed by this operation. |
viewUpX | u32 | — | viewUpX value consumed by this operation. |
viewUpY | u32 | — | viewUpY value consumed by this operation. |
viewUpZ | u32 | — | viewUpZ value consumed by this operation. |
viewRightX | u32 | — | viewRightX value consumed by this operation. |
viewRightY | u32 | — | viewRightY value consumed by this operation. |
viewRightZ | u32 | — | viewRightZ value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glEnable(capability as u32) from "miniquake_native.dll" symbol "mq_gl_enable" returns voidInvokes the native glEnable entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
capability | u32 | — | capability value consumed by this operation. |
extern function glEnd() from "miniquake_native.dll" symbol "mq_gl_end" returns voidInvokes the native glEnd entry point used by the miniquake2 native module.
extern function glFinish() from "miniquake_native.dll" symbol "mq_gl_finish" returns voidInvokes the native glFinish entry point used by the miniquake2 native module.
extern function glFlush() from "miniquake_native.dll" symbol "mq_gl_flush" returns voidInvokes the native glFlush entry point used by the miniquake2 native module.
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 voidInvokes the native glFrustum entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
leftBits | u32 | — | leftBits value consumed by this operation. |
rightBits | u32 | — | rightBits value consumed by this operation. |
bottomBits | u32 | — | bottomBits value consumed by this operation. |
topBits | u32 | — | topBits value consumed by this operation. |
nearBits | u32 | — | nearBits value consumed by this operation. |
farBits | u32 | — | farBits value consumed by this operation. |
extern function glGetError() from "miniquake_native.dll" symbol "mq_gl_get_error" returns u32Invokes the native glGetError entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
function glGetString(name)Return gl string.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Name of the affected item. |
extern function glGetStringRaw(name as u32, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_gl_get_string" returns u32Invokes the native glGetStringRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | u32 | — | Name of the affected item. |
output | bytes | — | Output collection or buffer populated by the operation. |
capacity | u32 | — | capacity value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function glLoadIdentity() from "miniquake_native.dll" symbol "mq_gl_load_identity" returns voidInvokes the native glLoadIdentity entry point used by the miniquake2 native module.
extern function glMatrixMode(mode as u32) from "miniquake_native.dll" symbol "mq_gl_matrix_mode" returns voidInvokes the native glMatrixMode entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | u32 | — | Mode selecting the requested behavior. |
extern function glMultiTexCoord2(unit as i32, sBits as u32, tBits as u32) from "miniquake_native.dll" symbol "mq_gl_multi_tex_coord2" returns voidInvokes the native glMultiTexCoord2 entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
unit | i32 | — | unit value consumed by this operation. |
sBits | u32 | — | sBits value consumed by this operation. |
tBits | u32 | — | tBits value consumed by this operation. |
extern function glMultitextureAvailable() from "miniquake_native.dll" symbol "mq_gl_multitexture_available" returns i32Invokes the native glMultitextureAvailable entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
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 voidInvokes the native glOrtho entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
leftBits | u32 | — | leftBits value consumed by this operation. |
rightBits | u32 | — | rightBits value consumed by this operation. |
bottomBits | u32 | — | bottomBits value consumed by this operation. |
topBits | u32 | — | topBits value consumed by this operation. |
nearBits | u32 | — | nearBits value consumed by this operation. |
farBits | u32 | — | farBits value consumed by this operation. |
extern function glPopMatrix() from "miniquake_native.dll" symbol "mq_gl_pop_matrix" returns voidInvokes the native glPopMatrix entry point used by the miniquake2 native module.
extern function glPushMatrix() from "miniquake_native.dll" symbol "mq_gl_push_matrix" returns voidInvokes the native glPushMatrix entry point used by the miniquake2 native module.
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 voidInvokes the native glReadPixels entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
x | i32 | — | Horizontal coordinate used by the operation. |
y | i32 | — | Vertical coordinate used by the operation. |
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
format | u32 | — | format value consumed by this operation. |
type | u32 | — | type value consumed by this operation. |
pixels | bytes | — | pixels value consumed by this operation. |
extern function glRotate(angleBits as u32, xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_rotate" returns voidInvokes the native glRotate entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
angleBits | u32 | — | angleBits value consumed by this operation. |
xBits | u32 | — | xBits value consumed by this operation. |
yBits | u32 | — | yBits value consumed by this operation. |
zBits | u32 | — | zBits value consumed by this operation. |
extern function glScale(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_scale" returns voidInvokes the native glScale entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
xBits | u32 | — | xBits value consumed by this operation. |
yBits | u32 | — | yBits value consumed by this operation. |
zBits | u32 | — | zBits value consumed by this operation. |
extern function glStaticGeometryCall(keyValue as u64, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call" returns i32Invokes the native glStaticGeometryCall entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
keyValue | u64 | — | keyValue value consumed by this operation. |
passValue | i32 | — | passValue value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glStaticGeometryCallBatch(keys as bytes, byteCount as u32, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call_batch" returns i32Invokes the native glStaticGeometryCallBatch entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
keys | bytes | — | keys value consumed by this operation. |
byteCount | u32 | — | Number of byte to process. |
passValue | i32 | — | passValue value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glStaticGeometryCallMultitextureBatch(records as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_call_multitexture_batch" returns i32Invokes the native glStaticGeometryCallMultitextureBatch entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
records | bytes | — | records value consumed by this operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native i32 result produced by the call.
extern function glStaticGeometryClear() from "miniquake_native.dll" symbol "mq_gl_static_geometry_clear" returns voidInvokes the native glStaticGeometryClear entry point used by the miniquake2 native module.
extern function glStaticGeometryPrepare(keyValue as u64, passValue as i32) from "miniquake_native.dll" symbol "mq_gl_static_geometry_prepare" returns i32Invokes the native glStaticGeometryPrepare entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
keyValue | u64 | — | keyValue value consumed by this operation. |
passValue | i32 | — | passValue value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function glTexcoord2(sBits as u32, tBits as u32) from "miniquake_native.dll" symbol "mq_gl_texcoord2" returns voidInvokes the native glTexcoord2 entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
sBits | u32 | — | sBits value consumed by this operation. |
tBits | u32 | — | tBits value consumed by this operation. |
extern function glTexEnvI(target as u32, name as u32, value as i32) from "miniquake_native.dll" symbol "mq_gl_tex_env_i" returns voidInvokes the native glTexEnvI entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | u32 | — | target value consumed by this operation. |
name | u32 | — | Name of the affected item. |
value | i32 | — | Value consumed or transformed by the operation. |
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 voidInvokes the native glTexImage2D entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | u32 | — | target value consumed by this operation. |
level | i32 | — | level value consumed by this operation. |
internalFormat | i32 | — | internalFormat value consumed by this operation. |
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
border | i32 | — | border value consumed by this operation. |
format | u32 | — | format value consumed by this operation. |
type | u32 | — | type value consumed by this operation. |
pixels | bytes | — | pixels value consumed by this operation. |
extern function glTexParameterI(target as u32, name as u32, value as i32) from "miniquake_native.dll" symbol "mq_gl_tex_parameter_i" returns voidInvokes the native glTexParameterI entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | u32 | — | target value consumed by this operation. |
name | u32 | — | Name of the affected item. |
value | i32 | — | Value consumed or transformed by the operation. |
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 voidInvokes the native glTexSubImage2D entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | u32 | — | target value consumed by this operation. |
level | i32 | — | level value consumed by this operation. |
xOffset | i32 | — | xOffset value consumed by this operation. |
yOffset | i32 | — | yOffset value consumed by this operation. |
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
format | u32 | — | format value consumed by this operation. |
type | u32 | — | type value consumed by this operation. |
pixels | bytes | — | pixels value consumed by this operation. |
extern function glTranslate(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_translate" returns voidInvokes the native glTranslate entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
xBits | u32 | — | xBits value consumed by this operation. |
yBits | u32 | — | yBits value consumed by this operation. |
zBits | u32 | — | zBits value consumed by this operation. |
extern function glVertex2(xBits as u32, yBits as u32) from "miniquake_native.dll" symbol "mq_gl_vertex2" returns voidInvokes the native glVertex2 entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
xBits | u32 | — | xBits value consumed by this operation. |
yBits | u32 | — | yBits value consumed by this operation. |
extern function glVertex3(xBits as u32, yBits as u32, zBits as u32) from "miniquake_native.dll" symbol "mq_gl_vertex3" returns voidInvokes the native glVertex3 entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
xBits | u32 | — | xBits value consumed by this operation. |
yBits | u32 | — | yBits value consumed by this operation. |
zBits | u32 | — | zBits value consumed by this operation. |
extern function glViewport(x as i32, y as i32, width as i32, height as i32) from "miniquake_native.dll" symbol "mq_gl_viewport" returns voidInvokes the native glViewport entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
x | i32 | — | Horizontal coordinate used by the operation. |
y | i32 | — | Vertical coordinate used by the operation. |
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
extern function oggChannels() from "miniquake_native.dll" symbol "mq_ogg_channels" returns u32Invokes the native oggChannels entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function oggClose() from "miniquake_native.dll" symbol "mq_ogg_close" returns voidInvokes the native oggClose entry point used by the miniquake2 native module.
extern function oggDecode(output as bytes, frameCapacity as u32) from "miniquake_native.dll" symbol "mq_ogg_decode" returns u32Invokes the native oggDecode entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
output | bytes | — | Output collection or buffer populated by the operation. |
frameCapacity | u32 | — | frameCapacity value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function oggFrames() from "miniquake_native.dll" symbol "mq_ogg_frames" returns u32Invokes the native oggFrames entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function oggOpen(data as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_ogg_open" returns u32Invokes the native oggOpen entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native u32 result produced by the call.
extern function oggOpenFile(filename as wstr) from "miniquake_native.dll" symbol "mq_ogg_open_file" returns u32Invokes the native oggOpenFile entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
filename | wstr | — | filename value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function oggRate() from "miniquake_native.dll" symbol "mq_ogg_rate" returns u32Invokes the native oggRate entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function oggSeekStart() from "miniquake_native.dll" symbol "mq_ogg_seek_start" returns i32Invokes the native oggSeekStart entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function processHandleCount() from "miniquake_native.dll" symbol "mq_process_handle_count" returns u32Invokes the native processHandleCount entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
function sin(value)Return the sin value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
extern function sysConsoleAlloc() from "miniquake_native.dll" symbol "mq_sys_console_alloc" returns i32Invokes the native sysConsoleAlloc entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function sysConsoleEventPop() from "miniquake_native.dll" symbol "mq_sys_console_event_pop" returns u32Invokes the native sysConsoleEventPop entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function sysConsoleFree() from "miniquake_native.dll" symbol "mq_sys_console_free" returns i32Invokes the native sysConsoleFree entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function sysConsoleWrite(text as cstr) from "miniquake_native.dll" symbol "mq_sys_console_write" returns i32Invokes the native sysConsoleWrite entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | cstr | — | Text consumed by the operation. |
Returns: Native i32 result produced by the call.
extern function sysCounter() from "miniquake_native.dll" symbol "mq_sys_counter" returns u64Invokes the native sysCounter entry point used by the miniquake2 native module.
Returns: Native u64 result produced by the call.
extern function sysFrequency() from "miniquake_native.dll" symbol "mq_sys_frequency" returns u64Invokes the native sysFrequency entry point used by the miniquake2 native module.
Returns: Native u64 result produced by the call.
extern function sysSleepUntilInput(milliseconds as u32) from "miniquake_native.dll" symbol "mq_sys_sleep_until_input" returns voidInvokes the native sysSleepUntilInput entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
milliseconds | u32 | — | milliseconds value consumed by this operation. |
function textResult(buffer, count)Return the text result value.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
count | dynamic | — | Number of items or units to process. |
function udpBoundAddress(handle)Return the udp bound address value.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | dynamic | — | Native or runtime handle used by the operation. |
extern function udpBoundAddressRaw(handle as u64, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_bound_address" returns u32Invokes the native udpBoundAddressRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
output | bytes | — | Output collection or buffer populated by the operation. |
capacity | u32 | — | capacity value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function udpBoundPort(handle as u64) from "miniquake_native.dll" symbol "mq_udp_bound_port" returns u32Invokes the native udpBoundPort entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
Returns: Native u32 result produced by the call.
extern function udpClose(handle as u64) from "miniquake_native.dll" symbol "mq_udp_close" returns voidInvokes the native udpClose entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
extern function udpEnableBroadcast(handle as u64) from "miniquake_native.dll" symbol "mq_udp_enable_broadcast" returns i32Invokes the native udpEnableBroadcast entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
Returns: Native i32 result produced by the call.
function udpLastAddress()Return the udp last address value.
extern function udpLastAddressRaw(output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_last_address" returns u32Invokes the native udpLastAddressRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
output | bytes | — | Output collection or buffer populated by the operation. |
capacity | u32 | — | capacity value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function udpLastError() from "miniquake_native.dll" symbol "mq_udp_last_error" returns i32Invokes the native udpLastError entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function udpLastPort() from "miniquake_native.dll" symbol "mq_udp_last_port" returns u32Invokes the native udpLastPort entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function udpOpenBound(port as u32, address as cstr) from "miniquake_native.dll" symbol "mq_udp_open_bound" returns u64Invokes the native udpOpenBound entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
port | u32 | — | port value consumed by this operation. |
address | cstr | — | address value consumed by this operation. |
Returns: Native u64 result produced by the call.
extern function udpPeek(handle as u64) from "miniquake_native.dll" symbol "mq_udp_peek" returns i32Invokes the native udpPeek entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
Returns: Native i32 result produced by the call.
extern function udpReceive(handle as u64, data as bytes, capacity as u32) from "miniquake_native.dll" symbol "mq_udp_receive" returns i32Invokes the native udpReceive entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
data | bytes | — | Input data consumed by the operation. |
capacity | u32 | — | capacity value consumed by this operation. |
Returns: Native i32 result produced by the call.
function udpResolveName(name)Resolve udp name.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Name of the affected item. |
extern function udpResolveNameRaw(name as cstr, output as bytes, capacity as u32) from "miniquake_text.dll" symbol "mqt_udp_resolve_name" returns u32Invokes the native udpResolveNameRaw entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | cstr | — | Name of the affected item. |
output | bytes | — | Output collection or buffer populated by the operation. |
capacity | u32 | — | capacity value consumed by this operation. |
Returns: Native u32 result produced by the call.
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 i32Invokes the native udpSend entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
handle | u64 | — | Native or runtime handle used by the operation. |
address | cstr | — | address value consumed by this operation. |
port | u32 | — | port value consumed by this operation. |
data | bytes | — | Input data consumed by the operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native i32 result produced by the call.
extern function winClientHeight() from "miniquake_native.dll" symbol "mq_win_client_height" returns i32Invokes the native winClientHeight entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winClientWidth() from "miniquake_native.dll" symbol "mq_win_client_width" returns i32Invokes the native winClientWidth entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
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 i32Invokes the native winConfigureDisplayMode entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
bpp | i32 | — | bpp value consumed by this operation. |
frequency | i32 | — | frequency value consumed by this operation. |
fullscreen | i32 | — | fullscreen value consumed by this operation. |
useCurrent | i32 | — | useCurrent value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function winCreate(title as wstr, width as i32, height as i32, fullscreen as i32) from "miniquake_native.dll" symbol "mq_win_create" returns ptrInvokes the native winCreate entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
title | wstr | — | Human-readable title presented to the user. |
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
fullscreen | i32 | — | fullscreen value consumed by this operation. |
Returns: Native ptr result produced by the call.
extern function winDesktopHeight() from "miniquake_native.dll" symbol "mq_win_desktop_height" returns i32Invokes the native winDesktopHeight entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winDesktopWidth() from "miniquake_native.dll" symbol "mq_win_desktop_width" returns i32Invokes the native winDesktopWidth entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winDestroy() from "miniquake_native.dll" symbol "mq_win_destroy" returns voidInvokes the native winDestroy entry point used by the miniquake2 native module.
extern function winGetGammaRamp(ramp as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_win_get_gamma_ramp" returns i32Invokes the native winGetGammaRamp entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
ramp | bytes | — | ramp value consumed by this operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native i32 result produced by the call.
extern function winHasFocus() from "miniquake_native.dll" symbol "mq_win_has_focus" returns i32Invokes the native winHasFocus entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winInputEventPop() from "miniquake_native.dll" symbol "mq_win_input_event_pop" returns u32Invokes the native winInputEventPop entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function winJoyAxis(axis as u32) from "miniquake_native.dll" symbol "mq_win_joy_axis" returns u32Invokes the native winJoyAxis entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
axis | u32 | — | axis value consumed by this operation. |
Returns: Native u32 result produced by the call.
extern function winJoyButtonCount() from "miniquake_native.dll" symbol "mq_win_joy_button_count" returns u32Invokes the native winJoyButtonCount entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function winJoyButtons() from "miniquake_native.dll" symbol "mq_win_joy_buttons" returns u32Invokes the native winJoyButtons entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function winJoyHasPov() from "miniquake_native.dll" symbol "mq_win_joy_has_pov" returns i32Invokes the native winJoyHasPov entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winJoyPov() from "miniquake_native.dll" symbol "mq_win_joy_pov" returns u32Invokes the native winJoyPov entry point used by the miniquake2 native module.
Returns: Native u32 result produced by the call.
extern function winJoyRead() from "miniquake_native.dll" symbol "mq_win_joy_read" returns i32Invokes the native winJoyRead entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winJoyStartup() from "miniquake_native.dll" symbol "mq_win_joy_startup" returns i32Invokes the native winJoyStartup entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winMouseButtons() from "miniquake_native.dll" symbol "mq_win_mouse_buttons" returns i32Invokes the native winMouseButtons entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winMouseDx() from "miniquake_native.dll" symbol "mq_win_mouse_dx" returns i32Invokes the native winMouseDx entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winMouseDy() from "miniquake_native.dll" symbol "mq_win_mouse_dy" returns i32Invokes the native winMouseDy entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winMouseWheel() from "miniquake_native.dll" symbol "mq_win_mouse_wheel" returns i32Invokes the native winMouseWheel entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winPoll() from "miniquake_native.dll" symbol "mq_win_poll" returns i32Invokes the native winPoll entry point used by the miniquake2 native module.
Returns: Native i32 result produced by the call.
extern function winResizeClient(width as i32, height as i32) from "miniquake_native.dll" symbol "mq_win_resize_client" returns i32Invokes the native winResizeClient entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
Returns: Native i32 result produced by the call.
extern function winRestoreDisplayMode() from "miniquake_native.dll" symbol "mq_win_restore_display_mode" returns voidInvokes the native winRestoreDisplayMode entry point used by the miniquake2 native module.
extern function winSetCursorCapture(enabled as i32) from "miniquake_native.dll" symbol "mq_win_set_cursor_capture" returns voidInvokes the native winSetCursorCapture entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | i32 | — | enabled value consumed by this operation. |
extern function winSetGammaRamp(ramp as bytes, byteCount as u32) from "miniquake_native.dll" symbol "mq_win_set_gamma_ramp" returns i32Invokes the native winSetGammaRamp entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
ramp | bytes | — | ramp value consumed by this operation. |
byteCount | u32 | — | Number of byte to process. |
Returns: Native i32 result produced by the call.
extern function winSetSwapInterval(interval as i32) from "miniquake_native.dll" symbol "mq_win_set_swap_interval" returns i32Invokes the native winSetSwapInterval entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
interval | i32 | — | interval value consumed by this operation. |
Returns: Native i32 result produced by the call.
extern function winSetTitle(title as wstr) from "miniquake_native.dll" symbol "mq_win_set_title" returns voidInvokes the native winSetTitle entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
title | wstr | — | Human-readable title presented to the user. |
extern function winSleep(milliseconds as u32) from "miniquake_native.dll" symbol "mq_win_sleep" returns voidInvokes the native winSleep entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
milliseconds | u32 | — | milliseconds value consumed by this operation. |
extern function winSwap() from "miniquake_native.dll" symbol "mq_win_swap" returns voidInvokes the native winSwap entry point used by the miniquake2 native module.
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 i32Invokes the native winTestDisplayMode entry point used by the miniquake2 native module.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | i32 | — | Width in the coordinate or storage units used by the caller. |
height | i32 | — | Height in the coordinate or storage units used by the caller. |
bpp | i32 | — | bpp value consumed by this operation. |
frequency | i32 | — | frequency value consumed by this operation. |
Returns: Native i32 result produced by the call.