[][src]Trait awsm::webgl::PartialWebGlAttribute

pub trait PartialWebGlAttribute {
    fn awsm_get_attribute_location(
        &self,
        program: &WebGlProgram,
        name: &str
    ) -> Result<u32, Error>;
fn awsm_activate_attribute(&self, loc: u32, opts: &AttributeOptions); }

Required methods

fn awsm_get_attribute_location(
    &self,
    program: &WebGlProgram,
    name: &str
) -> Result<u32, Error>

fn awsm_activate_attribute(&self, loc: u32, opts: &AttributeOptions)

Loading content...

Implementations on Foreign Types

impl PartialWebGlAttribute for WebGlRenderingContext[src]

impl PartialWebGlAttribute for WebGl2RenderingContext[src]

Loading content...

Implementors

Loading content...