Crates.io | gfx-backend-gl |
lib.rs | gfx-backend-gl |
version | 0.9.0 |
source | src |
created_at | 2018-12-27 01:49:05.435127 |
updated_at | 2021-06-19 05:14:57.701114 |
description | OpenGL backend for gfx-rs |
homepage | https://github.com/gfx-rs/gfx |
repository | https://github.com/gfx-rs/gfx |
max_upload_size | |
id | 103988 |
size | 311,486 |
OpenGL backend for gfx.
Can only be used on non-Apple Unix systems. The WSI is hard-coded to EGL.
Note: the Instance
, Surface
, PhysicalDevice
, Device
, and Queue
can only
have their methods called on the thread where Instance
was created(!).
Recording command buffers is free-threaded.
Render | Depth | Texture |
---|---|---|
![]() |
![]() |
![]() |
Dimensions of the model:
MAX_COMBINED_TEXTURE_IMAGE_UNITS
for textures)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