[−][src]Struct azul_webrender::Shaders
Fields
cs_blur_a8: LazilyCompiledShader
cs_blur_rgba8: LazilyCompiledShader
cs_border_segment: LazilyCompiledShader
cs_border_solid: LazilyCompiledShader
cs_scale: LazilyCompiledShader
cs_line_decoration: LazilyCompiledShader
cs_gradient: LazilyCompiledShader
cs_svg_filter: LazilyCompiledShader
cs_clip_rectangle_slow: LazilyCompiledShader
These are "cache clip shaders". These shaders are used to draw clip instances into the cached clip mask. The results of these shaders are also used by the primitive shaders.
cs_clip_rectangle_fast: LazilyCompiledShader
cs_clip_box_shadow: LazilyCompiledShader
cs_clip_image: LazilyCompiledShader
ps_text_run: TextShader
ps_text_run_dual_source: Option<TextShader>
pls_init: Option<LazilyCompiledShader>
pls_resolve: Option<LazilyCompiledShader>
composite_rgba: LazilyCompiledShader
composite_yuv: Vec<Option<LazilyCompiledShader>>
Implementations
impl Shaders
[src]
pub fn new(
device: &mut Device,
gl_type: GlType,
options: &RendererOptions
) -> Result<Self, ShaderError>
[src]
device: &mut Device,
gl_type: GlType,
options: &RendererOptions
) -> Result<Self, ShaderError>
pub fn get_composite_shader(
&mut self,
format: CompositeSurfaceFormat,
buffer_kind: ImageBufferKind
) -> &mut LazilyCompiledShader
[src]
&mut self,
format: CompositeSurfaceFormat,
buffer_kind: ImageBufferKind
) -> &mut LazilyCompiledShader
pub fn get(
&mut self,
key: &BatchKey,
features: BatchFeatures,
debug_flags: DebugFlags
) -> &mut LazilyCompiledShader
[src]
&mut self,
key: &BatchKey,
features: BatchFeatures,
debug_flags: DebugFlags
) -> &mut LazilyCompiledShader
pub fn deinit(self, device: &mut Device)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Shaders
impl Send for Shaders
impl Sync for Shaders
impl Unpin for Shaders
impl UnwindSafe for Shaders
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<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>,