Struct gfx::device::Capabilities [] [src]

pub struct Capabilities {
    pub shader_model: ShaderModel,
    pub max_draw_buffers: usize,
    pub max_texture_size: usize,
    pub max_vertex_attributes: usize,
    pub array_buffer_supported: bool,
    pub fragment_output_supported: bool,
    pub immutable_storage_supported: bool,
    pub instance_base_supported: bool,
    pub instance_call_supported: bool,
    pub instance_rate_supported: bool,
    pub render_targets_supported: bool,
    pub sampler_objects_supported: bool,
    pub srgb_color_supported: bool,
    pub uniform_block_supported: bool,
    pub vertex_base_supported: bool,
}

Features that the device supports.

Fields

shader_model
max_draw_buffers
max_texture_size
max_vertex_attributes
array_buffer_supported
fragment_output_supported
immutable_storage_supported
instance_base_supported
instance_call_supported
instance_rate_supported
render_targets_supported
sampler_objects_supported
srgb_color_supported
uniform_block_supported
vertex_base_supported

Trait Implementations

Derived Implementations

impl Debug for Capabilities

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Capabilities

fn clone(&self) -> Capabilities

fn clone_from(&mut self, source: &Self)

impl Copy for Capabilities