Trait ppapi::ppb::Graphics3DIfExperimental [-]  [+] [src]

pub trait Graphics3DIf {
    fn attrib_max_value(&self, instance: PP_Instance, attribute: i32) -> Result<i32>;
    fn attribs(&self, ctxt: PP_Resource, attribs: Vec<PP_Graphics3DAttrib>) -> Result<Vec<u32>>;
    fn status(&self, ctxt: PP_Resource) -> Code;
    fn is(&self, res: PP_Resource) -> bool;
    fn resize_buffers(&self, ctxt: PP_Resource, width: i32, height: i32) -> Code;
    fn set_attribs(&self, ctxt: PP_Resource, attribs: Vec<PP_Graphics3DAttrib>) -> Code;
    fn swap_buffers(&self, ctxt: PP_Resource, callback: Struct_PP_CompletionCallback) -> Code;
}

Required Methods

fn attrib_max_value(&self, instance: PP_Instance, attribute: i32) -> Result<i32>

fn attribs(&self, ctxt: PP_Resource, attribs: Vec<PP_Graphics3DAttrib>) -> Result<Vec<u32>>

fn status(&self, ctxt: PP_Resource) -> Code

fn is(&self, res: PP_Resource) -> bool

fn resize_buffers(&self, ctxt: PP_Resource, width: i32, height: i32) -> Code

fn set_attribs(&self, ctxt: PP_Resource, attribs: Vec<PP_Graphics3DAttrib>) -> Code

fn swap_buffers(&self, ctxt: PP_Resource, callback: Struct_PP_CompletionCallback) -> Code

Implementors