Struct gfx_core::pso::Descriptor  
                   
                       [−]
                   
               [src]
pub struct Descriptor {
    pub primitive: Primitive,
    pub rasterizer: Rasterizer,
    pub scissor: bool,
    pub attributes: [Option<AttributeDesc>; 16],
    pub color_targets: [Option<ColorTargetDesc>; 4],
    pub depth_stencil: Option<DepthStencilDesc>,
}All the information surrounding a shader program that is required for PSO creation, including the formats of vertex buffers and pixel targets;
Fields
primitive: Primitive
                           Type of the primitive
rasterizer: Rasterizer
                           Rasterizer setup
scissor: bool
                           Enable scissor test
attributes: [Option<AttributeDesc>; 16]
                           Vertex attributes
color_targets: [Option<ColorTargetDesc>; 4]
                           Render target views (RTV)
depth_stencil: Option<DepthStencilDesc>
                           Depth stencil view (DSV)
Methods
impl Descriptor[src]
pub fn new(primitive: Primitive, rast: Rasterizer) -> Descriptor[src]
Create a new empty PSO descriptor.
Trait Implementations
impl Clone for Descriptor[src]
fn clone(&self) -> Descriptor[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Descriptor[src]
impl Debug for Descriptor[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for Descriptor[src]
impl Hash for Descriptor[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Descriptor[src]
fn eq(&self, __arg_0: &Descriptor) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Descriptor) -> bool[src]
This method tests for !=.