pub struct GLShaderBuilder { /* private fields */ }👎Deprecated: Since 4.16
Expand description
A builder-pattern type to construct GLShader objects.
Implementations§
Source§impl GLShaderBuilder
impl GLShaderBuilder
Sourcepub fn resource(self, resource: impl Into<GString>) -> Self
👎Deprecated: Since 4.16
pub fn resource(self, resource: impl Into<GString>) -> Self
Resource containing the source code for the shader.
If the shader source is not coming from a resource, this
will be None.
Auto Trait Implementations§
impl Freeze for GLShaderBuilder
impl RefUnwindSafe for GLShaderBuilder
impl !Send for GLShaderBuilder
impl !Sync for GLShaderBuilder
impl Unpin for GLShaderBuilder
impl UnwindSafe for GLShaderBuilder
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