Enum opencv::core::Buffer_Target
source · #[repr(C)]
pub enum Buffer_Target {
ARRAY_BUFFER,
ELEMENT_ARRAY_BUFFER,
PIXEL_PACK_BUFFER,
PIXEL_UNPACK_BUFFER,
}Expand description
The target defines how you intend to use the buffer object.
Variants§
ARRAY_BUFFER
The buffer will be used as a source for vertex data
ELEMENT_ARRAY_BUFFER
The buffer will be used for indices (in glDrawElements, for example)
PIXEL_PACK_BUFFER
The buffer will be used for reading from OpenGL textures
PIXEL_UNPACK_BUFFER
The buffer will be used for writing to OpenGL textures
Trait Implementations§
source§impl Clone for Buffer_Target
impl Clone for Buffer_Target
source§fn clone(&self) -> Buffer_Target
fn clone(&self) -> Buffer_Target
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Buffer_Target
impl Debug for Buffer_Target
source§impl PartialEq<Buffer_Target> for Buffer_Target
impl PartialEq<Buffer_Target> for Buffer_Target
source§fn eq(&self, other: &Buffer_Target) -> bool
fn eq(&self, other: &Buffer_Target) -> bool
This method tests for
self and other values to be equal, and is used
by ==.