Struct gfx::ProgramInfo
source · 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,
}
Expand description
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§
source§impl Clone for ProgramInfo
impl Clone for ProgramInfo
source§fn clone(&self) -> ProgramInfo
fn clone(&self) -> ProgramInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProgramInfo
impl Debug for ProgramInfo
source§impl Hash for ProgramInfo
impl Hash for ProgramInfo
source§impl PartialEq<ProgramInfo> for ProgramInfo
impl PartialEq<ProgramInfo> for ProgramInfo
source§fn eq(&self, other: &ProgramInfo) -> bool
fn eq(&self, other: &ProgramInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.