[−][src]Struct window::ShaderBuilder
A builder for portable shaders.
Fields
tint: bool
Whether or not shapes for this shader have a tint
gradient: bool
Whether or not vertices have attached colors for this shader.
graphic: bool
Whether or not a graphic is attached to this shader.
depth: bool
Whether or not depth test & perspective are enabled for this shader.
blend: bool
Whether or not blending is enabled for this shader.
opengl_frag: &'static str
OpenGL/OpenGLES GLSL Fragment Shader
opengl_vert: &'static str
OpenGL/OpenGLES GLSL Vertex Shader
Auto Trait Implementations
impl RefUnwindSafe for ShaderBuilder
impl Send for ShaderBuilder
impl Sync for ShaderBuilder
impl Unpin for ShaderBuilder
impl UnwindSafe for ShaderBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> DynBoxFut<'a> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,