[][src]Struct gfx::ProgramInfo

pub struct ProgramInfo {
    pub vertex_attributes: Vec<AttributeVar>,
    pub globals: Vec<ConstVar>,
    pub constant_buffers: Vec<ConstantBufferVar>,
    pub textures: Vec<TextureVar>,
    pub unordereds: Vec<UnorderedVar>,
    pub samplers: Vec<SamplerVar>,
    pub outputs: Vec<OutputVar>,
    pub output_depth: bool,
    pub knows_outputs: bool,
}

Metadata about a program.

Fields

vertex_attributes: Vec<AttributeVar>

Attributes in the program

globals: Vec<ConstVar>

Global constants in the program

constant_buffers: Vec<ConstantBufferVar>

Constant buffers in the program

textures: Vec<TextureVar>

Textures in the program

unordereds: Vec<UnorderedVar>

Unordered access resources in the program

samplers: Vec<SamplerVar>

Samplers in the program

outputs: Vec<OutputVar>

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]

impl Debug for ProgramInfo[src]

impl Eq for ProgramInfo[src]

impl Hash for ProgramInfo[src]

impl PartialEq<ProgramInfo> for ProgramInfo[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]

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.