Struct mini_gl_fb::core::FramebufferInternal [−][src]
#[non_exhaustive]pub struct FramebufferInternal { pub program: GLuint, pub sampler_location: GLint, pub vertex_shader: Option<GLuint>, pub geometry_shader: Option<GLuint>, pub fragment_shader: Option<GLuint>, pub texture: GLuint, pub vao: GLuint, pub vbo: GLuint, pub texture_format: (BufferFormat, GLenum), }
Expand description
Contains internal OpenGL things.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.program: GLuint
sampler_location: GLint
vertex_shader: Option<GLuint>
geometry_shader: Option<GLuint>
fragment_shader: Option<GLuint>
texture: GLuint
vao: GLuint
vbo: GLuint
texture_format: (BufferFormat, GLenum)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FramebufferInternal
impl Send for FramebufferInternal
impl Sync for FramebufferInternal
impl Unpin for FramebufferInternal
impl UnwindSafe for FramebufferInternal