bors[bot] dcd28b42f6 Merge #25
25: Add MSAA example r=kvark a=rukai

This example is the same as the triangle example except:
*    The render pipeline is created with a sample_count of 4
*    A new texture with a sample_count of 4 is created and set as the color_attachment instead of the swapchain
*    The swapchain is now specified as a resolve_target

It doesn't work yet as wgpu-native doesn't handle MSAA yet.

Co-authored-by: Rukai <rubickent@gmail.com>
2019-06-20 03:51:14 +00:00
2019-06-16 21:15:22 -07:00
2019-06-20 12:06:57 +10:00
2019-06-11 21:02:30 -04:00
2019-06-11 21:02:30 -04:00
2019-06-16 21:15:15 -07:00
2019-05-29 17:20:33 +10:00
2019-06-16 21:15:15 -07:00
2019-05-10 10:36:31 -04:00
2019-06-16 21:15:22 -07:00

wgpu-rs

Build Status Crates.io Gitter

This is an idiomatic Rust wrapper over wgpu-native. It's designed to be suitable for general purpose graphics and computation needs of Rust community. It currently only works for the native platform, in the future aims to support WASM/Emscripten platforms as well.

Cube Shadow MipMap vange-rs Brawl GLX map

Usage

The library requires one of the following features enabled in order to run any of the examples:

  • "vulkan"
  • "metal"
  • "dx12"
  • "dx11"

These examples assume that necessary dependencies for the graphics backend are already installed. For more information about installation and usage, refer to the Getting Started gfx-rs guide.

Friends

Shout out to the following projects that work best with wgpu-rs:

Description
No description provided
Readme 137 MiB
Languages
Rust 79.9%
WGSL 16.2%
HLSL 2%
GLSL 1.7%
JavaScript 0.2%