- applyBindings
void applyBindings(Cmdbuf cb, sg.Bindings bindings)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyPipeline
void applyPipeline(Cmdbuf cb, sg.Pipeline pip)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyScissorRect
void applyScissorRect(Cmdbuf cb, int x, int y, int width, int height, bool origin_top_left)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyScissorRectf
void applyScissorRectf(Cmdbuf cb, float x, float y, float width, float height, bool origin_top_left)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyUniforms
void applyUniforms(Cmdbuf cb, int ub_slot, sg.Range data)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyViewport
void applyViewport(Cmdbuf cb, int x, int y, int width, int height, bool origin_top_left)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyViewportf
void applyViewportf(Cmdbuf cb, float x, float y, float width, float height, bool origin_top_left)
Undocumented in source. Be warned that the author may not have intended to support it.
- destroyCmdbuf
void destroyCmdbuf(Cmdbuf cb)
Undocumented in source. Be warned that the author may not have intended to support it.
- dispatch
void dispatch(Cmdbuf cb, int num_groups_x, int num_groups_y, int num_groups_z)
Undocumented in source. Be warned that the author may not have intended to support it.
- dispatchIndirect
void dispatchIndirect(Cmdbuf cb, sg.Buffer buf, int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(Cmdbuf cb, int base_element, int num_elements, int num_instances)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawEx
void drawEx(Cmdbuf cb, int base_element, int num_elements, int num_instances, int base_vertex, int base_instance)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawIndirect
void drawIndirect(Cmdbuf cb, sg.Buffer buf, int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeCmdbuf
Cmdbuf makeCmdbuf(CmdbufDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryCmdbufInfo
CmdbufInfo queryCmdbufInfo(Cmdbuf cb)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryCmdbufState
ResourceState queryCmdbufState(Cmdbuf cb)
Undocumented in source. Be warned that the author may not have intended to support it.
- reset
void reset(Cmdbuf cb)
Undocumented in source. Be warned that the author may not have intended to support it.
- scb_apply_bindings
void scb_apply_bindings(Cmdbuf cb, sg.Bindings* bindings)
record apply bindings command
- scb_apply_pipeline
void scb_apply_pipeline(Cmdbuf cb, sg.Pipeline pip)
record apply pipeline command
- scb_apply_scissor_rect
void scb_apply_scissor_rect(Cmdbuf cb, int x, int y, int width, int height, bool origin_top_left)
record apply-scissor-rect command (integer variant)
- scb_apply_scissor_rectf
void scb_apply_scissor_rectf(Cmdbuf cb, float x, float y, float width, float height, bool origin_top_left)
record apply-scissor-rect command (float variant)
- scb_apply_uniforms
void scb_apply_uniforms(Cmdbuf cb, int ub_slot, sg.Range* data)
record apply uniforms command
- scb_apply_viewport
void scb_apply_viewport(Cmdbuf cb, int x, int y, int width, int height, bool origin_top_left)
record apply-viewport command (integer variant)
- scb_apply_viewportf
void scb_apply_viewportf(Cmdbuf cb, float x, float y, float width, float height, bool origin_top_left)
record apply-viewport command (float variant)
- scb_destroy_cmdbuf
void scb_destroy_cmdbuf(Cmdbuf cb)
- scb_dispatch
void scb_dispatch(Cmdbuf cb, int num_groups_x, int num_groups_y, int num_groups_z)
- scb_dispatch_indirect
void scb_dispatch_indirect(Cmdbuf cb, sg.Buffer buf, int offset)
record dispatch-indirect command
- scb_draw
void scb_draw(Cmdbuf cb, int base_element, int num_elements, int num_instances)
- scb_draw_ex
void scb_draw_ex(Cmdbuf cb, int base_element, int num_elements, int num_instances, int base_vertex, int base_instance)
- scb_draw_indirect
void scb_draw_indirect(Cmdbuf cb, sg.Buffer buf, int offset)
record draw-indirect command
- scb_make_cmdbuf
Cmdbuf scb_make_cmdbuf(CmdbufDesc* desc)
- scb_query_cmdbuf_info
CmdbufInfo scb_query_cmdbuf_info(Cmdbuf cb)
query current command buffer properties
- scb_query_cmdbuf_state
ResourceState scb_query_cmdbuf_state(Cmdbuf cb)
query command buffer resource state (valid, failed, invalid)
- scb_reset
void scb_reset(Cmdbuf cb)
reset a recorded command buffer, discarding its content
- scb_setup
void scb_setup(Desc* desc)
- scb_shutdown
void scb_shutdown()
- scb_submit
void scb_submit(Cmdbuf cb)
submit command buffer to sokol-gfx and rewind the command buffer (call inside a sokol-gfx pass)
- setup
void setup(Desc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
- submit
void submit(Cmdbuf cb)
Undocumented in source. Be warned that the author may not have intended to support it.
Machine generated D bindings for Sokol library.
Source header: sokol_cmdbuf.h Module: sokol.cmdbuf
Do not edit manually; regenerate using gen_d.py.