pub struct CompositorShaders {
    rgba: Vec<Option<ShaderHandle>>,
    rgba_fast_path: Vec<Option<ShaderHandle>>,
    yuv_clip: Vec<Option<ShaderHandle>>,
    yuv_fast: Vec<Option<ShaderHandle>>,
}Fields§
§rgba: Vec<Option<ShaderHandle>>§rgba_fast_path: Vec<Option<ShaderHandle>>§yuv_clip: Vec<Option<ShaderHandle>>§yuv_fast: Vec<Option<ShaderHandle>>Implementations§
Source§impl CompositorShaders
 
impl CompositorShaders
pub fn new( device: &mut Device, gl_type: GlType, loader: &mut ShaderLoader, ) -> Result<Self, ShaderError>
pub fn get_handle( &mut self, format: CompositeSurfaceFormat, buffer_kind: ImageBufferKind, features: CompositeFeatures, ) -> ShaderHandle
fn get_shader_index(buffer_kind: ImageBufferKind) -> usize
Auto Trait Implementations§
impl Freeze for CompositorShaders
impl RefUnwindSafe for CompositorShaders
impl Send for CompositorShaders
impl Sync for CompositorShaders
impl Unpin for CompositorShaders
impl UnwindSafe for CompositorShaders
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more