[][src]Struct gfx_core::Capabilities

pub struct Capabilities {
    pub max_vertex_count: usize,
    pub max_index_count: usize,
    pub max_texture_size: usize,
    pub max_patch_size: usize,
    pub instance_base_supported: bool,
    pub instance_call_supported: bool,
    pub instance_rate_supported: bool,
    pub vertex_base_supported: bool,
    pub srgb_color_supported: bool,
    pub constant_buffer_supported: bool,
    pub unordered_access_view_supported: bool,
    pub separate_blending_slots_supported: bool,
    pub copy_buffer_supported: bool,
}

Features that the device supports.

Fields

max_vertex_count: usizemax_index_count: usizemax_texture_size: usizemax_patch_size: usizeinstance_base_supported: boolinstance_call_supported: boolinstance_rate_supported: boolvertex_base_supported: boolsrgb_color_supported: boolconstant_buffer_supported: boolunordered_access_view_supported: boolseparate_blending_slots_supported: boolcopy_buffer_supported: bool

Trait Implementations

impl Eq for Capabilities[src]

impl Copy for Capabilities[src]

impl PartialEq<Capabilities> for Capabilities[src]

impl Clone for Capabilities[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Capabilities[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into 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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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

The type returned in the event of a conversion error.