[][src]Module miniquad::graphics

Structs

Bindings
BlendState

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
BufferLayout
Context
Pipeline
PipelineLayout
PipelineParams
RenderPass
Shader
ShaderImage
ShaderMeta
ShaderUniform
StencilFaceState
StencilState
Texture
TextureParams
UniformBlockLayout
UniformDesc
VertexAttribute

Enums

BlendFactor

Blend factors.

BlendValue

Blend values.

BufferType
CompareFunc

Depth and stencil compare function

Comparison

A pixel-wise comparison function.

CullFace

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.

FilterMode
FrontFaceOrder

Define front- and back-facing polygons.

PassAction
PrimitiveType
ShaderError
ShaderType
StencilOp

Operations performed on current stencil value when comparison test passes or fails.

TextureAccess
TextureFormat

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.

TextureWrap

Sets the wrap parameter for texture.

UniformType
Usage
VertexFormat
VertexStep

Constants

MAX_SHADERSTAGE_IMAGES
MAX_VERTEX_ATTRIBUTES

Functions

load_shader