[][src]Struct makepad_render::OpenglCx

pub struct OpenglCx {
    pub display: *mut Display,
    pub context: GLXContext,
    pub visual_info: XVisualInfo,
    pub hidden_window: Window,
}

Fields

display: *mut Displaycontext: GLXContextvisual_info: XVisualInfohidden_window: Window

Methods

impl OpenglCx[src]

pub fn new(display: *mut Display) -> OpenglCx[src]

pub fn set_uniform_buffer(&self, locs: &Vec<OpenglUniform>, uni: &[f32])[src]

pub fn update_platform_texture_image2d(&self, cxtexture: &mut CxTexture)[src]

pub fn update_platform_render_target(
    &self,
    cxtexture: &mut CxTexture,
    dpi_factor: f32,
    size: Vec2,
    is_depth: bool
) -> bool
[src]

Auto Trait Implementations

impl RefUnwindSafe for OpenglCx

impl !Send for OpenglCx

impl !Sync for OpenglCx

impl Unpin for OpenglCx

impl UnwindSafe for OpenglCx

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.