sokol-d ~master (2024-11-07T19:02:21.1867002)
Dub
Repo
ContextDesc
sokol
debugtext
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (
C
)
struct
ContextDesc {
int
max_commands
;
int
char_buf_size
;
float
canvas_width
;
float
canvas_height
;
int
tab_width
;
sg
.
PixelFormat
color_format
;
sg
.
PixelFormat
depth_format
;
int
sample_count
;
}
Members
Variables
canvas_height
float
canvas_height
;
Undocumented in source.
canvas_width
float
canvas_width
;
Undocumented in source.
char_buf_size
int
char_buf_size
;
Undocumented in source.
color_format
sg
.
PixelFormat
color_format
;
Undocumented in source.
depth_format
sg
.
PixelFormat
depth_format
;
Undocumented in source.
max_commands
int
max_commands
;
Undocumented in source.
sample_count
int
sample_count
;
Undocumented in source.
tab_width
int
tab_width
;
Undocumented in source.
Meta
Source
See Implementation
sokol
debugtext
enums
LogItem
functions
canvas
color1i
color3b
color3f
color4b
color4f
contextDraw
contextDrawLayer
crlf
defaultContext
destroyContext
draw
drawLayer
font
fontC64
fontCpc
fontKc853
fontKc854
fontOric
fontZ1013
getContext
home
layer
makeContext
move
moveX
moveY
origin
pos
posX
posY
putc
putr
puts
sdtx_canvas
sdtx_color1i
sdtx_color3b
sdtx_color3f
sdtx_color4b
sdtx_color4f
sdtx_context_draw
sdtx_context_draw_layer
sdtx_crlf
sdtx_default_context
sdtx_destroy_context
sdtx_draw
sdtx_draw_layer
sdtx_font
sdtx_font_c64
sdtx_font_cpc
sdtx_font_kc853
sdtx_font_kc854
sdtx_font_oric
sdtx_font_z1013
sdtx_get_context
sdtx_home
sdtx_layer
sdtx_make_context
sdtx_move
sdtx_move_x
sdtx_move_y
sdtx_origin
sdtx_pos
sdtx_pos_x
sdtx_pos_y
sdtx_putc
sdtx_putr
sdtx_puts
sdtx_set_context
sdtx_setup
sdtx_shutdown
setContext
setup
shutdown
structs
Allocator
Context
ContextDesc
Desc
FontDesc
Logger
Range