pub enum ShaderType {
Fill = 0,
FillPath = 1,
}
Expand description
Shader types, used by GpuState::shader_type
Each of these correspond to a vertex/pixel shader pair to be used.
You can find stock shader code for these in the shaders
folder of the
AppCore
repo and also in
the glium
custom gpu_driver
implementation here.
Variants§
Trait Implementations§
Source§impl Clone for ShaderType
impl Clone for ShaderType
Source§fn clone(&self) -> ShaderType
fn clone(&self) -> ShaderType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShaderType
impl Debug for ShaderType
Auto Trait Implementations§
impl Freeze for ShaderType
impl RefUnwindSafe for ShaderType
impl Send for ShaderType
impl Sync for ShaderType
impl Unpin for ShaderType
impl UnwindSafe for ShaderType
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