Struct quicksilver::graphics::GpuTriangle[][src]

pub struct GpuTriangle {
    pub z: f32,
    pub indices: [u32; 3],
    pub image: Option<Image>,
}

A triangle to draw to the GPU

Fields

The plane the triangle falls on

The indexes in the vertex list that the GpuTriangle uses

The (optional) image used by the GpuTriangle

All of the vertices used by the triangle should agree on whether it uses an image, it is up to you to maintain this

Trait Implementations

impl Clone for GpuTriangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for GpuTriangle

impl !Sync for GpuTriangle