Struct ppapi::ffi::Struct_PPB_Graphics3D_1_0Experimental [-]  [+] [src]

pub struct Struct_PPB_Graphics3D_1_0 {
    pub GetAttribMaxValue: Option< extern "C" fn(instance: PP_Resource, attribute: int32_t, value: *mut int32_t) -> int32_t>,
    pub Create: Option< extern "C" fn(instance: PP_Instance, share_context: PP_Resource, attrib_list: *const int32_t) -> PP_Resource>,
    pub IsGraphics3D: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetAttribs: Option< extern "C" fn(context: PP_Resource, attrib_list: *mut int32_t) -> int32_t>,
    pub SetAttribs: Option< extern "C" fn(context: PP_Resource, attrib_list: *const int32_t) -> int32_t>,
    pub GetError: Option< extern "C" fn(context: PP_Resource) -> int32_t>,
    pub ResizeBuffers: Option< extern "C" fn(context: PP_Resource, width: int32_t, height: int32_t) -> int32_t>,
    pub SwapBuffers: Option< extern "C" fn(context: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
}

Fields

GetAttribMaxValue
Create
IsGraphics3D
GetAttribs
SetAttribs
GetError
ResizeBuffers
SwapBuffers

Trait Implementations

impl Default for Struct_PPB_Graphics3D_1_0

fn default() -> Struct_PPB_Graphics3D_1_0

impl Graphics3DIf for Struct_PPB_Graphics3D_1_0

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

Derived Implementations

impl Copy for Struct_PPB_Graphics3D_1_0