8 releases (5 breaking)

0.6.1 Nov 6, 2020
0.6.0 Nov 3, 2020
0.5.1 May 7, 2020
0.5.0 Mar 23, 2020
0.1.0 Dec 27, 2018

#68 in Game dev

Download history 36/week @ 2020-08-01 54/week @ 2020-08-08 72/week @ 2020-08-15 161/week @ 2020-08-22 180/week @ 2020-08-29 59/week @ 2020-09-05 39/week @ 2020-09-12 38/week @ 2020-09-19 50/week @ 2020-09-26 57/week @ 2020-10-03 50/week @ 2020-10-10 41/week @ 2020-10-17 41/week @ 2020-10-24 237/week @ 2020-10-31 730/week @ 2020-11-07 465/week @ 2020-11-14

355 downloads per month
Used in 9 crates (3 directly)

MIT/Apache

535KB
10K SLoC

gfx-backend-gl

OpenGL backend for gfx.

Normalized Coordinates

Render Depth Texture
render_coordinates depth_coordinates texture_coordinates

GLSL Mirroring

Texture Kind GLSL sampler
D1 gsampler1D, sampler1DShadow
D1Array gsampler1DArray, sampler1DArrayShadow
D2 gsampler2D, gsampler2DMS, sampler2DShadow
D2Array gsampler2DArray, gsampler2DMSArray, sampler2DArrayShadow
D3 gsampler3D
Cube gsamplerCube, samplerCubeShadow
CubeArray gsamplerCubeArray, samplerCubeArrayShadow

Buffer resource views are seen as gsamplerBuffer.

Rust basic type GLSL (1.3 and above)
i32 int
u32 uint
f32 float
f64 double

lib.rs:

OpenGL implementation of a device, striving to support OpenGL 2.0 with at least VAOs, but using newer extensions when available.

Dependencies

~4.5–7MB
~155K SLoC