Struct gfx::shade::core::ProgramInfo [−][src]
pub struct ProgramInfo { pub vertex_attributes: Vec<AttributeVar, Global>, pub globals: Vec<ConstVar, Global>, pub constant_buffers: Vec<ConstantBufferVar, Global>, pub textures: Vec<TextureVar, Global>, pub unordereds: Vec<UnorderedVar, Global>, pub samplers: Vec<SamplerVar, Global>, pub outputs: Vec<OutputVar, Global>, pub output_depth: bool, pub knows_outputs: bool, }
Metadata about a program.
Fields
vertex_attributes: Vec<AttributeVar, Global>
Attributes in the program
globals: Vec<ConstVar, Global>
Global constants in the program
constant_buffers: Vec<ConstantBufferVar, Global>
Constant buffers in the program
textures: Vec<TextureVar, Global>
Textures in the program
unordereds: Vec<UnorderedVar, Global>
Unordered access resources in the program
samplers: Vec<SamplerVar, Global>
Samplers in the program
outputs: Vec<OutputVar, Global>
Output targets in the program
output_depth: bool
A flag indicating that the pixel shader manually assigns the depth.
knows_outputs: bool
A hacky flag to make sure the clients know we are unable to actually get the output variable info
Trait Implementations
impl Clone for ProgramInfo
[src]
pub fn clone(&self) -> ProgramInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProgramInfo
[src]
impl Eq for ProgramInfo
[src]
impl Hash for ProgramInfo
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ProgramInfo> for ProgramInfo
[src]
pub fn eq(&self, other: &ProgramInfo) -> bool
[src]
pub fn ne(&self, other: &ProgramInfo) -> bool
[src]
impl StructuralEq for ProgramInfo
[src]
impl StructuralPartialEq for ProgramInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProgramInfo
impl Send for ProgramInfo
impl Sync for ProgramInfo
impl Unpin for ProgramInfo
impl UnwindSafe for ProgramInfo
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,