[][src]Struct mutiny::renderer::light::LightMatricesUBO

pub struct LightMatricesUBO {
    pub ubo: Buffer<LightAsCameraMatrices>,
}

Fields

Methods from Deref<Target = Buffer<LightAsCameraMatrices>>

Loads the passed data into the buffer (re)allocating it

see: gl(Named)BufferData

Loads the passed data at the beginning of the buffer

Will panic if the buffer is not big enough or not allocated at all

see: gl(Named)BufferSubData

Maps a buffer object's data store

Pass a closure that receives the mapped buffer to access it

see glMapBuffer

Maps a buffer object's data store

Pass a closure that receives the mapped buffer to access it

see glMapBuffer

Maps a buffer object's data store

Pass a closure that receives the mapped buffer to access it

see glMapBuffer

Copy one buffer into another

Number of elements on the last update

If there's no elements loaded in the buffer

This is len == 0 not capacity == 0

Allocated capacity of the buffer in number of elements

Total bytes on the last update

Total capcacity of the buffer in bytes

OpenGL id

Stride of the buffer type

Get a range from the buffer

Useful to do operations on portions of the buffer

Panics if the range is out of bounds

Get a mutable range from the buffer

Useful to do operations on portions of the buffer

Panics if the range is out of bounds

Trait Implementations

impl Debug for LightMatricesUBO
[src]

impl Deref for LightMatricesUBO
[src]

The resulting type after dereferencing.

impl DerefMut for LightMatricesUBO
[src]

impl Component for LightMatricesUBO
[src]

impl<'a> DebugParameter for LightMatricesUBO
[src]

impl OneToNComponent for LightMatricesUBO
[src]

Auto Trait Implementations

impl !Send for LightMatricesUBO

impl !Sync for LightMatricesUBO

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<C> OneToNComponentThreadLocal for C where
    C: OneToNComponent,
    <C as Component>::Storage: OneToNStorage<'a, C>, 
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<B, P> IntoControlBuilder for P where
    B: BuilderFromProperty<P>, 
[src]

impl<T, U> IntoDuration for T where
    U: FromDuration<T>, 
[src]