Re-exports§
pub use flo_canvas as canvas;
Structs§
- Canvas
Renderer - Changes commands for
flo_canvas
into commands forflo_render
- Index
Buffer Id - An identifier corresponding to an index buffer
- Matrix
- Represents an OpenGL transformation matrix
- Render
Target Id - An identifier corresponding to a render target
- Rgba8
- Represents an RGBA colour as 8-bit valus
- Texture
Id - An identifier corresponding to a texture
- Vertex2D
- 2D vertex representation
- Vertex
Buffer Id - An identifier corresponding to a vertex buffer
Enums§
- Blend
Mode - The blending modes that the renderer must support (most of the Porter-Duff modes)
- Render
Action - Represents an action for a render target
- Render
Init Error - Errors that can happen when trying to initialise the renderer
- Render
Target Type - The types of render target that can be created by the render layer
- Shader
Type - The shaders that can be chosen for the renderer
Traits§
- Offscreen
Render Context - Trait implemented by objects that represent a offscreen drawing context
- Offscreen
Render Target - Trait implemented by FlowBetween offscreen render targets
Functions§
- render_
canvas_ offscreen - Renders a canvas in an offscreen context, returning the resulting bitmap