[−][src]Struct luminance_front::pipeline::BufferBinding
Opaque buffer binding.
This type represents a bound Buffer
via BoundBuffer
. It can be used along with a
Uniform
to customize a shader’s behavior.
Parametricity
T
is the type of the carried item by theBuffer
.
Notes
You shouldn’t try to do store / cache or do anything special with that value. Consider it an opaque object.
Implementations
impl<T> BufferBinding<T>
[src]
pub fn binding(self) -> u32
[src]
Access the underlying binding value.
Notes
That value shouldn’t be read nor store, as it’s only meaningful for backend implementations.
Trait Implementations
impl<T> Debug for BufferBinding<T> where
T: Debug,
[src]
T: Debug,
impl<T> Uniformable<GL33> for BufferBinding<T>
[src]
unsafe fn ty() -> UniformType
[src]
unsafe fn update(
self,
program: &mut Program,
uniform: &Uniform<BufferBinding<T>>
)
[src]
self,
program: &mut Program,
uniform: &Uniform<BufferBinding<T>>
)
Auto Trait Implementations
impl<T> RefUnwindSafe for BufferBinding<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for BufferBinding<T>
impl<T> !Sync for BufferBinding<T>
impl<T> Unpin for BufferBinding<T>
impl<T> UnwindSafe for BufferBinding<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,