Struct gfx::ProgramInfo [] [src]

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

Attributes in the program

Global constants in the program

Constant buffers in the program

Textures in the program

Unordered access resources in the program

Samplers in the program

Output targets in the program

A flag indicating that the pixel shader manually assigns the depth.

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for ProgramInfo
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<ProgramInfo> for ProgramInfo
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for ProgramInfo
[src]

[src]

Formats the value using the given formatter.

impl Eq for ProgramInfo
[src]