pub struct PostProcessingEffect {
pub id: ShaderId,
pub name: String,
pub enabled: bool,
pub render_texture: Texture,
pub bind_group: BindGroup,
pub pipeline: RenderPipeline,
}Fields§
§id: ShaderId§name: String§enabled: bool§render_texture: Texture§bind_group: BindGroup§pipeline: RenderPipelineImplementations§
Source§impl PostProcessingEffect
impl PostProcessingEffect
pub fn new_with_mip( name: String, device: &Device, bind_group_layouts: &[&BindGroupLayout], config: &SurfaceConfiguration, format: TextureFormat, shader_id: ShaderId, shaders: &ShaderMap, mip_level_count: u32, blend: BlendState, ) -> Self
pub fn new( name: String, device: &Device, bind_group_layouts: &[&BindGroupLayout], config: &SurfaceConfiguration, format: TextureFormat, shader_id: ShaderId, shaders: &ShaderMap, ) -> Self
Auto Trait Implementations§
impl Freeze for PostProcessingEffect
impl !RefUnwindSafe for PostProcessingEffect
impl Send for PostProcessingEffect
impl Sync for PostProcessingEffect
impl Unpin for PostProcessingEffect
impl !UnwindSafe for PostProcessingEffect
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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