Crate flo_render_canvas

Source

Re-exports§

pub use flo_canvas as canvas;

Structs§

CanvasRenderer
Changes commands for flo_canvas into commands for flo_render
IndexBufferId
An identifier corresponding to an index buffer
Matrix
Represents an OpenGL transformation matrix
RenderTargetId
An identifier corresponding to a render target
Rgba8
Represents an RGBA colour as 8-bit valus
TextureId
An identifier corresponding to a texture
Vertex2D
2D vertex representation
VertexBufferId
An identifier corresponding to a vertex buffer

Enums§

BlendMode
The blending modes that the renderer must support (most of the Porter-Duff modes)
RenderAction
Represents an action for a render target
RenderInitError
Errors that can happen when trying to initialise the renderer
RenderTargetType
The types of render target that can be created by the render layer
ShaderType
The shaders that can be chosen for the renderer

Traits§

OffscreenRenderContext
Trait implemented by objects that represent a offscreen drawing context
OffscreenRenderTarget
Trait implemented by FlowBetween offscreen render targets

Functions§

render_canvas_offscreen
Renders a canvas in an offscreen context, returning the resulting bitmap