Crate gfx_device_gl

Source
Expand description

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

Structs§

BufferElement
CommandBuffer
A command buffer abstraction for OpenGL.
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_raw
Create the proxy target views (RTV and DSV) for the attachments of the main framebuffer. These have GL names equal to 0. Not supposed to be used by the users directly.

Type Aliases§

ArrayBuffer
Buffer
FrameBuffer
Program
Sampler
Shader
Surface
Texture