Trait kas_wgpu::draw::CustomPipeBuilder[][src]

pub trait CustomPipeBuilder {
    type Pipe: CustomPipe;
    fn build(
        &mut self,
        device: &Device,
        tex_format: TextureFormat,
        depth_format: TextureFormat
    ) -> Self::Pipe; }

Builder for a CustomPipe

Associated Types

Loading content...

Required methods

fn build(
    &mut self,
    device: &Device,
    tex_format: TextureFormat,
    depth_format: TextureFormat
) -> Self::Pipe
[src]

Build a pipe

The given texture format and depth format should be used to construct a compatible wgpu::RenderPipeline.

Loading content...

Implementations on Foreign Types

impl CustomPipeBuilder for ()[src]

A dummy implementation (does nothing)

type Pipe = ()

Loading content...

Implementors

Loading content...