Struct qt_gui::q_opengl_buffer::Type
source · pub struct Type(/* private fields */);
Expand description
This enum defines the type of OpenGL buffer object to create with QOpenGLBuffer.
C++ enum: QOpenGLBuffer::Type
.
This enum defines the type of OpenGL buffer object to create with QOpenGLBuffer.
Implementations§
source§impl Type
impl Type
sourcepub const VertexBuffer: Type = _
pub const VertexBuffer: Type = _
Vertex buffer object for use when specifying vertex arrays. (C++ enum variant: VertexBuffer = 34962
)
sourcepub const IndexBuffer: Type = _
pub const IndexBuffer: Type = _
Index buffer object for use with glDrawElements()
. (C++ enum variant: IndexBuffer = 34963
)
sourcepub const PixelPackBuffer: Type = _
pub const PixelPackBuffer: Type = _
Pixel pack buffer object for reading pixel data from the OpenGL server (for example, with glReadPixels()
). Not supported under OpenGL/ES. (C++ enum variant: PixelPackBuffer = 35051
)
sourcepub const PixelUnpackBuffer: Type = _
pub const PixelUnpackBuffer: Type = _
Pixel unpack buffer object for writing pixel data to the OpenGL server (for example, with glTexImage2D()
). Not supported under OpenGL/ES. (C++ enum variant: PixelUnpackBuffer = 35052
)
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more