Struct adi_gpu::ShapeBuilder [] [src]

pub struct ShapeBuilder { /* fields omitted */ }

Builder for Shape

Methods

impl ShapeBuilder
[src]

[src]

Obtain a new ShapeBuilder with vertices

[src]

Push a shape with a solid color

[src]

Push a shape with shaded by a gradient (1 color per vertex)

[src]

Push a shape with a texture and texture coordinates

Texture Coordinates follow this format (X, Y, UNUSED(1.0), ALPHA)

[src]

Push a shape with a texture, texture coordinates and alpha

Texture Coordinates follow this format (X, Y, UNUSED(1.0), ALPHA)

[src]

Push a shape with a texture and texture coordinates and tint

Texture Coordinates follow this format (X, Y, UNUSED(1.0), ALPHA)

[src]

Push a shape with a texture and texture coordinates and tint per vertex

Texture Coordinates follow this format (X, Y, UNUSED(1.0), ALPHA)