Trait canvas::webgl_limits::GLExt

source ·
trait GLExt {
    // Required methods
    fn try_get_integer(self, parameter: u32) -> Option<u32>;
    fn try_get_integer64(self, parameter: u32) -> Option<u64>;
    fn try_get_signed_integer(self, parameter: u32) -> Option<i32>;
    fn try_get_float(self, parameter: u32) -> Option<f32>;
    fn get_integer(self, parameter: u32) -> u32;
    fn get_integer64(self, parameter: u32) -> u64;
    fn get_signed_integer(self, parameter: u32) -> i32;
    fn get_float(self, parameter: u32) -> f32;
}

Required Methods§

source

fn try_get_integer(self, parameter: u32) -> Option<u32>

source

fn try_get_integer64(self, parameter: u32) -> Option<u64>

source

fn try_get_signed_integer(self, parameter: u32) -> Option<i32>

source

fn try_get_float(self, parameter: u32) -> Option<f32>

source

fn get_integer(self, parameter: u32) -> u32

source

fn get_integer64(self, parameter: u32) -> u64

source

fn get_signed_integer(self, parameter: u32) -> i32

source

fn get_float(self, parameter: u32) -> f32

Implementations on Foreign Types§

source§

impl<'a> GLExt for &'a Context

source§

fn try_get_integer(self, parameter: u32) -> Option<u32>

source§

fn get_integer(self, parameter: u32) -> u32

source§

fn try_get_integer64(self, parameter: u32) -> Option<u64>

source§

fn get_integer64(self, parameter: u32) -> u64

source§

fn try_get_signed_integer(self, parameter: u32) -> Option<i32>

source§

fn get_signed_integer(self, parameter: u32) -> i32

source§

fn try_get_float(self, parameter: u32) -> Option<f32>

source§

fn get_float(self, parameter: u32) -> f32

Implementors§