Crate shade

Source

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§

ClearArgs
Arguments for clear.
DrawArgs
Arguments for draw.
DrawIndexedArgs
Arguments for draw_indexed.
Graphics
Graphics interface.
IndexBuffer
IndexBuffer identifier.
Shader
Shader identifier.
Surface
Surface identifier.
SurfaceInfo
Surface information.
Texture2D
Texture2D identifier.
Texture2DInfo
Texture2D information.
UniformAttribute
Uniform attribute.
UniformBuffer
UniformBuffer identifier.
UniformLayout
Uniform memory layout.
VertexAttribute
Vertex attribute.
VertexBuffer
VertexBuffer identifier.
VertexLayout
Vertex memory layout.

Enums§

BlendMode
Blend mode.
BufferUsage
Buffer usage.
CullMode
Cull mode.
DepthTest
Depth test.
GfxError
Graphics error.
PrimType
Primitive type.
SurfaceFormat
Surface format.
TextureFilter
Texture filter mode.
TextureFormat
Texture format.
TextureWrap
Texture wrap mode.
UniformMatOrder
UniformType
Uniform data type.
VertexAttributeFormat
Vertex attribute format.

Traits§

IGraphics
Graphics interface.
TUniform
Defines a type containing uniform data.
TVertex
Defines a vertex type.

Functions§

Graphics
Graphics constructor.