Write documentation for new canvas module
This commit is contained in:
parent
570f769744
commit
9c067562fa
17 changed files with 434 additions and 196 deletions
|
|
@ -10,7 +10,10 @@ pub struct Blit {
|
|||
}
|
||||
|
||||
impl Blit {
|
||||
pub fn new(device: &wgpu::Device, antialiasing: settings::MSAA) -> Blit {
|
||||
pub fn new(
|
||||
device: &wgpu::Device,
|
||||
antialiasing: settings::Antialiasing,
|
||||
) -> Blit {
|
||||
let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
|
||||
address_mode_u: wgpu::AddressMode::ClampToEdge,
|
||||
address_mode_v: wgpu::AddressMode::ClampToEdge,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue