- destroyFramebuffer
void destroyFramebuffer(Framebuffer fb)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeFramebuffer
Framebuffer makeFramebuffer(FramebufferDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryFramebufferDesc
FramebufferDesc queryFramebufferDesc(Framebuffer fb)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryFramebufferInfo
FramebufferInfo queryFramebufferInfo(Framebuffer fb)
Undocumented in source. Be warned that the author may not have intended to support it.
- queryFramebufferState
ResourceState queryFramebufferState(Framebuffer fb)
Undocumented in source. Be warned that the author may not have intended to support it.
- render
void render(Framebuffer fb)
Undocumented in source. Be warned that the author may not have intended to support it.
- renderEx
void renderEx(Framebuffer fb, RenderDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- resize
bool resize(Framebuffer fb, ResizeDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- setup
void setup(Desc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
- sfb_destroy_framebuffer
void sfb_destroy_framebuffer(Framebuffer fb)
destroy framebuffer object
- sfb_make_framebuffer
Framebuffer sfb_make_framebuffer(FramebufferDesc* desc)
create a framebuffer object
- sfb_query_framebuffer_desc
FramebufferDesc sfb_query_framebuffer_desc(Framebuffer fb)
query the framebuffer desc, with default values patched in
- sfb_query_framebuffer_info
FramebufferInfo sfb_query_framebuffer_info(Framebuffer fb)
query current framebuffer properties
- sfb_query_framebuffer_state
ResourceState sfb_query_framebuffer_state(Framebuffer fb)
query framebuffer resource state (valid or failed)
- sfb_render
void sfb_render(Framebuffer fb)
draw framebuffer content with default shader (must be called inside a sokol-gfx render pass)
- sfb_render_ex
void sfb_render_ex(Framebuffer fb, RenderDesc* desc)
draw framebuffer content with injected shader (must be called inside a sokol-gfx render pass)
- sfb_resize
bool sfb_resize(Framebuffer fb, ResizeDesc* desc)
resize internal images (no-op if resize isn't needed), return true when images had to be re-created
- sfb_setup
void sfb_setup(Desc* desc)
- sfb_shutdown
void sfb_shutdown()
shutdown sokol-framebuffer
- sfb_update
void sfb_update(Framebuffer fb, UpdateDesc* desc)
update framebuffer and/or color palette content (must be called outside any sokol-gfx pass)
- shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update(Framebuffer fb, UpdateDesc desc)
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_framebuffer.h Module: sokol.framebuffer
Do not edit manually; regenerate using gen_d.py.