Struct gfx_core::Capabilities[][src]

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 Clone for Capabilities[src]

impl Copy for Capabilities[src]

impl Debug for Capabilities[src]

impl Eq for Capabilities[src]

impl PartialEq<Capabilities> for Capabilities[src]

impl StructuralEq for Capabilities[src]

impl StructuralPartialEq for Capabilities[src]

Auto Trait Implementations

impl RefUnwindSafe for Capabilities

impl Send for Capabilities

impl Sync for Capabilities

impl Unpin for Capabilities

impl UnwindSafe for Capabilities

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.