Struct comfy_wgpu::PostProcessingEffect
source · pub struct PostProcessingEffect {
pub name: String,
pub enabled: bool,
pub render_texture: Texture,
pub bind_group: BindGroup,
pub pipeline: RenderPipeline,
}Fields§
§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: Shader, mip_level_count: u32, blend: BlendState ) -> Self
pub fn new( name: String, device: &Device, bind_group_layouts: &[&BindGroupLayout], config: &SurfaceConfiguration, format: TextureFormat, shader: Shader ) -> Self
Auto Trait Implementations§
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