Crate gfx_device_gl [−] [src]
OpenGL implementation of a device, striving to support OpenGL 2.0 with at least VAOs, but using newer extensions when available.
Modules
command |
Structs
Device |
An OpenGL device with GLSL shaders. |
Factory |
GL resource factory. |
FatSampler | |
Fence | |
Info |
OpenGL implementation information |
OutputMerger | |
PipelineState | |
PlatformName |
A unique platform identifier that does not change between releases |
ResourceView | |
Version |
A version number for a specific component of an OpenGL implementation |
Enums
Error | |
NewTexture | |
Resources | |
TargetView |
Functions
create |
Create a new device with a factory. |
create_main_targets |
Create the proxy target views (RTV and DSV) for the attachments of the main framebuffer. These have GL names equal to 0. |
Type Definitions
ArrayBuffer | |
Buffer | |
FrameBuffer | |
Program | |
Sampler | |
Shader | |
Surface | |
Texture |