Module graphics
Available on crate feature
dep_miniquad
only.Modules§
- raw_gl
- Raw OpenGL bindings Highly unsafe, some of the functions could be missing due to incompatible GL version or all of them might be missing alltogether if rendering context is not a GL one.
Structs§
- Arg
- A vtable-erased generic argument.
Basically, the same thing as
fn f<U>(a: &U)
, but trait-object friendly. - Bindings
- Geometry bindings
- Blend
State - Pixel arithmetic description for blending operations.
Will be used in an equation:
equation(sfactor * source_color, dfactor * destination_color)
Where source_color is the new pixel color and destination color is color from the destination buffer. - Buffer
Id - Buffer
Layout - Context
Info - Elapsed
Query ElapsedQuery
is used to measure duration of GPU operations.- Features
- GlContext
- Glsl
Support - Pipeline
- Pipeline
Layout - Pipeline
Params - Render
Pass - Shader
Id - Shader
Meta - Stencil
Face State - Stencil
State - Texture
Id - Texture
Params - Uniform
Block Layout - Uniform
Desc - Uniforms
Source - Vertex
Attribute
Enums§
- Backend
- Blend
Factor - Blend factors.
- Blend
Value - Blend values.
- Buffer
Source - Buffer
Type - Buffer
Usage - Compare
Func - Depth and stencil compare function
- Comparison
- A pixel-wise comparison function.
- Cull
Face - Specify whether front- or back-facing polygons can be culled.
- Equation
- Specifies how incoming RGBA values (source) and the RGBA in framebuffer (destination) are combined.
- Filter
Mode - Front
Face Order - Define front- and back-facing polygons.
- Mipmap
Filter Mode - Pass
Action - Primitive
Type - RawId
- Shader
Error - Shader
Source - Shader
Type - Stencil
Op - Operations performed on current stencil value when comparison test passes or fails.
- Texture
Access - Texture
Format - List of all the possible formats of input data when uploading to texture. The list is built by intersection of texture formats supported by 3.3 core profile and webgl1.
- Texture
Kind - Texture
Source - Texture
Wrap - Sets the wrap parameter for texture.
- Uniform
Type - Vertex
Format - Vertex
Step