[−][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][+]
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,