Struct gfx::core::Capabilities
[−]
pub struct Capabilities {
pub shader_model: ShaderModel,
pub max_vertex_count: usize,
pub max_index_count: usize,
pub max_draw_buffers: usize,
pub max_texture_size: usize,
pub max_vertex_attributes: usize,
pub buffer_role_change_allowed: bool,
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,
pub separate_blending_slots_supported: bool,
}Features that the device supports.
Fields
shader_model: ShaderModel
max_vertex_count: usize
max_index_count: usize
max_draw_buffers: usize
max_texture_size: usize
max_vertex_attributes: usize
buffer_role_change_allowed: bool
In GLES it is not allowed to re-bind a buffer to a different target than the one it was initialized with.
array_buffer_supported: bool
fragment_output_supported: bool
immutable_storage_supported: bool
instance_base_supported: bool
instance_call_supported: bool
instance_rate_supported: bool
render_targets_supported: bool
sampler_objects_supported: bool
srgb_color_supported: bool
uniform_block_supported: bool
vertex_base_supported: bool
separate_blending_slots_supported: bool
Trait Implementations
impl Debug for Capabilities
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Capabilities
fn clone(&self) -> Capabilities
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more