sokol.app

Undocumented in source.

Members

Enums

AndroidTooltype
enum AndroidTooltype
Undocumented in source.
EventType
enum EventType
Undocumented in source.
Html5FetchError
enum Html5FetchError
Undocumented in source.
Keycode
enum Keycode
Undocumented in source.
LogItem
enum LogItem
Undocumented in source.
MouseCursor
enum MouseCursor
Undocumented in source.
Mousebutton
enum Mousebutton
Undocumented in source.

Functions

androidGetNativeActivity
const(void)* androidGetNativeActivity()
Undocumented in source. Be warned that the author may not have intended to support it.
cancelQuit
void cancelQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
colorFormat
int colorFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
consumeEvent
void consumeEvent()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetDepthStencilView
const(void)* d3d11GetDepthStencilView()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetDevice
const(void)* d3d11GetDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetDeviceContext
const(void)* d3d11GetDeviceContext()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetRenderView
const(void)* d3d11GetRenderView()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetResolveView
const(void)* d3d11GetResolveView()
Undocumented in source. Be warned that the author may not have intended to support it.
d3d11GetSwapChain
const(void)* d3d11GetSwapChain()
Undocumented in source. Be warned that the author may not have intended to support it.
depthFormat
int depthFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
dpiScale
float dpiScale()
Undocumented in source. Be warned that the author may not have intended to support it.
eglGetContext
const(void)* eglGetContext()
Undocumented in source. Be warned that the author may not have intended to support it.
eglGetDisplay
const(void)* eglGetDisplay()
Undocumented in source. Be warned that the author may not have intended to support it.
frameCount
ulong frameCount()
Undocumented in source. Be warned that the author may not have intended to support it.
frameDuration
double frameDuration()
Undocumented in source. Be warned that the author may not have intended to support it.
getClipboardString
const(char)* getClipboardString()
Undocumented in source. Be warned that the author may not have intended to support it.
getDroppedFilePath
const(char)* getDroppedFilePath(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getMouseCursor
MouseCursor getMouseCursor()
Undocumented in source. Be warned that the author may not have intended to support it.
getNumDroppedFiles
int getNumDroppedFiles()
Undocumented in source. Be warned that the author may not have intended to support it.
glGetFramebuffer
uint glGetFramebuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
glGetMajorVersion
int glGetMajorVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
glGetMinorVersion
int glGetMinorVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height()
Undocumented in source. Be warned that the author may not have intended to support it.
heightf
float heightf()
Undocumented in source. Be warned that the author may not have intended to support it.
highDpi
bool highDpi()
Undocumented in source. Be warned that the author may not have intended to support it.
html5AskLeaveSite
void html5AskLeaveSite(bool ask)
Undocumented in source. Be warned that the author may not have intended to support it.
html5FetchDroppedFile
void html5FetchDroppedFile(Html5FetchRequest request)
Undocumented in source. Be warned that the author may not have intended to support it.
html5GetDroppedFileSize
uint html5GetDroppedFileSize(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
iosGetWindow
const(void)* iosGetWindow()
Undocumented in source. Be warned that the author may not have intended to support it.
isFullscreen
bool isFullscreen()
Undocumented in source. Be warned that the author may not have intended to support it.
isvalid
bool isvalid()
Undocumented in source. Be warned that the author may not have intended to support it.
keyboardShown
bool keyboardShown()
Undocumented in source. Be warned that the author may not have intended to support it.
lockMouse
void lockMouse(bool lock)
Undocumented in source. Be warned that the author may not have intended to support it.
macosGetWindow
const(void)* macosGetWindow()
Undocumented in source. Be warned that the author may not have intended to support it.
metalGetCurrentDrawable
const(void)* metalGetCurrentDrawable()
Undocumented in source. Be warned that the author may not have intended to support it.
metalGetDepthStencilTexture
const(void)* metalGetDepthStencilTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
metalGetDevice
const(void)* metalGetDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
metalGetMsaaColorTexture
const(void)* metalGetMsaaColorTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseLocked
bool mouseLocked()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseShown
bool mouseShown()
Undocumented in source. Be warned that the author may not have intended to support it.
queryDesc
Desc queryDesc()
Undocumented in source. Be warned that the author may not have intended to support it.
quit
void quit()
Undocumented in source. Be warned that the author may not have intended to support it.
requestQuit
void requestQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run(Desc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
sampleCount
int sampleCount()
Undocumented in source. Be warned that the author may not have intended to support it.
sapp_android_get_native_activity
const(void)* sapp_android_get_native_activity()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_cancel_quit
void sapp_cancel_quit()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_color_format
int sapp_color_format()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_consume_event
void sapp_consume_event()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_depth_stencil_view
const(void)* sapp_d3d11_get_depth_stencil_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_device
const(void)* sapp_d3d11_get_device()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_device_context
const(void)* sapp_d3d11_get_device_context()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_render_view
const(void)* sapp_d3d11_get_render_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_resolve_view
const(void)* sapp_d3d11_get_resolve_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_d3d11_get_swap_chain
const(void)* sapp_d3d11_get_swap_chain()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_depth_format
int sapp_depth_format()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_dpi_scale
float sapp_dpi_scale()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_egl_get_context
const(void)* sapp_egl_get_context()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_egl_get_display
const(void)* sapp_egl_get_display()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_frame_count
ulong sapp_frame_count()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_frame_duration
double sapp_frame_duration()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_get_clipboard_string
const(char)* sapp_get_clipboard_string()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_get_dropped_file_path
const(char)* sapp_get_dropped_file_path(int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_get_mouse_cursor
MouseCursor sapp_get_mouse_cursor()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_get_num_dropped_files
int sapp_get_num_dropped_files()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_gl_get_framebuffer
uint sapp_gl_get_framebuffer()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_gl_get_major_version
int sapp_gl_get_major_version()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_gl_get_minor_version
int sapp_gl_get_minor_version()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_height
int sapp_height()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_heightf
float sapp_heightf()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_high_dpi
bool sapp_high_dpi()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_html5_ask_leave_site
void sapp_html5_ask_leave_site(bool )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_html5_fetch_dropped_file
void sapp_html5_fetch_dropped_file(Html5FetchRequest* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_html5_get_dropped_file_size
uint sapp_html5_get_dropped_file_size(int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_ios_get_window
const(void)* sapp_ios_get_window()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_is_fullscreen
bool sapp_is_fullscreen()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_isvalid
bool sapp_isvalid()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_keyboard_shown
bool sapp_keyboard_shown()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_lock_mouse
void sapp_lock_mouse(bool )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_macos_get_window
const(void)* sapp_macos_get_window()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_metal_get_current_drawable
const(void)* sapp_metal_get_current_drawable()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_metal_get_depth_stencil_texture
const(void)* sapp_metal_get_depth_stencil_texture()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_metal_get_device
const(void)* sapp_metal_get_device()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_metal_get_msaa_color_texture
const(void)* sapp_metal_get_msaa_color_texture()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_mouse_locked
bool sapp_mouse_locked()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_mouse_shown
bool sapp_mouse_shown()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_query_desc
Desc sapp_query_desc()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_quit
void sapp_quit()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_request_quit
void sapp_request_quit()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_run
void sapp_run(Desc* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_sample_count
int sapp_sample_count()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_set_clipboard_string
void sapp_set_clipboard_string(const(char)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_set_icon
void sapp_set_icon(IconDesc* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_set_mouse_cursor
void sapp_set_mouse_cursor(MouseCursor )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_set_window_title
void sapp_set_window_title(const(char)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_show_keyboard
void sapp_show_keyboard(bool )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_show_mouse
void sapp_show_mouse(bool )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_toggle_fullscreen
void sapp_toggle_fullscreen()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_userdata
void* sapp_userdata()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_wgpu_get_depth_stencil_view
const(void)* sapp_wgpu_get_depth_stencil_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_wgpu_get_device
const(void)* sapp_wgpu_get_device()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_wgpu_get_render_view
const(void)* sapp_wgpu_get_render_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_wgpu_get_resolve_view
const(void)* sapp_wgpu_get_resolve_view()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_width
int sapp_width()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_widthf
float sapp_widthf()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sapp_win32_get_hwnd
const(void)* sapp_win32_get_hwnd()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
setClipboardString
void setClipboardString(const(char)* str)
Undocumented in source. Be warned that the author may not have intended to support it.
setIcon
void setIcon(IconDesc icon_desc)
Undocumented in source. Be warned that the author may not have intended to support it.
setMouseCursor
void setMouseCursor(MouseCursor cursor)
Undocumented in source. Be warned that the author may not have intended to support it.
setWindowTitle
void setWindowTitle(const(char)* str)
Undocumented in source. Be warned that the author may not have intended to support it.
showKeyboard
void showKeyboard(bool show)
Undocumented in source. Be warned that the author may not have intended to support it.
showMouse
void showMouse(bool show)
Undocumented in source. Be warned that the author may not have intended to support it.
toggleFullscreen
void toggleFullscreen()
Undocumented in source. Be warned that the author may not have intended to support it.
userdata
void* userdata()
Undocumented in source. Be warned that the author may not have intended to support it.
wgpuGetDepthStencilView
const(void)* wgpuGetDepthStencilView()
Undocumented in source. Be warned that the author may not have intended to support it.
wgpuGetDevice
const(void)* wgpuGetDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
wgpuGetRenderView
const(void)* wgpuGetRenderView()
Undocumented in source. Be warned that the author may not have intended to support it.
wgpuGetResolveView
const(void)* wgpuGetResolveView()
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width()
Undocumented in source. Be warned that the author may not have intended to support it.
widthf
float widthf()
Undocumented in source. Be warned that the author may not have intended to support it.
win32GetHwnd
const(void)* win32GetHwnd()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

max_iconimages
enum max_iconimages;
Undocumented in source.
max_keycodes
enum max_keycodes;
Undocumented in source.
max_mousebuttons
enum max_mousebuttons;
Undocumented in source.
max_touchpoints
enum max_touchpoints;
Undocumented in source.
modifier_alt
enum modifier_alt;
Undocumented in source.
modifier_ctrl
enum modifier_ctrl;
Undocumented in source.
modifier_lmb
enum modifier_lmb;
Undocumented in source.
modifier_mmb
enum modifier_mmb;
Undocumented in source.
modifier_rmb
enum modifier_rmb;
Undocumented in source.
modifier_shift
enum modifier_shift;
Undocumented in source.
modifier_super
enum modifier_super;
Undocumented in source.

Structs

Allocator
struct Allocator
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Desc
struct Desc
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Event
struct Event
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Html5FetchRequest
struct Html5FetchRequest
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Html5FetchResponse
struct Html5FetchResponse
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IconDesc
struct IconDesc
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ImageDesc
struct ImageDesc
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Logger
struct Logger
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Range
struct Range
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Touchpoint
struct Touchpoint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta