Enum raqote::blitter::ShaderStorage
source · pub enum ShaderStorage<'a, 'b> {
Show 16 variants
None,
Solid(SolidShader),
ImagePadAlpha(ImagePadAlphaShader<'a, 'b>),
ImageRepeatAlpha(ImageRepeatAlphaShader<'a, 'b>),
TransformedNearestPadImageAlpha(TransformedNearestImageAlphaShader<'a, 'b, PadFetch>),
TransformedNearestRepeatImageAlpha(TransformedNearestImageAlphaShader<'a, 'b, RepeatFetch>),
TransformedPadImageAlpha(TransformedImageAlphaShader<'a, 'b, PadFetch>),
TransformedRepeatImageAlpha(TransformedImageAlphaShader<'a, 'b, RepeatFetch>),
TransformedPadImage(TransformedImageShader<'a, 'b, PadFetch>),
TransformedRepeatImage(TransformedImageShader<'a, 'b, RepeatFetch>),
TransformedNearestPadImage(TransformedNearestImageShader<'a, 'b, PadFetch>),
TransformedNearestRepeatImage(TransformedNearestImageShader<'a, 'b, RepeatFetch>),
RadialGradient(RadialGradientShader),
TwoCircleRadialGradient(TwoCircleRadialGradientShader),
LinearGradient(LinearGradientShader),
SweepGradient(SweepGradientShader),
}
Variants§
None
Solid(SolidShader)
ImagePadAlpha(ImagePadAlphaShader<'a, 'b>)
ImageRepeatAlpha(ImageRepeatAlphaShader<'a, 'b>)
TransformedNearestPadImageAlpha(TransformedNearestImageAlphaShader<'a, 'b, PadFetch>)
TransformedNearestRepeatImageAlpha(TransformedNearestImageAlphaShader<'a, 'b, RepeatFetch>)
TransformedPadImageAlpha(TransformedImageAlphaShader<'a, 'b, PadFetch>)
TransformedRepeatImageAlpha(TransformedImageAlphaShader<'a, 'b, RepeatFetch>)
TransformedPadImage(TransformedImageShader<'a, 'b, PadFetch>)
TransformedRepeatImage(TransformedImageShader<'a, 'b, RepeatFetch>)
TransformedNearestPadImage(TransformedNearestImageShader<'a, 'b, PadFetch>)
TransformedNearestRepeatImage(TransformedNearestImageShader<'a, 'b, RepeatFetch>)
RadialGradient(RadialGradientShader)
TwoCircleRadialGradient(TwoCircleRadialGradientShader)
LinearGradient(LinearGradientShader)
SweepGradient(SweepGradientShader)
Auto Trait Implementations§
impl<'a, 'b> Freeze for ShaderStorage<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ShaderStorage<'a, 'b>
impl<'a, 'b> Send for ShaderStorage<'a, 'b>
impl<'a, 'b> Sync for ShaderStorage<'a, 'b>
impl<'a, 'b> Unpin for ShaderStorage<'a, 'b>
impl<'a, 'b> UnwindSafe for ShaderStorage<'a, 'b>
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