pub struct CxOsDrawShader {
pub gl_shader: [Option<GlShader>; 2],
pub in_vertex: String,
pub in_pixel: String,
pub vertex: [String; 2],
pub pixel: [String; 2],
pub live_uniforms: OpenglBuffer,
}
Fields§
§gl_shader: [Option<GlShader>; 2]
§in_vertex: String
§in_pixel: String
§vertex: [String; 2]
§pixel: [String; 2]
§live_uniforms: OpenglBuffer
Implementations§
Source§impl CxOsDrawShader
impl CxOsDrawShader
pub fn new( gl: &LibGl, in_vertex: &str, in_pixel: &str, os_type: &OsType, ) -> CxOsDrawShader
pub fn free_resources(&mut self, gl: &LibGl)
Auto Trait Implementations§
impl Freeze for CxOsDrawShader
impl RefUnwindSafe for CxOsDrawShader
impl Send for CxOsDrawShader
impl Sync for CxOsDrawShader
impl Unpin for CxOsDrawShader
impl UnwindSafe for CxOsDrawShader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more