pub struct Shader {
pub ID: NativeProgram,
}
Fields§
§ID: NativeProgram
Implementations§
Source§impl Shader
NOTE: mixture of shader_s.h
and shader_m.h
(the latter just contains
a few more setters for uniforms)
impl Shader
NOTE: mixture of shader_s.h
and shader_m.h
(the latter just contains
a few more setters for uniforms)
Auto Trait Implementations§
impl Freeze for Shader
impl RefUnwindSafe for Shader
impl Send for Shader
impl Sync for Shader
impl Unpin for Shader
impl UnwindSafe for Shader
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