pub struct WebGLParametersFingerPrint {Show 73 fields
pub active_texture: u32,
pub aliased_line_width_range: [f32; 2],
pub aliased_point_size_range: [f32; 2],
pub alpha_bits: i32,
pub blend: bool,
pub blue_bits: i32,
pub color_clear_value: [f32; 4],
pub color_writemask: [bool; 4],
pub compressed_texture_formats: Vec<u32>,
pub cull_face: bool,
pub cull_face_mode: u32,
pub depth_bits: i32,
pub depth_clear_value: f32,
pub depth_func: u32,
pub depth_range: [f32; 2],
pub depth_test: bool,
pub depth_writemask: bool,
pub dither: bool,
pub front_face: u32,
pub generate_mipmap_hint: u32,
pub green_bits: i32,
pub implementation_color_read_format: u32,
pub implementation_color_read_type: u32,
pub line_width: f32,
pub max_combined_texture_image_units: i32,
pub max_cube_map_texture_size: i32,
pub max_fragment_uniform_vectors: i32,
pub max_renderbuffer_size: i32,
pub max_texture_image_units: i32,
pub max_texture_size: i32,
pub max_varying_vectors: i32,
pub max_vertex_attribs: i32,
pub max_vertex_texture_image_units: i32,
pub max_vertex_uniform_vectors: i32,
pub max_viewport_dims: [i32; 2],
pub pack_alignment: i32,
pub polygon_offset_factor: f32,
pub polygon_offset_fill: bool,
pub polygon_offset_units: f32,
pub red_bits: i32,
pub renderer: String,
pub sample_buffers: i32,
pub sample_coverage_invert: bool,
pub sample_coverage_value: f32,
pub samples: i32,
pub scissor_box: [i32; 4],
pub scissor_test: bool,
pub shading_language_version: String,
pub stencil_back_fail: u32,
pub stencil_back_func: u32,
pub stencil_back_pass_depth_fail: u32,
pub stencil_back_pass_depth_pass: u32,
pub stencil_back_ref: i32,
pub stencil_back_value_mask: u32,
pub stencil_back_writemask: u32,
pub stencil_bits: i32,
pub stencil_clear_value: i32,
pub stencil_fail: u32,
pub stencil_func: u32,
pub stencil_pass_depth_fail: u32,
pub stencil_pass_depth_pass: u32,
pub stencil_ref: i32,
pub stencil_test: bool,
pub stencil_value_mask: u32,
pub stencil_writemask: u32,
pub subpixel_bits: i32,
pub unpack_alignment: i32,
pub unpack_colorspace_conversion_webgl: u32,
pub unpack_flip_y_webgl: bool,
pub unpack_premultiply_alpha_webgl: bool,
pub vendor: String,
pub version: String,
pub viewport: [i32; 4],
}
Fields§
§active_texture: u32
§aliased_line_width_range: [f32; 2]
§aliased_point_size_range: [f32; 2]
§alpha_bits: i32
§blend: bool
§blue_bits: i32
§color_clear_value: [f32; 4]
§color_writemask: [bool; 4]
§compressed_texture_formats: Vec<u32>
§cull_face: bool
§cull_face_mode: u32
§depth_bits: i32
§depth_clear_value: f32
§depth_func: u32
§depth_range: [f32; 2]
§depth_test: bool
§depth_writemask: bool
§dither: bool
§front_face: u32
§generate_mipmap_hint: u32
§green_bits: i32
§implementation_color_read_format: u32
§implementation_color_read_type: u32
§line_width: f32
§max_combined_texture_image_units: i32
§max_cube_map_texture_size: i32
§max_fragment_uniform_vectors: i32
§max_renderbuffer_size: i32
§max_texture_image_units: i32
§max_texture_size: i32
§max_varying_vectors: i32
§max_vertex_attribs: i32
§max_vertex_texture_image_units: i32
§max_vertex_uniform_vectors: i32
§max_viewport_dims: [i32; 2]
§pack_alignment: i32
§polygon_offset_factor: f32
§polygon_offset_fill: bool
§polygon_offset_units: f32
§red_bits: i32
§renderer: String
§sample_buffers: i32
§sample_coverage_invert: bool
§sample_coverage_value: f32
§samples: i32
§scissor_box: [i32; 4]
§scissor_test: bool
§shading_language_version: String
§stencil_back_fail: u32
§stencil_back_func: u32
§stencil_back_pass_depth_fail: u32
§stencil_back_pass_depth_pass: u32
§stencil_back_ref: i32
§stencil_back_value_mask: u32
§stencil_back_writemask: u32
§stencil_bits: i32
§stencil_clear_value: i32
§stencil_fail: u32
§stencil_func: u32
§stencil_pass_depth_fail: u32
§stencil_pass_depth_pass: u32
§stencil_ref: i32
§stencil_test: bool
§stencil_value_mask: u32
§stencil_writemask: u32
§subpixel_bits: i32
§unpack_alignment: i32
§unpack_colorspace_conversion_webgl: u32
§unpack_flip_y_webgl: bool
§unpack_premultiply_alpha_webgl: bool
§vendor: String
§version: String
§viewport: [i32; 4]
Implementations§
Source§impl WebGLParametersFingerPrint
impl WebGLParametersFingerPrint
pub fn new(gl: &WebGl2RenderingContext) -> Option<Self>
Trait Implementations§
Source§impl Clone for WebGLParametersFingerPrint
impl Clone for WebGLParametersFingerPrint
Source§fn clone(&self) -> WebGLParametersFingerPrint
fn clone(&self) -> WebGLParametersFingerPrint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebGLParametersFingerPrint
impl Debug for WebGLParametersFingerPrint
Source§impl Default for WebGLParametersFingerPrint
impl Default for WebGLParametersFingerPrint
Source§fn default() -> WebGLParametersFingerPrint
fn default() -> WebGLParametersFingerPrint
Returns the “default value” for a type. Read more
impl StructuralPartialEq for WebGLParametersFingerPrint
Auto Trait Implementations§
impl Freeze for WebGLParametersFingerPrint
impl RefUnwindSafe for WebGLParametersFingerPrint
impl Send for WebGLParametersFingerPrint
impl Sync for WebGLParametersFingerPrint
impl Unpin for WebGLParametersFingerPrint
impl UnwindSafe for WebGLParametersFingerPrint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more