[−][src]Struct glium::program::SubroutineData
Contains all subroutine data of a program.
Fields
location_counts: HashMap<ShaderStage, usize, BuildHasherDefault<FnvHasher>>
Number of subroutine uniform locations per shader stage.
This is not equal to the number of subroutine uniforms per stage,
because users can use #layout(location=...)
.
subroutine_uniforms: HashMap<(String, ShaderStage), SubroutineUniform, BuildHasherDefault<FnvHasher>>
The list of all subroutine uniforms of the program stored in a structured way to enable fast lookups. A subroutine uniform is uniquely defined by a name and a shader stage.
Trait Implementations
impl Clone for SubroutineData
[src]
fn clone(&self) -> SubroutineData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SubroutineData
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubroutineData
impl Send for SubroutineData
impl Sync for SubroutineData
impl Unpin for SubroutineData
impl UnwindSafe for SubroutineData
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,