Struct raylib_sys::rlVertexBuffer
source · #[repr(C)]pub struct rlVertexBuffer {
pub elementCount: c_int,
pub vertices: *mut f32,
pub texcoords: *mut f32,
pub colors: *mut c_uchar,
pub indices: *mut c_uint,
pub vaoId: c_uint,
pub vboId: [c_uint; 4],
}
Fields§
§elementCount: c_int
§vertices: *mut f32
§texcoords: *mut f32
§colors: *mut c_uchar
§indices: *mut c_uint
§vaoId: c_uint
§vboId: [c_uint; 4]
Trait Implementations§
source§impl Clone for rlVertexBuffer
impl Clone for rlVertexBuffer
source§fn clone(&self) -> rlVertexBuffer
fn clone(&self) -> rlVertexBuffer
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 rlVertexBuffer
impl Debug for rlVertexBuffer
impl Copy for rlVertexBuffer
Auto Trait Implementations§
impl Freeze for rlVertexBuffer
impl RefUnwindSafe for rlVertexBuffer
impl !Send for rlVertexBuffer
impl !Sync for rlVertexBuffer
impl Unpin for rlVertexBuffer
impl UnwindSafe for rlVertexBuffer
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