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

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 PartialEq<ProgramInfo> for ProgramInfo

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

This method tests for !=.

impl Clone for ProgramInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProgramInfo

Formats the value using the given formatter.