Re-exports§
pub use cvmath;
Modules§
- d2
- 2D graphics.
- gl
- OpenGL graphics backend.
- msdfgen
- Use fonts created with Msdfgen with libshade.
- png
- Utility to load PNG files to texture.
Structs§
- Clear
Args - Arguments for clear.
- Draw
Args - Arguments for draw.
- Draw
Indexed Args - Arguments for draw_indexed.
- Graphics
- Graphics interface.
- Index
Buffer IndexBuffer
identifier.- Shader
Shader
identifier.- Surface
Surface
identifier.- Surface
Info - Surface information.
- Texture2D
Texture2D
identifier.- Texture2D
Info - Texture2D information.
- Uniform
Attribute - Uniform attribute.
- Uniform
Buffer UniformBuffer
identifier.- Uniform
Layout - Uniform memory layout.
- Vertex
Attribute - Vertex attribute.
- Vertex
Buffer VertexBuffer
identifier.- Vertex
Layout - Vertex memory layout.
Enums§
- Blend
Mode - Blend mode.
- Buffer
Usage - Buffer usage.
- Cull
Mode - Cull mode.
- Depth
Test - Depth test.
- GfxError
- Graphics error.
- Prim
Type - Primitive type.
- Surface
Format - Surface format.
- Texture
Filter - Texture filter mode.
- Texture
Format - Texture format.
- Texture
Wrap - Texture wrap mode.
- Uniform
MatOrder - Uniform
Type - Uniform data type.
- Vertex
Attribute Format - Vertex attribute format.
Traits§
- IGraphics
- Graphics interface.
- TUniform
- Defines a type containing uniform data.
- TVertex
- Defines a vertex type.
Functions§
- Graphics
- Graphics constructor.