Struct bgfx::Shader [] [src]

pub struct Shader<'m> {
    // some fields omitted
}

Shader.

Methods

impl<'m> Shader<'m>

fn new(data: Memory<'m>) -> Shader<'m>

Creates a new shader from bgfx-managed memory.

Trait Implementations

impl<'m> Drop for Shader<'m>

fn drop(&mut self)