[][src]Module fna3h::draw

Drawing

Rendering cycle

As described in crate::Device, one rendering pass is as follows:

And call Device::swap_buffers at the end of a frame.

Modules

blend

Blending

mojo

MojoShader

pass

Rendering to frame buffer or offscreen (render target)

pip

Pipeline (SamplerState + DepthStencilState + RasterizerState)

Enums

PrimitiveType

Specifies primitive type used for drawing

Type Definitions

Query

Opaque object to run occlusion queries

Rect

Scissor rect or region of Renderbuffer

VertexBufferBinding

Device::apply_vertex_buffer_bindings parameter, which describes vertex memory location and attributes

Viewport

The view bounds for render-target surface