Re-exports§
pub use cvmath;
Modules§
- d2
- Immediate mode 2D rendering.
- d3
- Graphics module 3D.
- gl
- OpenGL graphics backend.
- image
- Utilities for loading and manipulating images.
- msdfgen
- Use fonts created with Msdfgen with libshade.
Macros§
Structs§
- Clear
Args - Arguments for clear.
- Draw
Args - Arguments for draw.
- Draw
Indexed Args - Arguments for draw_indexed.
- Draw
Mask - Draw mask.
- Draw
Vertex Buffer - Arguments for drawing a vertex buffer and metadata.
- Graphics
- Graphics interface.
- Index
Buffer - IndexBuffer handle.
- Norm
- Normalized attribute.
- Shader
- Shader handle.
- Surface
- Surface handle.
- Surface
Info - Surface information.
- Texture2D
- Texture2D handle.
- Texture2D
Info - Texture2D information.
- Texture
Cube - TextureCube handle.
- Texture
Cube Info - TextureCube information.
- Vertex
Attribute - Vertex attribute.
- Vertex
Buffer - VertexBuffer handle.
- Vertex
Layout - Vertex layout.
Enums§
- Blend
Mode - Blend mode.
- Buffer
Usage - Buffer usage.
- Cull
Mode - Cull mode.
- Depth
Test - Depth test.
- Free
Mode - Free mode.
- Index
Type - Index type for index buffers.
- Prim
Type - Primitive type.
- Surface
Format - Surface format.
- Texture
Filter - Texture filter mode.
- Texture
Format - Texture format.
- Texture
Wrap - Texture wrap mode.
- Vertex
Attribute Format - VertexAttribute format.
- Vertex
Attribute Size - VertexAttribute size.
- Vertex
Attribute Type - VertexAttribute type.
- Vertex
Divisor - Vertex divisor for instanced rendering.
Traits§
- IGraphics
- Graphics interface.
- TIndex
- Trait for index types.
- TUniform
- Marker trait for types containing uniform values.
- TUniform
Value - Values that can be passed as shader uniforms.
- TVertex
- Defines a vertex type.
- TVertex
Attribute Format - Uniform
Setter - Indirection over a backend-specific uniform setter.
- Uniform
Visitor - Visiting an instance and pushing its uniforms.
Functions§
- Graphics
- Graphics constructor.