RenderExt

renderer utilities

Members

Static functions

create_render_target
RenderTarget create_render_target(int width, int height)

create render target with a given size

destroy_render_target
void destroy_render_target(RenderTarget target)

destroy render target

draw_render_target
void draw_render_target(RenderTarget target, Rectangle dest_rect, Color color)

draws a render target to the specified destination rect, tinted with color

draw_render_target_from
void draw_render_target_from(RenderTarget source, RenderTarget dest, Effect effect)

draws a render target on another with an effect

draw_render_target_from
void draw_render_target_from(RenderTarget source, RenderTarget dest)

draws a render target on another with an effect

Meta