Struct ggez::graphics::GlBackendSpec
[−]
[src]
pub struct GlBackendSpec { /* fields omitted */ }
A backend specification for OpenGL.
This is different from conf::Backend
because
this needs to be its own struct to implement traits upon,
and because there may need to be a layer of translation
between what the user specifies in the config, and what the
graphics backend init code actually gets.
You shouldn't normally need to fiddle with this directly
but it has to be exported cause generic types like
Shader
depend on it.
Trait Implementations
impl Debug for GlBackendSpec
[src]
impl Copy for GlBackendSpec
[src]
impl Clone for GlBackendSpec
[src]
fn clone(&self) -> GlBackendSpec
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GlBackendSpec
[src]
fn eq(&self, __arg_0: &GlBackendSpec) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlBackendSpec) -> bool
[src]
This method tests for !=
.
impl Eq for GlBackendSpec
[src]
impl Default for GlBackendSpec
[src]
impl Hash for GlBackendSpec
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl From<Backend> for GlBackendSpec
[src]
impl BackendSpec for GlBackendSpec
[src]
type Resources = Resources
gfx resource type
type Factory = Factory
gfx factory type
type CommandBuffer = CommandBuffer
gfx command buffer type
type Device = Device
gfx device type