Enum webgl_rs::glenum::BufferKind
source · pub enum BufferKind {
Array,
ElementArray,
CopyReadBuffer,
CopyWriteBuffer,
TransformFeedbackBuffer,
UniformBuffer,
PixelPackBuffer,
PixelUnpackBuffer,
}
Expand description
Passed to bindBuffer or bufferData to specify the type of buffer being used.
Variants§
Array
ElementArray
CopyReadBuffer
Buffer for copying from one buffer object to another.
CopyWriteBuffer
Buffer for copying from one buffer object to another.
TransformFeedbackBuffer
Buffer for transform feedback operations.
UniformBuffer
Buffer used for storing uniform blocks.
PixelPackBuffer
Buffer used for pixel transfer operations.
PixelUnpackBuffer
Buffer used for pixel transfer operations.
Trait Implementations§
source§impl Clone for BufferKind
impl Clone for BufferKind
source§fn clone(&self) -> BufferKind
fn clone(&self) -> BufferKind
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 BufferKind
impl Debug for BufferKind
source§impl FromWasmAbi for BufferKind
impl FromWasmAbi for BufferKind
source§impl IntoWasmAbi for BufferKind
impl IntoWasmAbi for BufferKind
source§impl OptionFromWasmAbi for BufferKind
impl OptionFromWasmAbi for BufferKind
source§impl OptionIntoWasmAbi for BufferKind
impl OptionIntoWasmAbi for BufferKind
impl Copy for BufferKind
Auto Trait Implementations§
impl RefUnwindSafe for BufferKind
impl Send for BufferKind
impl Sync for BufferKind
impl Unpin for BufferKind
impl UnwindSafe for BufferKind
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more