pub struct Model3DWebGL { /* private fields */ }
Implementations§
Source§impl Model3DWebGL
impl Model3DWebGL
pub fn new(context: WebGl2RenderingContext) -> Self
pub fn context(&self) -> &WebGl2RenderingContext
Sourcepub fn compile_and_link_program(
&self,
vertex_src: String,
fragment_src: String,
named_attrs: Vec<(String, VertexAttr)>,
named_uniforms: Vec<(String, UniformId)>,
named_uniform_buffers: HashMap<String, usize>,
named_textures: Vec<(String, TextureId, usize)>,
) -> Result<<Self as Gl>::Program, String>
pub fn compile_and_link_program( &self, vertex_src: String, fragment_src: String, named_attrs: Vec<(String, VertexAttr)>, named_uniforms: Vec<(String, UniformId)>, named_uniform_buffers: HashMap<String, usize>, named_textures: Vec<(String, TextureId, usize)>, ) -> Result<<Self as Gl>::Program, String>
Create a program from a list of compiled shaders
Methods from Deref<Target = WebGl2RenderingContext>§
Sourcepub fn canvas(&self) -> Option<Object>
pub fn canvas(&self) -> Option<Object>
Getter for the canvas
field of this object.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn drawing_buffer_width(&self) -> i32
pub fn drawing_buffer_width(&self) -> i32
Getter for the drawingBufferWidth
field of this object.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn drawing_buffer_height(&self) -> i32
pub fn drawing_buffer_height(&self) -> i32
Getter for the drawingBufferHeight
field of this object.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn begin_transform_feedback(&self, primitive_mode: u32)
pub fn begin_transform_feedback(&self, primitive_mode: u32)
The beginTransformFeedback()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn bind_buffer_base(
&self,
target: u32,
index: u32,
buffer: Option<&WebGlBuffer>,
)
pub fn bind_buffer_base( &self, target: u32, index: u32, buffer: Option<&WebGlBuffer>, )
The bindBufferBase()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_buffer_range_with_i32_and_i32(
&self,
target: u32,
index: u32,
buffer: Option<&WebGlBuffer>,
offset: i32,
size: i32,
)
pub fn bind_buffer_range_with_i32_and_i32( &self, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: i32, size: i32, )
The bindBufferRange()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_buffer_range_with_f64_and_i32(
&self,
target: u32,
index: u32,
buffer: Option<&WebGlBuffer>,
offset: f64,
size: i32,
)
pub fn bind_buffer_range_with_f64_and_i32( &self, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: f64, size: i32, )
The bindBufferRange()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_buffer_range_with_i32_and_f64(
&self,
target: u32,
index: u32,
buffer: Option<&WebGlBuffer>,
offset: i32,
size: f64,
)
pub fn bind_buffer_range_with_i32_and_f64( &self, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: i32, size: f64, )
The bindBufferRange()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_buffer_range_with_f64_and_f64(
&self,
target: u32,
index: u32,
buffer: Option<&WebGlBuffer>,
offset: f64,
size: f64,
)
pub fn bind_buffer_range_with_f64_and_f64( &self, target: u32, index: u32, buffer: Option<&WebGlBuffer>, offset: f64, size: f64, )
The bindBufferRange()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_vertex_array(&self, array: Option<&WebGlVertexArrayObject>)
pub fn bind_vertex_array(&self, array: Option<&WebGlVertexArrayObject>)
The bindVertexArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlVertexArrayObject
Sourcepub fn blit_framebuffer(
&self,
src_x0: i32,
src_y0: i32,
src_x1: i32,
src_y1: i32,
dst_x0: i32,
dst_y0: i32,
dst_x1: i32,
dst_y1: i32,
mask: u32,
filter: u32,
)
pub fn blit_framebuffer( &self, src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: u32, filter: u32, )
The blitFramebuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_i32(&self, target: u32, size: i32, usage: u32)
pub fn buffer_data_with_i32(&self, target: u32, size: i32, usage: u32)
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_f64(&self, target: u32, size: f64, usage: u32)
pub fn buffer_data_with_f64(&self, target: u32, size: f64, usage: u32)
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_opt_array_buffer(
&self,
target: u32,
src_data: Option<&ArrayBuffer>,
usage: u32,
)
pub fn buffer_data_with_opt_array_buffer( &self, target: u32, src_data: Option<&ArrayBuffer>, usage: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_array_buffer_view(
&self,
target: u32,
src_data: &Object,
usage: u32,
)
pub fn buffer_data_with_array_buffer_view( &self, target: u32, src_data: &Object, usage: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_u8_array(
&self,
target: u32,
src_data: &[u8],
usage: u32,
)
pub fn buffer_data_with_u8_array( &self, target: u32, src_data: &[u8], usage: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_js_u8_array(
&self,
target: u32,
src_data: &Uint8Array,
usage: u32,
)
pub fn buffer_data_with_js_u8_array( &self, target: u32, src_data: &Uint8Array, usage: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_array_buffer_view_and_src_offset(
&self,
target: u32,
src_data: &Object,
usage: u32,
src_offset: u32,
)
pub fn buffer_data_with_array_buffer_view_and_src_offset( &self, target: u32, src_data: &Object, usage: u32, src_offset: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_u8_array_and_src_offset(
&self,
target: u32,
src_data: &[u8],
usage: u32,
src_offset: u32,
)
pub fn buffer_data_with_u8_array_and_src_offset( &self, target: u32, src_data: &[u8], usage: u32, src_offset: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_js_u8_array_and_src_offset(
&self,
target: u32,
src_data: &Uint8Array,
usage: u32,
src_offset: u32,
)
pub fn buffer_data_with_js_u8_array_and_src_offset( &self, target: u32, src_data: &Uint8Array, usage: u32, src_offset: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_array_buffer_view_and_src_offset_and_length(
&self,
target: u32,
src_data: &Object,
usage: u32,
src_offset: u32,
length: u32,
)
pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length( &self, target: u32, src_data: &Object, usage: u32, src_offset: u32, length: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_u8_array_and_src_offset_and_length(
&self,
target: u32,
src_data: &[u8],
usage: u32,
src_offset: u32,
length: u32,
)
pub fn buffer_data_with_u8_array_and_src_offset_and_length( &self, target: u32, src_data: &[u8], usage: u32, src_offset: u32, length: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_data_with_js_u8_array_and_src_offset_and_length(
&self,
target: u32,
src_data: &Uint8Array,
usage: u32,
src_offset: u32,
length: u32,
)
pub fn buffer_data_with_js_u8_array_and_src_offset_and_length( &self, target: u32, src_data: &Uint8Array, usage: u32, src_offset: u32, length: u32, )
The bufferData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_array_buffer(
&self,
target: u32,
offset: i32,
src_data: &ArrayBuffer,
)
pub fn buffer_sub_data_with_i32_and_array_buffer( &self, target: u32, offset: i32, src_data: &ArrayBuffer, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_array_buffer(
&self,
target: u32,
offset: f64,
src_data: &ArrayBuffer,
)
pub fn buffer_sub_data_with_f64_and_array_buffer( &self, target: u32, offset: f64, src_data: &ArrayBuffer, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_array_buffer_view(
&self,
target: u32,
offset: i32,
src_data: &Object,
)
pub fn buffer_sub_data_with_i32_and_array_buffer_view( &self, target: u32, offset: i32, src_data: &Object, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_array_buffer_view(
&self,
target: u32,
offset: f64,
src_data: &Object,
)
pub fn buffer_sub_data_with_f64_and_array_buffer_view( &self, target: u32, offset: f64, src_data: &Object, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_u8_array(
&self,
target: u32,
offset: i32,
src_data: &[u8],
)
pub fn buffer_sub_data_with_i32_and_u8_array( &self, target: u32, offset: i32, src_data: &[u8], )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_u8_array(
&self,
target: u32,
offset: f64,
src_data: &[u8],
)
pub fn buffer_sub_data_with_f64_and_u8_array( &self, target: u32, offset: f64, src_data: &[u8], )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_js_u8_array(
&self,
target: u32,
offset: i32,
src_data: &Uint8Array,
)
pub fn buffer_sub_data_with_i32_and_js_u8_array( &self, target: u32, offset: i32, src_data: &Uint8Array, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_js_u8_array(
&self,
target: u32,
offset: f64,
src_data: &Uint8Array,
)
pub fn buffer_sub_data_with_f64_and_js_u8_array( &self, target: u32, offset: f64, src_data: &Uint8Array, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &Object,
src_offset: u32,
)
pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset( &self, target: u32, dst_byte_offset: i32, src_data: &Object, src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &Object,
src_offset: u32,
)
pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset( &self, target: u32, dst_byte_offset: f64, src_data: &Object, src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &[u8],
src_offset: u32,
)
pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset( &self, target: u32, dst_byte_offset: i32, src_data: &[u8], src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &[u8],
src_offset: u32,
)
pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset( &self, target: u32, dst_byte_offset: f64, src_data: &[u8], src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset( &self, target: u32, dst_byte_offset: i32, src_data: &Uint8Array, src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset( &self, target: u32, dst_byte_offset: f64, src_data: &Uint8Array, src_offset: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &Object,
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length( &self, target: u32, dst_byte_offset: i32, src_data: &Object, src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &Object,
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length( &self, target: u32, dst_byte_offset: f64, src_data: &Object, src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &[u8],
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length( &self, target: u32, dst_byte_offset: i32, src_data: &[u8], src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &[u8],
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length( &self, target: u32, dst_byte_offset: f64, src_data: &[u8], src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: i32,
src_data: &Uint8Array,
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_i32_and_js_u8_array_and_src_offset_and_length( &self, target: u32, dst_byte_offset: i32, src_data: &Uint8Array, src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset_and_length(
&self,
target: u32,
dst_byte_offset: f64,
src_data: &Uint8Array,
src_offset: u32,
length: u32,
)
pub fn buffer_sub_data_with_f64_and_js_u8_array_and_src_offset_and_length( &self, target: u32, dst_byte_offset: f64, src_data: &Uint8Array, src_offset: u32, length: u32, )
The bufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfi(
&self,
buffer: u32,
drawbuffer: i32,
depth: f32,
stencil: i32,
)
pub fn clear_bufferfi( &self, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32, )
The clearBufferfi()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_f32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &[f32],
)
pub fn clear_bufferfv_with_f32_array( &self, buffer: u32, drawbuffer: i32, values: &[f32], )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_js_f32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &Float32Array,
)
pub fn clear_bufferfv_with_js_f32_array( &self, buffer: u32, drawbuffer: i32, values: &Float32Array, )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_f32_sequence(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
)
pub fn clear_bufferfv_with_f32_sequence( &self, buffer: u32, drawbuffer: i32, values: &JsValue, )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_f32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &[f32],
src_offset: u32,
)
pub fn clear_bufferfv_with_f32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &[f32], src_offset: u32, )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_js_f32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &Float32Array,
src_offset: u32,
)
pub fn clear_bufferfv_with_js_f32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &Float32Array, src_offset: u32, )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferfv_with_f32_sequence_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
src_offset: u32,
)
pub fn clear_bufferfv_with_f32_sequence_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &JsValue, src_offset: u32, )
The clearBufferfv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_i32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &[i32],
)
pub fn clear_bufferiv_with_i32_array( &self, buffer: u32, drawbuffer: i32, values: &[i32], )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_js_i32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &Int32Array,
)
pub fn clear_bufferiv_with_js_i32_array( &self, buffer: u32, drawbuffer: i32, values: &Int32Array, )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_i32_sequence(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
)
pub fn clear_bufferiv_with_i32_sequence( &self, buffer: u32, drawbuffer: i32, values: &JsValue, )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_i32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &[i32],
src_offset: u32,
)
pub fn clear_bufferiv_with_i32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &[i32], src_offset: u32, )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_js_i32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &Int32Array,
src_offset: u32,
)
pub fn clear_bufferiv_with_js_i32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &Int32Array, src_offset: u32, )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferiv_with_i32_sequence_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
src_offset: u32,
)
pub fn clear_bufferiv_with_i32_sequence_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &JsValue, src_offset: u32, )
The clearBufferiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_u32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &[u32],
)
pub fn clear_bufferuiv_with_u32_array( &self, buffer: u32, drawbuffer: i32, values: &[u32], )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_js_u32_array(
&self,
buffer: u32,
drawbuffer: i32,
values: &Uint32Array,
)
pub fn clear_bufferuiv_with_js_u32_array( &self, buffer: u32, drawbuffer: i32, values: &Uint32Array, )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_u32_sequence(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
)
pub fn clear_bufferuiv_with_u32_sequence( &self, buffer: u32, drawbuffer: i32, values: &JsValue, )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_u32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &[u32],
src_offset: u32,
)
pub fn clear_bufferuiv_with_u32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &[u32], src_offset: u32, )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_js_u32_array_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &Uint32Array,
src_offset: u32,
)
pub fn clear_bufferuiv_with_js_u32_array_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &Uint32Array, src_offset: u32, )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_bufferuiv_with_u32_sequence_and_src_offset(
&self,
buffer: u32,
drawbuffer: i32,
values: &JsValue,
src_offset: u32,
)
pub fn clear_bufferuiv_with_u32_sequence_and_src_offset( &self, buffer: u32, drawbuffer: i32, values: &JsValue, src_offset: u32, )
The clearBufferuiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_i32_and_i32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
image_size: i32,
offset: i32,
)
pub fn compressed_tex_image_2d_with_i32_and_i32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, image_size: i32, offset: i32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_i32_and_f64(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
image_size: i32,
offset: f64,
)
pub fn compressed_tex_image_2d_with_i32_and_f64( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, image_size: i32, offset: f64, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_array_buffer_view(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Object,
)
pub fn compressed_tex_image_2d_with_array_buffer_view( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Object, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_u8_array(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &[u8],
)
pub fn compressed_tex_image_2d_with_u8_array( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_js_u8_array(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Uint8Array,
)
pub fn compressed_tex_image_2d_with_js_u8_array( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Uint8Array, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_array_buffer_view_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Object,
src_offset: u32,
)
pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Object, src_offset: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_u8_array_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &[u8],
src_offset: u32,
)
pub fn compressed_tex_image_2d_with_u8_array_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], src_offset: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_js_u8_array_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn compressed_tex_image_2d_with_js_u8_array_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Uint8Array, src_offset: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Object,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Object, src_offset: u32, src_length_override: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &[u8],
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &[u8], src_offset: u32, src_length_override: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_2d_with_js_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
border: i32,
src_data: &Uint8Array,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_2d_with_js_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, src_data: &Uint8Array, src_offset: u32, src_length_override: u32, )
The compressedTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_i32_and_i32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
image_size: i32,
offset: i32,
)
pub fn compressed_tex_image_3d_with_i32_and_i32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, image_size: i32, offset: i32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_i32_and_f64(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
image_size: i32,
offset: f64,
)
pub fn compressed_tex_image_3d_with_i32_and_f64( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, image_size: i32, offset: f64, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_array_buffer_view(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Object,
)
pub fn compressed_tex_image_3d_with_array_buffer_view( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Object, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_u8_array(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &[u8],
)
pub fn compressed_tex_image_3d_with_u8_array( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_js_u8_array(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Uint8Array,
)
pub fn compressed_tex_image_3d_with_js_u8_array( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Uint8Array, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_array_buffer_view_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Object,
src_offset: u32,
)
pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Object, src_offset: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_u8_array_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &[u8],
src_offset: u32,
)
pub fn compressed_tex_image_3d_with_u8_array_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], src_offset: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_js_u8_array_and_u32(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn compressed_tex_image_3d_with_js_u8_array_and_u32( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Uint8Array, src_offset: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Object,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Object, src_offset: u32, src_length_override: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &[u8],
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &[u8], src_offset: u32, src_length_override: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_image_3d_with_js_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
border: i32,
src_data: &Uint8Array,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_image_3d_with_js_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, src_data: &Uint8Array, src_offset: u32, src_length_override: u32, )
The compressedTexImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_i32_and_i32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
image_size: i32,
offset: i32,
)
pub fn compressed_tex_sub_image_2d_with_i32_and_i32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, offset: i32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_i32_and_f64(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
image_size: i32,
offset: f64,
)
pub fn compressed_tex_sub_image_2d_with_i32_and_f64( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, offset: f64, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_array_buffer_view(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Object,
)
pub fn compressed_tex_sub_image_2d_with_array_buffer_view( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Object, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &mut [u8],
)
pub fn compressed_tex_sub_image_2d_with_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_js_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Uint8Array,
)
pub fn compressed_tex_sub_image_2d_with_js_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Uint8Array, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Object,
src_offset: u32,
)
pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Object, src_offset: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_u8_array_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &mut [u8],
src_offset: u32,
)
pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], src_offset: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Uint8Array, src_offset: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Object,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Object, src_offset: u32, src_length_override: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &mut [u8],
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &mut [u8], src_offset: u32, src_length_override: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
src_data: &Uint8Array,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_2d_with_js_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, src_data: &Uint8Array, src_offset: u32, src_length_override: u32, )
The compressedTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_i32_and_i32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
image_size: i32,
offset: i32,
)
pub fn compressed_tex_sub_image_3d_with_i32_and_i32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, offset: i32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_i32_and_f64(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
image_size: i32,
offset: f64,
)
pub fn compressed_tex_sub_image_3d_with_i32_and_f64( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, offset: f64, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_array_buffer_view(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Object,
)
pub fn compressed_tex_sub_image_3d_with_array_buffer_view( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Object, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &mut [u8],
)
pub fn compressed_tex_sub_image_3d_with_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_js_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Uint8Array,
)
pub fn compressed_tex_sub_image_3d_with_js_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Uint8Array, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Object,
src_offset: u32,
)
pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Object, src_offset: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_u8_array_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &mut [u8],
src_offset: u32,
)
pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], src_offset: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Uint8Array,
src_offset: u32,
)
pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Uint8Array, src_offset: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Object,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Object, src_offset: u32, src_length_override: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &mut [u8],
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &mut [u8], src_offset: u32, src_length_override: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32_and_src_length_override(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
src_data: &Uint8Array,
src_offset: u32,
src_length_override: u32,
)
pub fn compressed_tex_sub_image_3d_with_js_u8_array_and_u32_and_src_length_override( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, src_data: &Uint8Array, src_offset: u32, src_length_override: u32, )
The compressedTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_i32_and_i32_and_i32(
&self,
read_target: u32,
write_target: u32,
read_offset: i32,
write_offset: i32,
size: i32,
)
pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32( &self, read_target: u32, write_target: u32, read_offset: i32, write_offset: i32, size: i32, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_f64_and_i32_and_i32(
&self,
read_target: u32,
write_target: u32,
read_offset: f64,
write_offset: i32,
size: i32,
)
pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32( &self, read_target: u32, write_target: u32, read_offset: f64, write_offset: i32, size: i32, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_i32_and_f64_and_i32(
&self,
read_target: u32,
write_target: u32,
read_offset: i32,
write_offset: f64,
size: i32,
)
pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32( &self, read_target: u32, write_target: u32, read_offset: i32, write_offset: f64, size: i32, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_f64_and_f64_and_i32(
&self,
read_target: u32,
write_target: u32,
read_offset: f64,
write_offset: f64,
size: i32,
)
pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32( &self, read_target: u32, write_target: u32, read_offset: f64, write_offset: f64, size: i32, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_i32_and_i32_and_f64(
&self,
read_target: u32,
write_target: u32,
read_offset: i32,
write_offset: i32,
size: f64,
)
pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64( &self, read_target: u32, write_target: u32, read_offset: i32, write_offset: i32, size: f64, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_f64_and_i32_and_f64(
&self,
read_target: u32,
write_target: u32,
read_offset: f64,
write_offset: i32,
size: f64,
)
pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64( &self, read_target: u32, write_target: u32, read_offset: f64, write_offset: i32, size: f64, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_i32_and_f64_and_f64(
&self,
read_target: u32,
write_target: u32,
read_offset: i32,
write_offset: f64,
size: f64,
)
pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64( &self, read_target: u32, write_target: u32, read_offset: i32, write_offset: f64, size: f64, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_buffer_sub_data_with_f64_and_f64_and_f64(
&self,
read_target: u32,
write_target: u32,
read_offset: f64,
write_offset: f64,
size: f64,
)
pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64( &self, read_target: u32, write_target: u32, read_offset: f64, write_offset: f64, size: f64, )
The copyBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_tex_sub_image_3d(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
x: i32,
y: i32,
width: i32,
height: i32,
)
pub fn copy_tex_sub_image_3d( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32, )
The copyTexSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn create_vertex_array(&self) -> Option<WebGlVertexArrayObject>
pub fn create_vertex_array(&self) -> Option<WebGlVertexArrayObject>
The createVertexArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlVertexArrayObject
Sourcepub fn delete_vertex_array(&self, vertex_array: Option<&WebGlVertexArrayObject>)
pub fn delete_vertex_array(&self, vertex_array: Option<&WebGlVertexArrayObject>)
The deleteVertexArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlVertexArrayObject
Sourcepub fn draw_arrays_instanced(
&self,
mode: u32,
first: i32,
count: i32,
instance_count: i32,
)
pub fn draw_arrays_instanced( &self, mode: u32, first: i32, count: i32, instance_count: i32, )
The drawArraysInstanced()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_buffers(&self, buffers: &JsValue)
pub fn draw_buffers(&self, buffers: &JsValue)
The drawBuffers()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_elements_instanced_with_i32(
&self,
mode: u32,
count: i32,
type_: u32,
offset: i32,
instance_count: i32,
)
pub fn draw_elements_instanced_with_i32( &self, mode: u32, count: i32, type_: u32, offset: i32, instance_count: i32, )
The drawElementsInstanced()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_elements_instanced_with_f64(
&self,
mode: u32,
count: i32,
type_: u32,
offset: f64,
instance_count: i32,
)
pub fn draw_elements_instanced_with_f64( &self, mode: u32, count: i32, type_: u32, offset: f64, instance_count: i32, )
The drawElementsInstanced()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_range_elements_with_i32(
&self,
mode: u32,
start: u32,
end: u32,
count: i32,
type_: u32,
offset: i32,
)
pub fn draw_range_elements_with_i32( &self, mode: u32, start: u32, end: u32, count: i32, type_: u32, offset: i32, )
The drawRangeElements()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_range_elements_with_f64(
&self,
mode: u32,
start: u32,
end: u32,
count: i32,
type_: u32,
offset: f64,
)
pub fn draw_range_elements_with_f64( &self, mode: u32, start: u32, end: u32, count: i32, type_: u32, offset: f64, )
The drawRangeElements()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn end_query(&self, target: u32)
pub fn end_query(&self, target: u32)
The endQuery()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn end_transform_feedback(&self)
pub fn end_transform_feedback(&self)
The endTransformFeedback()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn framebuffer_texture_layer(
&self,
target: u32,
attachment: u32,
texture: Option<&WebGlTexture>,
level: i32,
layer: i32,
)
pub fn framebuffer_texture_layer( &self, target: u32, attachment: u32, texture: Option<&WebGlTexture>, level: i32, layer: i32, )
The framebufferTextureLayer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn get_active_uniform_block_name(
&self,
program: &WebGlProgram,
uniform_block_index: u32,
) -> Option<String>
pub fn get_active_uniform_block_name( &self, program: &WebGlProgram, uniform_block_index: u32, ) -> Option<String>
The getActiveUniformBlockName()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_active_uniform_block_parameter(
&self,
program: &WebGlProgram,
uniform_block_index: u32,
pname: u32,
) -> Result<JsValue, JsValue>
pub fn get_active_uniform_block_parameter( &self, program: &WebGlProgram, uniform_block_index: u32, pname: u32, ) -> Result<JsValue, JsValue>
The getActiveUniformBlockParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_active_uniforms(
&self,
program: &WebGlProgram,
uniform_indices: &JsValue,
pname: u32,
) -> JsValue
pub fn get_active_uniforms( &self, program: &WebGlProgram, uniform_indices: &JsValue, pname: u32, ) -> JsValue
The getActiveUniforms()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_buffer_sub_data_with_i32_and_array_buffer_view(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Object,
)
pub fn get_buffer_sub_data_with_i32_and_array_buffer_view( &self, target: u32, src_byte_offset: i32, dst_data: &Object, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_array_buffer_view(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Object,
)
pub fn get_buffer_sub_data_with_f64_and_array_buffer_view( &self, target: u32, src_byte_offset: f64, dst_data: &Object, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_u8_array(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &mut [u8],
)
pub fn get_buffer_sub_data_with_i32_and_u8_array( &self, target: u32, src_byte_offset: i32, dst_data: &mut [u8], )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_u8_array(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &mut [u8],
)
pub fn get_buffer_sub_data_with_f64_and_u8_array( &self, target: u32, src_byte_offset: f64, dst_data: &mut [u8], )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_js_u8_array(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Uint8Array,
)
pub fn get_buffer_sub_data_with_i32_and_js_u8_array( &self, target: u32, src_byte_offset: i32, dst_data: &Uint8Array, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_js_u8_array(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Uint8Array,
)
pub fn get_buffer_sub_data_with_f64_and_js_u8_array( &self, target: u32, src_byte_offset: f64, dst_data: &Uint8Array, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Object,
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset( &self, target: u32, src_byte_offset: i32, dst_data: &Object, dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Object,
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset( &self, target: u32, src_byte_offset: f64, dst_data: &Object, dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &mut [u8],
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset( &self, target: u32, src_byte_offset: i32, dst_data: &mut [u8], dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &mut [u8],
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset( &self, target: u32, src_byte_offset: f64, dst_data: &mut [u8], dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Uint8Array,
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset( &self, target: u32, src_byte_offset: i32, dst_data: &Uint8Array, dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Uint8Array,
dst_offset: u32,
)
pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset( &self, target: u32, src_byte_offset: f64, dst_data: &Uint8Array, dst_offset: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Object,
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length( &self, target: u32, src_byte_offset: i32, dst_data: &Object, dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Object,
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length( &self, target: u32, src_byte_offset: f64, dst_data: &Object, dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &mut [u8],
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length( &self, target: u32, src_byte_offset: i32, dst_data: &mut [u8], dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &mut [u8],
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length( &self, target: u32, src_byte_offset: f64, dst_data: &mut [u8], dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: i32,
dst_data: &Uint8Array,
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_i32_and_js_u8_array_and_dst_offset_and_length( &self, target: u32, src_byte_offset: i32, dst_data: &Uint8Array, dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset_and_length(
&self,
target: u32,
src_byte_offset: f64,
dst_data: &Uint8Array,
dst_offset: u32,
length: u32,
)
pub fn get_buffer_sub_data_with_f64_and_js_u8_array_and_dst_offset_and_length( &self, target: u32, src_byte_offset: f64, dst_data: &Uint8Array, dst_offset: u32, length: u32, )
The getBufferSubData()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_frag_data_location(&self, program: &WebGlProgram, name: &str) -> i32
pub fn get_frag_data_location(&self, program: &WebGlProgram, name: &str) -> i32
The getFragDataLocation()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_indexed_parameter(
&self,
target: u32,
index: u32,
) -> Result<JsValue, JsValue>
pub fn get_indexed_parameter( &self, target: u32, index: u32, ) -> Result<JsValue, JsValue>
The getIndexedParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_internalformat_parameter(
&self,
target: u32,
internalformat: u32,
pname: u32,
) -> Result<JsValue, JsValue>
pub fn get_internalformat_parameter( &self, target: u32, internalformat: u32, pname: u32, ) -> Result<JsValue, JsValue>
The getInternalformatParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_query(&self, target: u32, pname: u32) -> JsValue
pub fn get_query(&self, target: u32, pname: u32) -> JsValue
The getQuery()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_uniform_block_index(
&self,
program: &WebGlProgram,
uniform_block_name: &str,
) -> u32
pub fn get_uniform_block_index( &self, program: &WebGlProgram, uniform_block_name: &str, ) -> u32
The getUniformBlockIndex()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_uniform_indices(
&self,
program: &WebGlProgram,
uniform_names: &JsValue,
) -> Option<Array>
pub fn get_uniform_indices( &self, program: &WebGlProgram, uniform_names: &JsValue, ) -> Option<Array>
The getUniformIndices()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn invalidate_framebuffer(
&self,
target: u32,
attachments: &JsValue,
) -> Result<(), JsValue>
pub fn invalidate_framebuffer( &self, target: u32, attachments: &JsValue, ) -> Result<(), JsValue>
The invalidateFramebuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn invalidate_sub_framebuffer(
&self,
target: u32,
attachments: &JsValue,
x: i32,
y: i32,
width: i32,
height: i32,
) -> Result<(), JsValue>
pub fn invalidate_sub_framebuffer( &self, target: u32, attachments: &JsValue, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), JsValue>
The invalidateSubFramebuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn is_vertex_array(
&self,
vertex_array: Option<&WebGlVertexArrayObject>,
) -> bool
pub fn is_vertex_array( &self, vertex_array: Option<&WebGlVertexArrayObject>, ) -> bool
The isVertexArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlVertexArrayObject
Sourcepub fn pause_transform_feedback(&self)
pub fn pause_transform_feedback(&self)
The pauseTransformFeedback()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_buffer(&self, src: u32)
pub fn read_buffer(&self, src: u32)
The readBuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_opt_array_buffer_view(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: Option<&Object>,
) -> Result<(), JsValue>
pub fn read_pixels_with_opt_array_buffer_view( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: Option<&Object>, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_opt_u8_array(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: Option<&mut [u8]>,
) -> Result<(), JsValue>
pub fn read_pixels_with_opt_u8_array( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: Option<&mut [u8]>, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_opt_js_u8_array(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: Option<&Uint8Array>,
) -> Result<(), JsValue>
pub fn read_pixels_with_opt_js_u8_array( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: Option<&Uint8Array>, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_i32(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
offset: i32,
) -> Result<(), JsValue>
pub fn read_pixels_with_i32( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, offset: i32, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_f64(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
offset: f64,
) -> Result<(), JsValue>
pub fn read_pixels_with_f64( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, offset: f64, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_array_buffer_view_and_dst_offset(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: &Object,
dst_offset: u32,
) -> Result<(), JsValue>
pub fn read_pixels_with_array_buffer_view_and_dst_offset( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: &Object, dst_offset: u32, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_u8_array_and_dst_offset(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: &mut [u8],
dst_offset: u32,
) -> Result<(), JsValue>
pub fn read_pixels_with_u8_array_and_dst_offset( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: &mut [u8], dst_offset: u32, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn read_pixels_with_js_u8_array_and_dst_offset(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
dst_data: &Uint8Array,
dst_offset: u32,
) -> Result<(), JsValue>
pub fn read_pixels_with_js_u8_array_and_dst_offset( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, dst_data: &Uint8Array, dst_offset: u32, ) -> Result<(), JsValue>
The readPixels()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn renderbuffer_storage_multisample(
&self,
target: u32,
samples: i32,
internalformat: u32,
width: i32,
height: i32,
)
pub fn renderbuffer_storage_multisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, )
The renderbufferStorageMultisample()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn resume_transform_feedback(&self)
pub fn resume_transform_feedback(&self)
The resumeTransformFeedback()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
pixels: Option<&Object>,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: Option<&Object>, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
pixels: Option<&[u8]>,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: Option<&[u8]>, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
pixels: Option<&Uint8Array>,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_js_u8_array( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: Option<&Uint8Array>, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element(
&self,
target: u32,
level: i32,
internalformat: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element( &self, target: u32, level: i32, internalformat: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
pbo_offset: i32,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
pbo_offset: f64,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
src_data: &Object,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, src_data: &Object, src_offset: u32, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
src_data: &[u8],
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
border: i32,
format: u32,
type_: u32,
src_data: &Uint8Array,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_js_u8_array_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, src_data: &Uint8Array, src_offset: u32, ) -> Result<(), JsValue>
The texImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_i32(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
pbo_offset: i32,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_i32( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_f64(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
pbo_offset: f64,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_f64( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_html_canvas_element(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_html_canvas_element( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_opt_array_buffer_view(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: Option<&Object>,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_opt_array_buffer_view( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: Option<&Object>, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_opt_u8_array(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: Option<&[u8]>,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_opt_u8_array( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_opt_js_u8_array(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: Option<&Uint8Array>,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_opt_js_u8_array( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: Option<&Uint8Array>, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_array_buffer_view_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: &Object,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_array_buffer_view_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: &Object, src_offset: u32, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: &[u8],
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_u8_array_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_image_3d_with_js_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
internalformat: i32,
width: i32,
height: i32,
depth: i32,
border: i32,
format: u32,
type_: u32,
src_data: &Uint8Array,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_image_3d_with_js_u8_array_and_src_offset( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, src_data: &Uint8Array, src_offset: u32, ) -> Result<(), JsValue>
The texImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_storage_2d(
&self,
target: u32,
levels: i32,
internalformat: u32,
width: i32,
height: i32,
)
pub fn tex_storage_2d( &self, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, )
The texStorage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_storage_3d(
&self,
target: u32,
levels: i32,
internalformat: u32,
width: i32,
height: i32,
depth: i32,
)
pub fn tex_storage_3d( &self, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32, )
The texStorage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
pixels: Option<&Object>,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: Option<&Object>, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
pixels: Option<&[u8]>,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: Option<&[u8]>, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
pixels: Option<&Uint8Array>,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_js_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: Option<&Uint8Array>, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
pbo_offset: i32,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
pbo_offset: f64,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
src_data: &Object,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, src_data: &Object, src_offset: u32, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
src_data: &[u8],
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
width: i32,
height: i32,
format: u32,
type_: u32,
src_data: &Uint8Array,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_js_u8_array_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, src_data: &Uint8Array, src_offset: u32, ) -> Result<(), JsValue>
The texSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_i32(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
pbo_offset: i32,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_i32( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_f64(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
pbo_offset: f64,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_f64( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pbo_offset: f64, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_html_canvas_element(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
source: &HtmlCanvasElement,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_html_canvas_element( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, source: &HtmlCanvasElement, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: HtmlCanvasElement
, WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_array_buffer_view(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&Object>,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_array_buffer_view( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&Object>, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&[u8]>,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_js_u8_array(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&Uint8Array>,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_js_u8_array( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&Uint8Array>, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&Object>,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&Object>, src_offset: u32, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&[u8]>,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&[u8]>, src_offset: u32, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
zoffset: i32,
width: i32,
height: i32,
depth: i32,
format: u32,
type_: u32,
src_data: Option<&Uint8Array>,
src_offset: u32,
) -> Result<(), JsValue>
pub fn tex_sub_image_3d_with_opt_js_u8_array_and_src_offset( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, src_data: Option<&Uint8Array>, src_offset: u32, ) -> Result<(), JsValue>
The texSubImage3D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn transform_feedback_varyings(
&self,
program: &WebGlProgram,
varyings: &JsValue,
buffer_mode: u32,
)
pub fn transform_feedback_varyings( &self, program: &WebGlProgram, varyings: &JsValue, buffer_mode: u32, )
The transformFeedbackVaryings()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn uniform1fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
)
pub fn uniform1fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &[f32], )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
)
pub fn uniform1fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform1fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
)
pub fn uniform1fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform1fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform1fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform1fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
)
pub fn uniform1iv_with_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &[i32], )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_js_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
)
pub fn uniform1iv_with_js_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform1iv_with_i32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
)
pub fn uniform1iv_with_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_js_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
)
pub fn uniform1iv_with_js_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform1iv_with_i32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
src_length: u32,
)
pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform1iv_with_js_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, src_length: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform1iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1ui(&self, location: Option<&WebGlUniformLocation>, v0: u32)
pub fn uniform1ui(&self, location: Option<&WebGlUniformLocation>, v0: u32)
The uniform1ui()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
)
pub fn uniform1uiv_with_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &[u32], )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_js_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
)
pub fn uniform1uiv_with_js_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform1uiv_with_u32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
)
pub fn uniform1uiv_with_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_js_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
)
pub fn uniform1uiv_with_js_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform1uiv_with_u32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
src_length: u32,
)
pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform1uiv_with_js_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, src_length: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform1uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
)
pub fn uniform2fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &[f32], )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
)
pub fn uniform2fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform2fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
)
pub fn uniform2fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform2fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform2fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform2fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
)
pub fn uniform2iv_with_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &[i32], )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_js_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
)
pub fn uniform2iv_with_js_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform2iv_with_i32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
)
pub fn uniform2iv_with_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_js_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
)
pub fn uniform2iv_with_js_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform2iv_with_i32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
src_length: u32,
)
pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform2iv_with_js_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, src_length: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform2iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2ui(
&self,
location: Option<&WebGlUniformLocation>,
v0: u32,
v1: u32,
)
pub fn uniform2ui( &self, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, )
The uniform2ui()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
)
pub fn uniform2uiv_with_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &[u32], )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_js_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
)
pub fn uniform2uiv_with_js_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform2uiv_with_u32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
)
pub fn uniform2uiv_with_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_js_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
)
pub fn uniform2uiv_with_js_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform2uiv_with_u32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
src_length: u32,
)
pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform2uiv_with_js_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, src_length: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform2uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
)
pub fn uniform3fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &[f32], )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
)
pub fn uniform3fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform3fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
)
pub fn uniform3fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform3fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform3fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform3fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
)
pub fn uniform3iv_with_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &[i32], )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_js_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
)
pub fn uniform3iv_with_js_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform3iv_with_i32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
)
pub fn uniform3iv_with_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_js_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
)
pub fn uniform3iv_with_js_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform3iv_with_i32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
src_length: u32,
)
pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform3iv_with_js_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, src_length: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform3iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3ui(
&self,
location: Option<&WebGlUniformLocation>,
v0: u32,
v1: u32,
v2: u32,
)
pub fn uniform3ui( &self, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, v2: u32, )
The uniform3ui()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
)
pub fn uniform3uiv_with_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &[u32], )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_js_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
)
pub fn uniform3uiv_with_js_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform3uiv_with_u32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
)
pub fn uniform3uiv_with_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_js_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
)
pub fn uniform3uiv_with_js_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform3uiv_with_u32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
src_length: u32,
)
pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform3uiv_with_js_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, src_length: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform3uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
)
pub fn uniform4fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &[f32], )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
)
pub fn uniform4fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform4fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
)
pub fn uniform4fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform4fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform4fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[f32], src_offset: u32, src_length: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform4fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
)
pub fn uniform4iv_with_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &[i32], )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_js_i32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
)
pub fn uniform4iv_with_js_i32_array( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform4iv_with_i32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
)
pub fn uniform4iv_with_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_js_i32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
)
pub fn uniform4iv_with_js_i32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform4iv_with_i32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[i32],
src_offset: u32,
src_length: u32,
)
pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[i32], src_offset: u32, src_length: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Int32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform4iv_with_js_i32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Int32Array, src_offset: u32, src_length: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4ui(
&self,
location: Option<&WebGlUniformLocation>,
v0: u32,
v1: u32,
v2: u32,
v3: u32,
)
pub fn uniform4ui( &self, location: Option<&WebGlUniformLocation>, v0: u32, v1: u32, v2: u32, v3: u32, )
The uniform4ui()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
)
pub fn uniform4uiv_with_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &[u32], )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_js_u32_array(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
)
pub fn uniform4uiv_with_js_u32_array( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
)
pub fn uniform4uiv_with_u32_sequence( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
)
pub fn uniform4uiv_with_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_js_u32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
)
pub fn uniform4uiv_with_js_u32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
)
pub fn uniform4uiv_with_u32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &[u32],
src_offset: u32,
src_length: u32,
)
pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &[u32], src_offset: u32, src_length: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &Uint32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform4uiv_with_js_u32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &Uint32Array, src_offset: u32, src_length: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, data: &JsValue, src_offset: u32, src_length: u32, )
The uniform4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_block_binding(
&self,
program: &WebGlProgram,
uniform_block_index: u32,
uniform_block_binding: u32,
)
pub fn uniform_block_binding( &self, program: &WebGlProgram, uniform_block_index: u32, uniform_block_binding: u32, )
The uniformBlockBinding()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn uniform_matrix2fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix2fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix2fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix2fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix2fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix2x3fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix2x3fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix2x3fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x3fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix2x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix2x4fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix2x4fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix2x4fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x4fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix2x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix3fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix3fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix3fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix3fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix3x2fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix3x2fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix3x2fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x2fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix3x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix3x4fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix3x4fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix3x4fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x4fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix3x4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix4fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix4fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix4fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix4fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix4x2fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix4x2fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix4x2fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x2fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix4x2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
)
pub fn uniform_matrix4x3fv_with_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_js_f32_array(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
)
pub fn uniform_matrix4x3fv_with_js_f32_array( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_sequence(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
)
pub fn uniform_matrix4x3fv_with_f32_sequence( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
)
pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
)
pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
)
pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &[f32],
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &[f32], src_offset: u32, src_length: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &Float32Array,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x3fv_with_js_f32_array_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &Float32Array, src_offset: u32, src_length: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
&self,
location: Option<&WebGlUniformLocation>,
transpose: bool,
data: &JsValue,
src_offset: u32,
src_length: u32,
)
pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length( &self, location: Option<&WebGlUniformLocation>, transpose: bool, data: &JsValue, src_offset: u32, src_length: u32, )
The uniformMatrix4x3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn vertex_attrib_divisor(&self, index: u32, divisor: u32)
pub fn vertex_attrib_divisor(&self, index: u32, divisor: u32)
The vertexAttribDivisor()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4i(&self, index: u32, x: i32, y: i32, z: i32, w: i32)
pub fn vertex_attrib_i4i(&self, index: u32, x: i32, y: i32, z: i32, w: i32)
The vertexAttribI4i()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4iv_with_i32_array(&self, index: u32, values: &mut [i32])
pub fn vertex_attrib_i4iv_with_i32_array(&self, index: u32, values: &mut [i32])
The vertexAttribI4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4iv_with_js_i32_array(
&self,
index: u32,
values: &Int32Array,
)
pub fn vertex_attrib_i4iv_with_js_i32_array( &self, index: u32, values: &Int32Array, )
The vertexAttribI4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4iv_with_i32_sequence(&self, index: u32, values: &JsValue)
pub fn vertex_attrib_i4iv_with_i32_sequence(&self, index: u32, values: &JsValue)
The vertexAttribI4iv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4ui(&self, index: u32, x: u32, y: u32, z: u32, w: u32)
pub fn vertex_attrib_i4ui(&self, index: u32, x: u32, y: u32, z: u32, w: u32)
The vertexAttribI4ui()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4uiv_with_u32_array(&self, index: u32, values: &mut [u32])
pub fn vertex_attrib_i4uiv_with_u32_array(&self, index: u32, values: &mut [u32])
The vertexAttribI4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4uiv_with_js_u32_array(
&self,
index: u32,
values: &Uint32Array,
)
pub fn vertex_attrib_i4uiv_with_js_u32_array( &self, index: u32, values: &Uint32Array, )
The vertexAttribI4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i4uiv_with_u32_sequence(
&self,
index: u32,
values: &JsValue,
)
pub fn vertex_attrib_i4uiv_with_u32_sequence( &self, index: u32, values: &JsValue, )
The vertexAttribI4uiv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i_pointer_with_i32(
&self,
index: u32,
size: i32,
type_: u32,
stride: i32,
offset: i32,
)
pub fn vertex_attrib_i_pointer_with_i32( &self, index: u32, size: i32, type_: u32, stride: i32, offset: i32, )
The vertexAttribIPointer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_i_pointer_with_f64(
&self,
index: u32,
size: i32,
type_: u32,
stride: i32,
offset: f64,
)
pub fn vertex_attrib_i_pointer_with_f64( &self, index: u32, size: i32, type_: u32, stride: i32, offset: f64, )
The vertexAttribIPointer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn active_texture(&self, texture: u32)
pub fn active_texture(&self, texture: u32)
The activeTexture()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn attach_shader(&self, program: &WebGlProgram, shader: &WebGlShader)
pub fn attach_shader(&self, program: &WebGlProgram, shader: &WebGlShader)
The attachShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
, WebGlShader
Sourcepub fn bind_attrib_location(
&self,
program: &WebGlProgram,
index: u32,
name: &str,
)
pub fn bind_attrib_location( &self, program: &WebGlProgram, index: u32, name: &str, )
The bindAttribLocation()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn bind_buffer(&self, target: u32, buffer: Option<&WebGlBuffer>)
pub fn bind_buffer(&self, target: u32, buffer: Option<&WebGlBuffer>)
The bindBuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn bind_texture(&self, target: u32, texture: Option<&WebGlTexture>)
pub fn bind_texture(&self, target: u32, texture: Option<&WebGlTexture>)
The bindTexture()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn blend_color(&self, red: f32, green: f32, blue: f32, alpha: f32)
pub fn blend_color(&self, red: f32, green: f32, blue: f32, alpha: f32)
The blendColor()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn blend_equation(&self, mode: u32)
pub fn blend_equation(&self, mode: u32)
The blendEquation()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn blend_equation_separate(&self, mode_rgb: u32, mode_alpha: u32)
pub fn blend_equation_separate(&self, mode_rgb: u32, mode_alpha: u32)
The blendEquationSeparate()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn blend_func(&self, sfactor: u32, dfactor: u32)
pub fn blend_func(&self, sfactor: u32, dfactor: u32)
The blendFunc()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn blend_func_separate(
&self,
src_rgb: u32,
dst_rgb: u32,
src_alpha: u32,
dst_alpha: u32,
)
pub fn blend_func_separate( &self, src_rgb: u32, dst_rgb: u32, src_alpha: u32, dst_alpha: u32, )
The blendFuncSeparate()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn check_framebuffer_status(&self, target: u32) -> u32
pub fn check_framebuffer_status(&self, target: u32) -> u32
The checkFramebufferStatus()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear(&self, mask: u32)
pub fn clear(&self, mask: u32)
The clear()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_color(&self, red: f32, green: f32, blue: f32, alpha: f32)
pub fn clear_color(&self, red: f32, green: f32, blue: f32, alpha: f32)
The clearColor()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_depth(&self, depth: f32)
pub fn clear_depth(&self, depth: f32)
The clearDepth()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn clear_stencil(&self, s: i32)
pub fn clear_stencil(&self, s: i32)
The clearStencil()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn color_mask(&self, red: bool, green: bool, blue: bool, alpha: bool)
pub fn color_mask(&self, red: bool, green: bool, blue: bool, alpha: bool)
The colorMask()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn compile_shader(&self, shader: &WebGlShader)
pub fn compile_shader(&self, shader: &WebGlShader)
The compileShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn copy_tex_image_2d(
&self,
target: u32,
level: i32,
internalformat: u32,
x: i32,
y: i32,
width: i32,
height: i32,
border: i32,
)
pub fn copy_tex_image_2d( &self, target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32, )
The copyTexImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn copy_tex_sub_image_2d(
&self,
target: u32,
level: i32,
xoffset: i32,
yoffset: i32,
x: i32,
y: i32,
width: i32,
height: i32,
)
pub fn copy_tex_sub_image_2d( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32, )
The copyTexSubImage2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn create_buffer(&self) -> Option<WebGlBuffer>
pub fn create_buffer(&self) -> Option<WebGlBuffer>
The createBuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn create_program(&self) -> Option<WebGlProgram>
pub fn create_program(&self) -> Option<WebGlProgram>
The createProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn create_shader(&self, type_: u32) -> Option<WebGlShader>
pub fn create_shader(&self, type_: u32) -> Option<WebGlShader>
The createShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn create_texture(&self) -> Option<WebGlTexture>
pub fn create_texture(&self) -> Option<WebGlTexture>
The createTexture()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn cull_face(&self, mode: u32)
pub fn cull_face(&self, mode: u32)
The cullFace()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn delete_buffer(&self, buffer: Option<&WebGlBuffer>)
pub fn delete_buffer(&self, buffer: Option<&WebGlBuffer>)
The deleteBuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn delete_program(&self, program: Option<&WebGlProgram>)
pub fn delete_program(&self, program: Option<&WebGlProgram>)
The deleteProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn delete_shader(&self, shader: Option<&WebGlShader>)
pub fn delete_shader(&self, shader: Option<&WebGlShader>)
The deleteShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn delete_texture(&self, texture: Option<&WebGlTexture>)
pub fn delete_texture(&self, texture: Option<&WebGlTexture>)
The deleteTexture()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn depth_func(&self, func: u32)
pub fn depth_func(&self, func: u32)
The depthFunc()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn depth_mask(&self, flag: bool)
pub fn depth_mask(&self, flag: bool)
The depthMask()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn depth_range(&self, z_near: f32, z_far: f32)
pub fn depth_range(&self, z_near: f32, z_far: f32)
The depthRange()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn detach_shader(&self, program: &WebGlProgram, shader: &WebGlShader)
pub fn detach_shader(&self, program: &WebGlProgram, shader: &WebGlShader)
The detachShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
, WebGlShader
Sourcepub fn disable(&self, cap: u32)
pub fn disable(&self, cap: u32)
The disable()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn disable_vertex_attrib_array(&self, index: u32)
pub fn disable_vertex_attrib_array(&self, index: u32)
The disableVertexAttribArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_arrays(&self, mode: u32, first: i32, count: i32)
pub fn draw_arrays(&self, mode: u32, first: i32, count: i32)
The drawArrays()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_elements_with_i32(
&self,
mode: u32,
count: i32,
type_: u32,
offset: i32,
)
pub fn draw_elements_with_i32( &self, mode: u32, count: i32, type_: u32, offset: i32, )
The drawElements()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn draw_elements_with_f64(
&self,
mode: u32,
count: i32,
type_: u32,
offset: f64,
)
pub fn draw_elements_with_f64( &self, mode: u32, count: i32, type_: u32, offset: f64, )
The drawElements()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn enable(&self, cap: u32)
pub fn enable(&self, cap: u32)
The enable()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn enable_vertex_attrib_array(&self, index: u32)
pub fn enable_vertex_attrib_array(&self, index: u32)
The enableVertexAttribArray()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn finish(&self)
pub fn finish(&self)
The finish()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn flush(&self)
pub fn flush(&self)
The flush()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn framebuffer_texture_2d(
&self,
target: u32,
attachment: u32,
textarget: u32,
texture: Option<&WebGlTexture>,
level: i32,
)
pub fn framebuffer_texture_2d( &self, target: u32, attachment: u32, textarget: u32, texture: Option<&WebGlTexture>, level: i32, )
The framebufferTexture2D()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn front_face(&self, mode: u32)
pub fn front_face(&self, mode: u32)
The frontFace()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn generate_mipmap(&self, target: u32)
pub fn generate_mipmap(&self, target: u32)
The generateMipmap()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_attached_shaders(&self, program: &WebGlProgram) -> Option<Array>
pub fn get_attached_shaders(&self, program: &WebGlProgram) -> Option<Array>
The getAttachedShaders()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_attrib_location(&self, program: &WebGlProgram, name: &str) -> i32
pub fn get_attrib_location(&self, program: &WebGlProgram, name: &str) -> i32
The getAttribLocation()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_buffer_parameter(&self, target: u32, pname: u32) -> JsValue
pub fn get_buffer_parameter(&self, target: u32, pname: u32) -> JsValue
The getBufferParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_error(&self) -> u32
pub fn get_error(&self) -> u32
The getError()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_extension(&self, name: &str) -> Result<Option<Object>, JsValue>
pub fn get_extension(&self, name: &str) -> Result<Option<Object>, JsValue>
The getExtension()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_framebuffer_attachment_parameter(
&self,
target: u32,
attachment: u32,
pname: u32,
) -> Result<JsValue, JsValue>
pub fn get_framebuffer_attachment_parameter( &self, target: u32, attachment: u32, pname: u32, ) -> Result<JsValue, JsValue>
The getFramebufferAttachmentParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_parameter(&self, pname: u32) -> Result<JsValue, JsValue>
pub fn get_parameter(&self, pname: u32) -> Result<JsValue, JsValue>
The getParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_program_info_log(&self, program: &WebGlProgram) -> Option<String>
pub fn get_program_info_log(&self, program: &WebGlProgram) -> Option<String>
The getProgramInfoLog()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_program_parameter(
&self,
program: &WebGlProgram,
pname: u32,
) -> JsValue
pub fn get_program_parameter( &self, program: &WebGlProgram, pname: u32, ) -> JsValue
The getProgramParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn get_renderbuffer_parameter(&self, target: u32, pname: u32) -> JsValue
pub fn get_renderbuffer_parameter(&self, target: u32, pname: u32) -> JsValue
The getRenderbufferParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_shader_info_log(&self, shader: &WebGlShader) -> Option<String>
pub fn get_shader_info_log(&self, shader: &WebGlShader) -> Option<String>
The getShaderInfoLog()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn get_shader_parameter(&self, shader: &WebGlShader, pname: u32) -> JsValue
pub fn get_shader_parameter(&self, shader: &WebGlShader, pname: u32) -> JsValue
The getShaderParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn get_shader_source(&self, shader: &WebGlShader) -> Option<String>
pub fn get_shader_source(&self, shader: &WebGlShader) -> Option<String>
The getShaderSource()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn get_supported_extensions(&self) -> Option<Array>
pub fn get_supported_extensions(&self) -> Option<Array>
The getSupportedExtensions()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_tex_parameter(&self, target: u32, pname: u32) -> JsValue
pub fn get_tex_parameter(&self, target: u32, pname: u32) -> JsValue
The getTexParameter()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_uniform(
&self,
program: &WebGlProgram,
location: &WebGlUniformLocation,
) -> JsValue
pub fn get_uniform( &self, program: &WebGlProgram, location: &WebGlUniformLocation, ) -> JsValue
The getUniform()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
, WebGlUniformLocation
Sourcepub fn get_uniform_location(
&self,
program: &WebGlProgram,
name: &str,
) -> Option<WebGlUniformLocation>
pub fn get_uniform_location( &self, program: &WebGlProgram, name: &str, ) -> Option<WebGlUniformLocation>
The getUniformLocation()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
, WebGlUniformLocation
Sourcepub fn get_vertex_attrib(
&self,
index: u32,
pname: u32,
) -> Result<JsValue, JsValue>
pub fn get_vertex_attrib( &self, index: u32, pname: u32, ) -> Result<JsValue, JsValue>
The getVertexAttrib()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn get_vertex_attrib_offset(&self, index: u32, pname: u32) -> f64
pub fn get_vertex_attrib_offset(&self, index: u32, pname: u32) -> f64
The getVertexAttribOffset()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn hint(&self, target: u32, mode: u32)
pub fn hint(&self, target: u32, mode: u32)
The hint()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn is_buffer(&self, buffer: Option<&WebGlBuffer>) -> bool
pub fn is_buffer(&self, buffer: Option<&WebGlBuffer>) -> bool
The isBuffer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlBuffer
Sourcepub fn is_context_lost(&self) -> bool
pub fn is_context_lost(&self) -> bool
The isContextLost()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn is_enabled(&self, cap: u32) -> bool
pub fn is_enabled(&self, cap: u32) -> bool
The isEnabled()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn is_program(&self, program: Option<&WebGlProgram>) -> bool
pub fn is_program(&self, program: Option<&WebGlProgram>) -> bool
The isProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn is_shader(&self, shader: Option<&WebGlShader>) -> bool
pub fn is_shader(&self, shader: Option<&WebGlShader>) -> bool
The isShader()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn is_texture(&self, texture: Option<&WebGlTexture>) -> bool
pub fn is_texture(&self, texture: Option<&WebGlTexture>) -> bool
The isTexture()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlTexture
Sourcepub fn line_width(&self, width: f32)
pub fn line_width(&self, width: f32)
The lineWidth()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn link_program(&self, program: &WebGlProgram)
pub fn link_program(&self, program: &WebGlProgram)
The linkProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn pixel_storei(&self, pname: u32, param: i32)
pub fn pixel_storei(&self, pname: u32, param: i32)
The pixelStorei()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn polygon_offset(&self, factor: f32, units: f32)
pub fn polygon_offset(&self, factor: f32, units: f32)
The polygonOffset()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn renderbuffer_storage(
&self,
target: u32,
internalformat: u32,
width: i32,
height: i32,
)
pub fn renderbuffer_storage( &self, target: u32, internalformat: u32, width: i32, height: i32, )
The renderbufferStorage()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn sample_coverage(&self, value: f32, invert: bool)
pub fn sample_coverage(&self, value: f32, invert: bool)
The sampleCoverage()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn scissor(&self, x: i32, y: i32, width: i32, height: i32)
pub fn scissor(&self, x: i32, y: i32, width: i32, height: i32)
The scissor()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn shader_source(&self, shader: &WebGlShader, source: &str)
pub fn shader_source(&self, shader: &WebGlShader, source: &str)
The shaderSource()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlShader
Sourcepub fn stencil_func(&self, func: u32, ref_: i32, mask: u32)
pub fn stencil_func(&self, func: u32, ref_: i32, mask: u32)
The stencilFunc()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn stencil_func_separate(&self, face: u32, func: u32, ref_: i32, mask: u32)
pub fn stencil_func_separate(&self, face: u32, func: u32, ref_: i32, mask: u32)
The stencilFuncSeparate()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn stencil_mask(&self, mask: u32)
pub fn stencil_mask(&self, mask: u32)
The stencilMask()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn stencil_mask_separate(&self, face: u32, mask: u32)
pub fn stencil_mask_separate(&self, face: u32, mask: u32)
The stencilMaskSeparate()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn stencil_op(&self, fail: u32, zfail: u32, zpass: u32)
pub fn stencil_op(&self, fail: u32, zfail: u32, zpass: u32)
The stencilOp()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn stencil_op_separate(&self, face: u32, fail: u32, zfail: u32, zpass: u32)
pub fn stencil_op_separate(&self, face: u32, fail: u32, zfail: u32, zpass: u32)
The stencilOpSeparate()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_parameterf(&self, target: u32, pname: u32, param: f32)
pub fn tex_parameterf(&self, target: u32, pname: u32, param: f32)
The texParameterf()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn tex_parameteri(&self, target: u32, pname: u32, param: i32)
pub fn tex_parameteri(&self, target: u32, pname: u32, param: i32)
The texParameteri()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn uniform1f(&self, location: Option<&WebGlUniformLocation>, x: f32)
pub fn uniform1f(&self, location: Option<&WebGlUniformLocation>, x: f32)
The uniform1f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform1i(&self, location: Option<&WebGlUniformLocation>, x: i32)
pub fn uniform1i(&self, location: Option<&WebGlUniformLocation>, x: i32)
The uniform1i()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2f(&self, location: Option<&WebGlUniformLocation>, x: f32, y: f32)
pub fn uniform2f(&self, location: Option<&WebGlUniformLocation>, x: f32, y: f32)
The uniform2f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform2i(&self, location: Option<&WebGlUniformLocation>, x: i32, y: i32)
pub fn uniform2i(&self, location: Option<&WebGlUniformLocation>, x: i32, y: i32)
The uniform2i()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3f(
&self,
location: Option<&WebGlUniformLocation>,
x: f32,
y: f32,
z: f32,
)
pub fn uniform3f( &self, location: Option<&WebGlUniformLocation>, x: f32, y: f32, z: f32, )
The uniform3f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform3i(
&self,
location: Option<&WebGlUniformLocation>,
x: i32,
y: i32,
z: i32,
)
pub fn uniform3i( &self, location: Option<&WebGlUniformLocation>, x: i32, y: i32, z: i32, )
The uniform3i()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4f(
&self,
location: Option<&WebGlUniformLocation>,
x: f32,
y: f32,
z: f32,
w: f32,
)
pub fn uniform4f( &self, location: Option<&WebGlUniformLocation>, x: f32, y: f32, z: f32, w: f32, )
The uniform4f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn uniform4i(
&self,
location: Option<&WebGlUniformLocation>,
x: i32,
y: i32,
z: i32,
w: i32,
)
pub fn uniform4i( &self, location: Option<&WebGlUniformLocation>, x: i32, y: i32, z: i32, w: i32, )
The uniform4i()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlUniformLocation
Sourcepub fn use_program(&self, program: Option<&WebGlProgram>)
pub fn use_program(&self, program: Option<&WebGlProgram>)
The useProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn validate_program(&self, program: &WebGlProgram)
pub fn validate_program(&self, program: &WebGlProgram)
The validateProgram()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
, WebGlProgram
Sourcepub fn vertex_attrib1f(&self, indx: u32, x: f32)
pub fn vertex_attrib1f(&self, indx: u32, x: f32)
The vertexAttrib1f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib1fv_with_f32_array(&self, indx: u32, values: &[f32])
pub fn vertex_attrib1fv_with_f32_array(&self, indx: u32, values: &[f32])
The vertexAttrib1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib1fv_with_js_f32_array(
&self,
indx: u32,
values: &Float32Array,
)
pub fn vertex_attrib1fv_with_js_f32_array( &self, indx: u32, values: &Float32Array, )
The vertexAttrib1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib1fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
pub fn vertex_attrib1fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
The vertexAttrib1fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib2f(&self, indx: u32, x: f32, y: f32)
pub fn vertex_attrib2f(&self, indx: u32, x: f32, y: f32)
The vertexAttrib2f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib2fv_with_f32_array(&self, indx: u32, values: &[f32])
pub fn vertex_attrib2fv_with_f32_array(&self, indx: u32, values: &[f32])
The vertexAttrib2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib2fv_with_js_f32_array(
&self,
indx: u32,
values: &Float32Array,
)
pub fn vertex_attrib2fv_with_js_f32_array( &self, indx: u32, values: &Float32Array, )
The vertexAttrib2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib2fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
pub fn vertex_attrib2fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
The vertexAttrib2fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib3f(&self, indx: u32, x: f32, y: f32, z: f32)
pub fn vertex_attrib3f(&self, indx: u32, x: f32, y: f32, z: f32)
The vertexAttrib3f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib3fv_with_f32_array(&self, indx: u32, values: &[f32])
pub fn vertex_attrib3fv_with_f32_array(&self, indx: u32, values: &[f32])
The vertexAttrib3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib3fv_with_js_f32_array(
&self,
indx: u32,
values: &Float32Array,
)
pub fn vertex_attrib3fv_with_js_f32_array( &self, indx: u32, values: &Float32Array, )
The vertexAttrib3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib3fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
pub fn vertex_attrib3fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
The vertexAttrib3fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib4f(&self, indx: u32, x: f32, y: f32, z: f32, w: f32)
pub fn vertex_attrib4f(&self, indx: u32, x: f32, y: f32, z: f32, w: f32)
The vertexAttrib4f()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib4fv_with_f32_array(&self, indx: u32, values: &[f32])
pub fn vertex_attrib4fv_with_f32_array(&self, indx: u32, values: &[f32])
The vertexAttrib4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib4fv_with_js_f32_array(
&self,
indx: u32,
values: &Float32Array,
)
pub fn vertex_attrib4fv_with_js_f32_array( &self, indx: u32, values: &Float32Array, )
The vertexAttrib4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib4fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
pub fn vertex_attrib4fv_with_f32_sequence(&self, indx: u32, values: &JsValue)
The vertexAttrib4fv()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_pointer_with_i32(
&self,
indx: u32,
size: i32,
type_: u32,
normalized: bool,
stride: i32,
offset: i32,
)
pub fn vertex_attrib_pointer_with_i32( &self, indx: u32, size: i32, type_: u32, normalized: bool, stride: i32, offset: i32, )
The vertexAttribPointer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn vertex_attrib_pointer_with_f64(
&self,
indx: u32,
size: i32,
type_: u32,
normalized: bool,
stride: i32,
offset: f64,
)
pub fn vertex_attrib_pointer_with_f64( &self, indx: u32, size: i32, type_: u32, normalized: bool, stride: i32, offset: f64, )
The vertexAttribPointer()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
Sourcepub fn viewport(&self, x: i32, y: i32, width: i32, height: i32)
pub fn viewport(&self, x: i32, y: i32, width: i32, height: i32)
The viewport()
method.
This API requires the following crate features to be activated: WebGl2RenderingContext
pub const READ_BUFFER: u32 = 3_074u32
pub const UNPACK_ROW_LENGTH: u32 = 3_314u32
pub const UNPACK_SKIP_ROWS: u32 = 3_315u32
pub const UNPACK_SKIP_PIXELS: u32 = 3_316u32
pub const PACK_ROW_LENGTH: u32 = 3_330u32
pub const PACK_SKIP_ROWS: u32 = 3_331u32
pub const PACK_SKIP_PIXELS: u32 = 3_332u32
pub const COLOR: u32 = 6_144u32
pub const DEPTH: u32 = 6_145u32
pub const STENCIL: u32 = 6_146u32
pub const RED: u32 = 6_403u32
pub const RGB8: u32 = 32_849u32
pub const RGBA8: u32 = 32_856u32
pub const RGB10_A2: u32 = 32_857u32
pub const TEXTURE_BINDING_3D: u32 = 32_874u32
pub const UNPACK_SKIP_IMAGES: u32 = 32_877u32
pub const UNPACK_IMAGE_HEIGHT: u32 = 32_878u32
pub const TEXTURE_3D: u32 = 32_879u32
pub const TEXTURE_WRAP_R: u32 = 32_882u32
pub const MAX_3D_TEXTURE_SIZE: u32 = 32_883u32
pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33_640u32
pub const MAX_ELEMENTS_VERTICES: u32 = 33_000u32
pub const MAX_ELEMENTS_INDICES: u32 = 33_001u32
pub const TEXTURE_MIN_LOD: u32 = 33_082u32
pub const TEXTURE_MAX_LOD: u32 = 33_083u32
pub const TEXTURE_BASE_LEVEL: u32 = 33_084u32
pub const TEXTURE_MAX_LEVEL: u32 = 33_085u32
pub const MIN: u32 = 32_775u32
pub const MAX: u32 = 32_776u32
pub const DEPTH_COMPONENT24: u32 = 33_190u32
pub const MAX_TEXTURE_LOD_BIAS: u32 = 34_045u32
pub const TEXTURE_COMPARE_MODE: u32 = 34_892u32
pub const TEXTURE_COMPARE_FUNC: u32 = 34_893u32
pub const CURRENT_QUERY: u32 = 34_917u32
pub const QUERY_RESULT: u32 = 34_918u32
pub const QUERY_RESULT_AVAILABLE: u32 = 34_919u32
pub const STREAM_READ: u32 = 35_041u32
pub const STREAM_COPY: u32 = 35_042u32
pub const STATIC_READ: u32 = 35_045u32
pub const STATIC_COPY: u32 = 35_046u32
pub const DYNAMIC_READ: u32 = 35_049u32
pub const DYNAMIC_COPY: u32 = 35_050u32
pub const MAX_DRAW_BUFFERS: u32 = 34_852u32
pub const DRAW_BUFFER0: u32 = 34_853u32
pub const DRAW_BUFFER1: u32 = 34_854u32
pub const DRAW_BUFFER2: u32 = 34_855u32
pub const DRAW_BUFFER3: u32 = 34_856u32
pub const DRAW_BUFFER4: u32 = 34_857u32
pub const DRAW_BUFFER5: u32 = 34_858u32
pub const DRAW_BUFFER6: u32 = 34_859u32
pub const DRAW_BUFFER7: u32 = 34_860u32
pub const DRAW_BUFFER8: u32 = 34_861u32
pub const DRAW_BUFFER9: u32 = 34_862u32
pub const DRAW_BUFFER10: u32 = 34_863u32
pub const DRAW_BUFFER11: u32 = 34_864u32
pub const DRAW_BUFFER12: u32 = 34_865u32
pub const DRAW_BUFFER13: u32 = 34_866u32
pub const DRAW_BUFFER14: u32 = 34_867u32
pub const DRAW_BUFFER15: u32 = 34_868u32
pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35_657u32
pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35_658u32
pub const SAMPLER_3D: u32 = 35_679u32
pub const SAMPLER_2D_SHADOW: u32 = 35_682u32
pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35_723u32
pub const PIXEL_PACK_BUFFER: u32 = 35_051u32
pub const PIXEL_UNPACK_BUFFER: u32 = 35_052u32
pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35_053u32
pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35_055u32
pub const FLOAT_MAT2X3: u32 = 35_685u32
pub const FLOAT_MAT2X4: u32 = 35_686u32
pub const FLOAT_MAT3X2: u32 = 35_687u32
pub const FLOAT_MAT3X4: u32 = 35_688u32
pub const FLOAT_MAT4X2: u32 = 35_689u32
pub const FLOAT_MAT4X3: u32 = 35_690u32
pub const SRGB: u32 = 35_904u32
pub const SRGB8: u32 = 35_905u32
pub const SRGB8_ALPHA8: u32 = 35_907u32
pub const COMPARE_REF_TO_TEXTURE: u32 = 34_894u32
pub const RGBA32F: u32 = 34_836u32
pub const RGB32F: u32 = 34_837u32
pub const RGBA16F: u32 = 34_842u32
pub const RGB16F: u32 = 34_843u32
pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35_069u32
pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35_071u32
pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35_076u32
pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35_077u32
pub const MAX_VARYING_COMPONENTS: u32 = 35_659u32
pub const TEXTURE_2D_ARRAY: u32 = 35_866u32
pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35_869u32
pub const R11F_G11F_B10F: u32 = 35_898u32
pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35_899u32
pub const RGB9_E5: u32 = 35_901u32
pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35_902u32
pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35_967u32
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35_968u32
pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35_971u32
pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35_972u32
pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35_973u32
pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35_976u32
pub const RASTERIZER_DISCARD: u32 = 35_977u32
pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35_978u32
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35_979u32
pub const INTERLEAVED_ATTRIBS: u32 = 35_980u32
pub const SEPARATE_ATTRIBS: u32 = 35_981u32
pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35_982u32
pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35_983u32
pub const RGBA32UI: u32 = 36_208u32
pub const RGB32UI: u32 = 36_209u32
pub const RGBA16UI: u32 = 36_214u32
pub const RGB16UI: u32 = 36_215u32
pub const RGBA8UI: u32 = 36_220u32
pub const RGB8UI: u32 = 36_221u32
pub const RGBA32I: u32 = 36_226u32
pub const RGB32I: u32 = 36_227u32
pub const RGBA16I: u32 = 36_232u32
pub const RGB16I: u32 = 36_233u32
pub const RGBA8I: u32 = 36_238u32
pub const RGB8I: u32 = 36_239u32
pub const RED_INTEGER: u32 = 36_244u32
pub const RGB_INTEGER: u32 = 36_248u32
pub const RGBA_INTEGER: u32 = 36_249u32
pub const SAMPLER_2D_ARRAY: u32 = 36_289u32
pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36_292u32
pub const SAMPLER_CUBE_SHADOW: u32 = 36_293u32
pub const UNSIGNED_INT_VEC2: u32 = 36_294u32
pub const UNSIGNED_INT_VEC3: u32 = 36_295u32
pub const UNSIGNED_INT_VEC4: u32 = 36_296u32
pub const INT_SAMPLER_2D: u32 = 36_298u32
pub const INT_SAMPLER_3D: u32 = 36_299u32
pub const INT_SAMPLER_CUBE: u32 = 36_300u32
pub const INT_SAMPLER_2D_ARRAY: u32 = 36_303u32
pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36_306u32
pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36_307u32
pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36_308u32
pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36_311u32
pub const DEPTH_COMPONENT32F: u32 = 36_012u32
pub const DEPTH32F_STENCIL8: u32 = 36_013u32
pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36_269u32
pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33_296u32
pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33_297u32
pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33_298u32
pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33_299u32
pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33_300u32
pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33_301u32
pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33_302u32
pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33_303u32
pub const FRAMEBUFFER_DEFAULT: u32 = 33_304u32
pub const UNSIGNED_INT_24_8: u32 = 34_042u32
pub const DEPTH24_STENCIL8: u32 = 35_056u32
pub const UNSIGNED_NORMALIZED: u32 = 35_863u32
pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36_006u32
pub const READ_FRAMEBUFFER: u32 = 36_008u32
pub const DRAW_FRAMEBUFFER: u32 = 36_009u32
pub const READ_FRAMEBUFFER_BINDING: u32 = 36_010u32
pub const RENDERBUFFER_SAMPLES: u32 = 36_011u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36_052u32
pub const MAX_COLOR_ATTACHMENTS: u32 = 36_063u32
pub const COLOR_ATTACHMENT1: u32 = 36_065u32
pub const COLOR_ATTACHMENT2: u32 = 36_066u32
pub const COLOR_ATTACHMENT3: u32 = 36_067u32
pub const COLOR_ATTACHMENT4: u32 = 36_068u32
pub const COLOR_ATTACHMENT5: u32 = 36_069u32
pub const COLOR_ATTACHMENT6: u32 = 36_070u32
pub const COLOR_ATTACHMENT7: u32 = 36_071u32
pub const COLOR_ATTACHMENT8: u32 = 36_072u32
pub const COLOR_ATTACHMENT9: u32 = 36_073u32
pub const COLOR_ATTACHMENT10: u32 = 36_074u32
pub const COLOR_ATTACHMENT11: u32 = 36_075u32
pub const COLOR_ATTACHMENT12: u32 = 36_076u32
pub const COLOR_ATTACHMENT13: u32 = 36_077u32
pub const COLOR_ATTACHMENT14: u32 = 36_078u32
pub const COLOR_ATTACHMENT15: u32 = 36_079u32
pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36_182u32
pub const MAX_SAMPLES: u32 = 36_183u32
pub const HALF_FLOAT: u32 = 5_131u32
pub const RG: u32 = 33_319u32
pub const RG_INTEGER: u32 = 33_320u32
pub const R8: u32 = 33_321u32
pub const RG8: u32 = 33_323u32
pub const R16F: u32 = 33_325u32
pub const R32F: u32 = 33_326u32
pub const RG16F: u32 = 33_327u32
pub const RG32F: u32 = 33_328u32
pub const R8I: u32 = 33_329u32
pub const R8UI: u32 = 33_330u32
pub const R16I: u32 = 33_331u32
pub const R16UI: u32 = 33_332u32
pub const R32I: u32 = 33_333u32
pub const R32UI: u32 = 33_334u32
pub const RG8I: u32 = 33_335u32
pub const RG8UI: u32 = 33_336u32
pub const RG16I: u32 = 33_337u32
pub const RG16UI: u32 = 33_338u32
pub const RG32I: u32 = 33_339u32
pub const RG32UI: u32 = 33_340u32
pub const VERTEX_ARRAY_BINDING: u32 = 34_229u32
pub const R8_SNORM: u32 = 36_756u32
pub const RG8_SNORM: u32 = 36_757u32
pub const RGB8_SNORM: u32 = 36_758u32
pub const RGBA8_SNORM: u32 = 36_759u32
pub const SIGNED_NORMALIZED: u32 = 36_764u32
pub const COPY_READ_BUFFER: u32 = 36_662u32
pub const COPY_WRITE_BUFFER: u32 = 36_663u32
pub const COPY_READ_BUFFER_BINDING: u32 = 36_662u32
pub const COPY_WRITE_BUFFER_BINDING: u32 = 36_663u32
pub const UNIFORM_BUFFER: u32 = 35_345u32
pub const UNIFORM_BUFFER_BINDING: u32 = 35_368u32
pub const UNIFORM_BUFFER_START: u32 = 35_369u32
pub const UNIFORM_BUFFER_SIZE: u32 = 35_370u32
pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35_371u32
pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35_373u32
pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35_374u32
pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35_375u32
pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35_376u32
pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35_377u32
pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35_379u32
pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35_380u32
pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35_382u32
pub const UNIFORM_TYPE: u32 = 35_383u32
pub const UNIFORM_SIZE: u32 = 35_384u32
pub const UNIFORM_BLOCK_INDEX: u32 = 35_386u32
pub const UNIFORM_OFFSET: u32 = 35_387u32
pub const UNIFORM_ARRAY_STRIDE: u32 = 35_388u32
pub const UNIFORM_MATRIX_STRIDE: u32 = 35_389u32
pub const UNIFORM_IS_ROW_MAJOR: u32 = 35_390u32
pub const UNIFORM_BLOCK_BINDING: u32 = 35_391u32
pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35_392u32
pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35_394u32
pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35_395u32
pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35_396u32
pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35_398u32
pub const INVALID_INDEX: u32 = 4_294_967_295u32
pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37_154u32
pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37_157u32
pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37_137u32
pub const OBJECT_TYPE: u32 = 37_138u32
pub const SYNC_CONDITION: u32 = 37_139u32
pub const SYNC_STATUS: u32 = 37_140u32
pub const SYNC_FLAGS: u32 = 37_141u32
pub const SYNC_FENCE: u32 = 37_142u32
pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37_143u32
pub const UNSIGNALED: u32 = 37_144u32
pub const SIGNALED: u32 = 37_145u32
pub const ALREADY_SIGNALED: u32 = 37_146u32
pub const TIMEOUT_EXPIRED: u32 = 37_147u32
pub const CONDITION_SATISFIED: u32 = 37_148u32
pub const WAIT_FAILED: u32 = 37_149u32
pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u32
pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35_070u32
pub const ANY_SAMPLES_PASSED: u32 = 35_887u32
pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36_202u32
pub const SAMPLER_BINDING: u32 = 35_097u32
pub const RGB10_A2UI: u32 = 36_975u32
pub const INT_2_10_10_10_REV: u32 = 36_255u32
pub const TRANSFORM_FEEDBACK: u32 = 36_386u32
pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36_387u32
pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36_388u32
pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36_389u32
pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37_167u32
pub const MAX_ELEMENT_INDEX: u32 = 36_203u32
pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33_503u32
pub const TIMEOUT_IGNORED: f64 = -1f64
pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37_447u32
pub const DEPTH_BUFFER_BIT: u32 = 256u32
pub const STENCIL_BUFFER_BIT: u32 = 1_024u32
pub const COLOR_BUFFER_BIT: u32 = 16_384u32
pub const POINTS: u32 = 0u32
pub const LINES: u32 = 1u32
pub const LINE_LOOP: u32 = 2u32
pub const LINE_STRIP: u32 = 3u32
pub const TRIANGLES: u32 = 4u32
pub const TRIANGLE_STRIP: u32 = 5u32
pub const TRIANGLE_FAN: u32 = 6u32
pub const ZERO: u32 = 0u32
pub const ONE: u32 = 1u32
pub const SRC_COLOR: u32 = 768u32
pub const ONE_MINUS_SRC_COLOR: u32 = 769u32
pub const SRC_ALPHA: u32 = 770u32
pub const ONE_MINUS_SRC_ALPHA: u32 = 771u32
pub const DST_ALPHA: u32 = 772u32
pub const ONE_MINUS_DST_ALPHA: u32 = 773u32
pub const DST_COLOR: u32 = 774u32
pub const ONE_MINUS_DST_COLOR: u32 = 775u32
pub const SRC_ALPHA_SATURATE: u32 = 776u32
pub const FUNC_ADD: u32 = 32_774u32
pub const BLEND_EQUATION: u32 = 32_777u32
pub const BLEND_EQUATION_RGB: u32 = 32_777u32
pub const BLEND_EQUATION_ALPHA: u32 = 34_877u32
pub const FUNC_SUBTRACT: u32 = 32_778u32
pub const FUNC_REVERSE_SUBTRACT: u32 = 32_779u32
pub const BLEND_DST_RGB: u32 = 32_968u32
pub const BLEND_SRC_RGB: u32 = 32_969u32
pub const BLEND_DST_ALPHA: u32 = 32_970u32
pub const BLEND_SRC_ALPHA: u32 = 32_971u32
pub const CONSTANT_COLOR: u32 = 32_769u32
pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32_770u32
pub const CONSTANT_ALPHA: u32 = 32_771u32
pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32_772u32
pub const BLEND_COLOR: u32 = 32_773u32
pub const ARRAY_BUFFER: u32 = 34_962u32
pub const ELEMENT_ARRAY_BUFFER: u32 = 34_963u32
pub const ARRAY_BUFFER_BINDING: u32 = 34_964u32
pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34_965u32
pub const STREAM_DRAW: u32 = 35_040u32
pub const STATIC_DRAW: u32 = 35_044u32
pub const DYNAMIC_DRAW: u32 = 35_048u32
pub const BUFFER_SIZE: u32 = 34_660u32
pub const BUFFER_USAGE: u32 = 34_661u32
pub const CURRENT_VERTEX_ATTRIB: u32 = 34_342u32
pub const FRONT: u32 = 1_028u32
pub const BACK: u32 = 1_029u32
pub const FRONT_AND_BACK: u32 = 1_032u32
pub const CULL_FACE: u32 = 2_884u32
pub const BLEND: u32 = 3_042u32
pub const DITHER: u32 = 3_024u32
pub const STENCIL_TEST: u32 = 2_960u32
pub const DEPTH_TEST: u32 = 2_929u32
pub const SCISSOR_TEST: u32 = 3_089u32
pub const POLYGON_OFFSET_FILL: u32 = 32_823u32
pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32_926u32
pub const SAMPLE_COVERAGE: u32 = 32_928u32
pub const NO_ERROR: u32 = 0u32
pub const INVALID_ENUM: u32 = 1_280u32
pub const INVALID_VALUE: u32 = 1_281u32
pub const INVALID_OPERATION: u32 = 1_282u32
pub const OUT_OF_MEMORY: u32 = 1_285u32
pub const CW: u32 = 2_304u32
pub const CCW: u32 = 2_305u32
pub const LINE_WIDTH: u32 = 2_849u32
pub const ALIASED_POINT_SIZE_RANGE: u32 = 33_901u32
pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33_902u32
pub const CULL_FACE_MODE: u32 = 2_885u32
pub const FRONT_FACE: u32 = 2_886u32
pub const DEPTH_RANGE: u32 = 2_928u32
pub const DEPTH_WRITEMASK: u32 = 2_930u32
pub const DEPTH_CLEAR_VALUE: u32 = 2_931u32
pub const DEPTH_FUNC: u32 = 2_932u32
pub const STENCIL_CLEAR_VALUE: u32 = 2_961u32
pub const STENCIL_FUNC: u32 = 2_962u32
pub const STENCIL_FAIL: u32 = 2_964u32
pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2_965u32
pub const STENCIL_PASS_DEPTH_PASS: u32 = 2_966u32
pub const STENCIL_REF: u32 = 2_967u32
pub const STENCIL_VALUE_MASK: u32 = 2_963u32
pub const STENCIL_WRITEMASK: u32 = 2_968u32
pub const STENCIL_BACK_FUNC: u32 = 34_816u32
pub const STENCIL_BACK_FAIL: u32 = 34_817u32
pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34_818u32
pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34_819u32
pub const STENCIL_BACK_REF: u32 = 36_003u32
pub const STENCIL_BACK_VALUE_MASK: u32 = 36_004u32
pub const STENCIL_BACK_WRITEMASK: u32 = 36_005u32
pub const VIEWPORT: u32 = 2_978u32
pub const SCISSOR_BOX: u32 = 3_088u32
pub const COLOR_CLEAR_VALUE: u32 = 3_106u32
pub const COLOR_WRITEMASK: u32 = 3_107u32
pub const UNPACK_ALIGNMENT: u32 = 3_317u32
pub const PACK_ALIGNMENT: u32 = 3_333u32
pub const MAX_TEXTURE_SIZE: u32 = 3_379u32
pub const MAX_VIEWPORT_DIMS: u32 = 3_386u32
pub const SUBPIXEL_BITS: u32 = 3_408u32
pub const RED_BITS: u32 = 3_410u32
pub const GREEN_BITS: u32 = 3_411u32
pub const BLUE_BITS: u32 = 3_412u32
pub const ALPHA_BITS: u32 = 3_413u32
pub const DEPTH_BITS: u32 = 3_414u32
pub const STENCIL_BITS: u32 = 3_415u32
pub const POLYGON_OFFSET_UNITS: u32 = 10_752u32
pub const POLYGON_OFFSET_FACTOR: u32 = 32_824u32
pub const TEXTURE_BINDING_2D: u32 = 32_873u32
pub const SAMPLE_BUFFERS: u32 = 32_936u32
pub const SAMPLES: u32 = 32_937u32
pub const SAMPLE_COVERAGE_VALUE: u32 = 32_938u32
pub const SAMPLE_COVERAGE_INVERT: u32 = 32_939u32
pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34_467u32
pub const DONT_CARE: u32 = 4_352u32
pub const FASTEST: u32 = 4_353u32
pub const NICEST: u32 = 4_354u32
pub const GENERATE_MIPMAP_HINT: u32 = 33_170u32
pub const BYTE: u32 = 5_120u32
pub const UNSIGNED_BYTE: u32 = 5_121u32
pub const SHORT: u32 = 5_122u32
pub const UNSIGNED_SHORT: u32 = 5_123u32
pub const INT: u32 = 5_124u32
pub const UNSIGNED_INT: u32 = 5_125u32
pub const FLOAT: u32 = 5_126u32
pub const DEPTH_COMPONENT: u32 = 6_402u32
pub const ALPHA: u32 = 6_406u32
pub const RGB: u32 = 6_407u32
pub const RGBA: u32 = 6_408u32
pub const LUMINANCE: u32 = 6_409u32
pub const LUMINANCE_ALPHA: u32 = 6_410u32
pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32_819u32
pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32_820u32
pub const UNSIGNED_SHORT_5_6_5: u32 = 33_635u32
pub const FRAGMENT_SHADER: u32 = 35_632u32
pub const VERTEX_SHADER: u32 = 35_633u32
pub const MAX_VERTEX_ATTRIBS: u32 = 34_921u32
pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36_347u32
pub const MAX_VARYING_VECTORS: u32 = 36_348u32
pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35_661u32
pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35_660u32
pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34_930u32
pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36_349u32
pub const SHADER_TYPE: u32 = 35_663u32
pub const DELETE_STATUS: u32 = 35_712u32
pub const LINK_STATUS: u32 = 35_714u32
pub const VALIDATE_STATUS: u32 = 35_715u32
pub const ATTACHED_SHADERS: u32 = 35_717u32
pub const ACTIVE_UNIFORMS: u32 = 35_718u32
pub const ACTIVE_ATTRIBUTES: u32 = 35_721u32
pub const SHADING_LANGUAGE_VERSION: u32 = 35_724u32
pub const CURRENT_PROGRAM: u32 = 35_725u32
pub const NEVER: u32 = 512u32
pub const LESS: u32 = 513u32
pub const EQUAL: u32 = 514u32
pub const LEQUAL: u32 = 515u32
pub const GREATER: u32 = 516u32
pub const NOTEQUAL: u32 = 517u32
pub const GEQUAL: u32 = 518u32
pub const ALWAYS: u32 = 519u32
pub const KEEP: u32 = 7_680u32
pub const REPLACE: u32 = 7_681u32
pub const INCR: u32 = 7_682u32
pub const DECR: u32 = 7_683u32
pub const INVERT: u32 = 5_386u32
pub const INCR_WRAP: u32 = 34_055u32
pub const DECR_WRAP: u32 = 34_056u32
pub const VENDOR: u32 = 7_936u32
pub const RENDERER: u32 = 7_937u32
pub const VERSION: u32 = 7_938u32
pub const NEAREST: u32 = 9_728u32
pub const LINEAR: u32 = 9_729u32
pub const NEAREST_MIPMAP_NEAREST: u32 = 9_984u32
pub const LINEAR_MIPMAP_NEAREST: u32 = 9_985u32
pub const NEAREST_MIPMAP_LINEAR: u32 = 9_986u32
pub const LINEAR_MIPMAP_LINEAR: u32 = 9_987u32
pub const TEXTURE_MAG_FILTER: u32 = 10_240u32
pub const TEXTURE_MIN_FILTER: u32 = 10_241u32
pub const TEXTURE_WRAP_S: u32 = 10_242u32
pub const TEXTURE_WRAP_T: u32 = 10_243u32
pub const TEXTURE_2D: u32 = 3_553u32
pub const TEXTURE: u32 = 5_890u32
pub const TEXTURE_CUBE_MAP: u32 = 34_067u32
pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34_068u32
pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34_069u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34_070u32
pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34_071u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34_072u32
pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34_073u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34_074u32
pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34_076u32
pub const TEXTURE0: u32 = 33_984u32
pub const TEXTURE1: u32 = 33_985u32
pub const TEXTURE2: u32 = 33_986u32
pub const TEXTURE3: u32 = 33_987u32
pub const TEXTURE4: u32 = 33_988u32
pub const TEXTURE5: u32 = 33_989u32
pub const TEXTURE6: u32 = 33_990u32
pub const TEXTURE7: u32 = 33_991u32
pub const TEXTURE8: u32 = 33_992u32
pub const TEXTURE9: u32 = 33_993u32
pub const TEXTURE10: u32 = 33_994u32
pub const TEXTURE11: u32 = 33_995u32
pub const TEXTURE12: u32 = 33_996u32
pub const TEXTURE13: u32 = 33_997u32
pub const TEXTURE14: u32 = 33_998u32
pub const TEXTURE15: u32 = 33_999u32
pub const TEXTURE16: u32 = 34_000u32
pub const TEXTURE17: u32 = 34_001u32
pub const TEXTURE18: u32 = 34_002u32
pub const TEXTURE19: u32 = 34_003u32
pub const TEXTURE20: u32 = 34_004u32
pub const TEXTURE21: u32 = 34_005u32
pub const TEXTURE22: u32 = 34_006u32
pub const TEXTURE23: u32 = 34_007u32
pub const TEXTURE24: u32 = 34_008u32
pub const TEXTURE25: u32 = 34_009u32
pub const TEXTURE26: u32 = 34_010u32
pub const TEXTURE27: u32 = 34_011u32
pub const TEXTURE28: u32 = 34_012u32
pub const TEXTURE29: u32 = 34_013u32
pub const TEXTURE30: u32 = 34_014u32
pub const TEXTURE31: u32 = 34_015u32
pub const ACTIVE_TEXTURE: u32 = 34_016u32
pub const REPEAT: u32 = 10_497u32
pub const CLAMP_TO_EDGE: u32 = 33_071u32
pub const MIRRORED_REPEAT: u32 = 33_648u32
pub const FLOAT_VEC2: u32 = 35_664u32
pub const FLOAT_VEC3: u32 = 35_665u32
pub const FLOAT_VEC4: u32 = 35_666u32
pub const INT_VEC2: u32 = 35_667u32
pub const INT_VEC3: u32 = 35_668u32
pub const INT_VEC4: u32 = 35_669u32
pub const BOOL: u32 = 35_670u32
pub const BOOL_VEC2: u32 = 35_671u32
pub const BOOL_VEC3: u32 = 35_672u32
pub const BOOL_VEC4: u32 = 35_673u32
pub const FLOAT_MAT2: u32 = 35_674u32
pub const FLOAT_MAT3: u32 = 35_675u32
pub const FLOAT_MAT4: u32 = 35_676u32
pub const SAMPLER_2D: u32 = 35_678u32
pub const SAMPLER_CUBE: u32 = 35_680u32
pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34_338u32
pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34_339u32
pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34_340u32
pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34_341u32
pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34_922u32
pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34_373u32
pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34_975u32
pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35_738u32
pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35_739u32
pub const COMPILE_STATUS: u32 = 35_713u32
pub const LOW_FLOAT: u32 = 36_336u32
pub const MEDIUM_FLOAT: u32 = 36_337u32
pub const HIGH_FLOAT: u32 = 36_338u32
pub const LOW_INT: u32 = 36_339u32
pub const MEDIUM_INT: u32 = 36_340u32
pub const HIGH_INT: u32 = 36_341u32
pub const FRAMEBUFFER: u32 = 36_160u32
pub const RENDERBUFFER: u32 = 36_161u32
pub const RGBA4: u32 = 32_854u32
pub const RGB5_A1: u32 = 32_855u32
pub const RGB565: u32 = 36_194u32
pub const DEPTH_COMPONENT16: u32 = 33_189u32
pub const STENCIL_INDEX8: u32 = 36_168u32
pub const DEPTH_STENCIL: u32 = 34_041u32
pub const RENDERBUFFER_WIDTH: u32 = 36_162u32
pub const RENDERBUFFER_HEIGHT: u32 = 36_163u32
pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36_164u32
pub const RENDERBUFFER_RED_SIZE: u32 = 36_176u32
pub const RENDERBUFFER_GREEN_SIZE: u32 = 36_177u32
pub const RENDERBUFFER_BLUE_SIZE: u32 = 36_178u32
pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36_179u32
pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36_180u32
pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36_181u32
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36_048u32
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36_049u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36_050u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36_051u32
pub const COLOR_ATTACHMENT0: u32 = 36_064u32
pub const DEPTH_ATTACHMENT: u32 = 36_096u32
pub const STENCIL_ATTACHMENT: u32 = 36_128u32
pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33_306u32
pub const NONE: u32 = 0u32
pub const FRAMEBUFFER_COMPLETE: u32 = 36_053u32
pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36_054u32
pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36_055u32
pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36_057u32
pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36_061u32
pub const FRAMEBUFFER_BINDING: u32 = 36_006u32
pub const RENDERBUFFER_BINDING: u32 = 36_007u32
pub const MAX_RENDERBUFFER_SIZE: u32 = 34_024u32
pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1_286u32
pub const UNPACK_FLIP_Y_WEBGL: u32 = 37_440u32
pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37_441u32
pub const CONTEXT_LOST_WEBGL: u32 = 37_442u32
pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37_443u32
pub const BROWSER_DEFAULT_WEBGL: u32 = 37_444u32
Methods from Deref<Target = Object>§
Sourcepub fn constructor(&self) -> Function
pub fn constructor(&self) -> Function
The constructor property returns a reference to the Object
constructor
function that created the instance object.
Sourcepub fn has_own_property(&self, property: &JsValue) -> bool
pub fn has_own_property(&self, property: &JsValue) -> bool
The hasOwnProperty()
method returns a boolean indicating whether the
object has the specified property as its own property (as opposed to
inheriting it).
Sourcepub fn is_prototype_of(&self, value: &JsValue) -> bool
pub fn is_prototype_of(&self, value: &JsValue) -> bool
The isPrototypeOf()
method checks if an object exists in another
object’s prototype chain.
Sourcepub fn property_is_enumerable(&self, property: &JsValue) -> bool
pub fn property_is_enumerable(&self, property: &JsValue) -> bool
The propertyIsEnumerable()
method returns a Boolean indicating
whether the specified property is enumerable.
Sourcepub fn to_locale_string(&self) -> JsString
pub fn to_locale_string(&self) -> JsString
The toLocaleString()
method returns a string representing the object.
This method is meant to be overridden by derived objects for
locale-specific purposes.
Sourcepub fn to_string(&self) -> JsString
pub fn to_string(&self) -> JsString
The toString()
method returns a string representing the object.
Methods from Deref<Target = JsValue>§
pub const NULL: JsValue
pub const UNDEFINED: JsValue
pub const TRUE: JsValue
pub const FALSE: JsValue
Sourcepub fn as_f64(&self) -> Option<f64>
pub fn as_f64(&self) -> Option<f64>
Returns the f64
value of this JS value if it’s an instance of a
number.
If this JS value is not an instance of a number then this returns
None
.
Sourcepub fn as_string(&self) -> Option<String>
pub fn as_string(&self) -> Option<String>
If this JS value is a string value, this function copies the JS string
value into Wasm linear memory, encoded as UTF-8, and returns it as a
Rust String
.
To avoid the copying and re-encoding, consider the
JsString::try_from()
function from js-sys
instead.
If this JS value is not an instance of a string or if it’s not valid
utf-8 then this returns None
.
§UTF-16 vs UTF-8
JavaScript strings in general are encoded as UTF-16, but Rust strings
are encoded as UTF-8. This can cause the Rust string to look a bit
different than the JS string sometimes. For more details see the
documentation about the str
type which contains a few
caveats about the encodings.
Sourcepub fn as_bool(&self) -> Option<bool>
pub fn as_bool(&self) -> Option<bool>
Returns the bool
value of this JS value if it’s an instance of a
boolean.
If this JS value is not an instance of a boolean then this returns
None
.
Sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Tests whether this JS value is undefined
Sourcepub fn is_function(&self) -> bool
pub fn is_function(&self) -> bool
Tests whether the type of this JS value is function
.
Sourcepub fn js_in(&self, obj: &JsValue) -> bool
pub fn js_in(&self, obj: &JsValue) -> bool
Applies the binary in
JS operator on the two JsValue
s.
Sourcepub fn loose_eq(&self, other: &JsValue) -> bool
pub fn loose_eq(&self, other: &JsValue) -> bool
Compare two JsValue
s for equality, using the ==
operator in JS.
Sourcepub fn unsigned_shr(&self, rhs: &JsValue) -> u32
pub fn unsigned_shr(&self, rhs: &JsValue) -> u32
Applies the binary >>>
JS operator on the two JsValue
s.
Sourcepub fn checked_div(&self, rhs: &JsValue) -> JsValue
pub fn checked_div(&self, rhs: &JsValue) -> JsValue
Applies the binary /
JS operator on two JsValue
s, catching and returning any RangeError
thrown.
Sourcepub fn pow(&self, rhs: &JsValue) -> JsValue
pub fn pow(&self, rhs: &JsValue) -> JsValue
Applies the binary **
JS operator on the two JsValue
s.
Sourcepub fn lt(&self, other: &JsValue) -> bool
pub fn lt(&self, other: &JsValue) -> bool
Applies the binary <
JS operator on the two JsValue
s.
Sourcepub fn le(&self, other: &JsValue) -> bool
pub fn le(&self, other: &JsValue) -> bool
Applies the binary <=
JS operator on the two JsValue
s.
Sourcepub fn ge(&self, other: &JsValue) -> bool
pub fn ge(&self, other: &JsValue) -> bool
Applies the binary >=
JS operator on the two JsValue
s.
Sourcepub fn gt(&self, other: &JsValue) -> bool
pub fn gt(&self, other: &JsValue) -> bool
Applies the binary >
JS operator on the two JsValue
s.
Sourcepub fn unchecked_into_f64(&self) -> f64
pub fn unchecked_into_f64(&self) -> f64
Applies the unary +
JS operator on a JsValue
. Can throw.
Trait Implementations§
Source§impl Debug for Model3DWebGL
impl Debug for Model3DWebGL
Source§impl Deref for Model3DWebGL
impl Deref for Model3DWebGL
Source§type Target = WebGl2RenderingContext
type Target = WebGl2RenderingContext
Source§fn deref(&self) -> &WebGl2RenderingContext
fn deref(&self) -> &WebGl2RenderingContext
Source§impl Gl for Model3DWebGL
impl Gl for Model3DWebGL
Source§fn use_program(&self, program: Option<&Self::Program>)
fn use_program(&self, program: Option<&Self::Program>)
Use the program
Source§fn program_use_texture(
&mut self,
program: &<Self as Gl>::Program,
texture_id: TextureId,
gl_texture: &<Self as Gl>::Texture,
)
fn program_use_texture( &mut self, program: &<Self as Gl>::Program, texture_id: TextureId, gl_texture: &<Self as Gl>::Texture, )
Requires the program to be ‘used’
type Program = Program
type Buffer = Buffer
type Vao = Vao
type Texture = Texture
type PipelineDesc<'a> = PipelineDesc
fn create_pipeline<F: Fn(&str) -> Result<String, String>>( &mut self, read_src: &F, pipeline_desc: Box<Self::PipelineDesc<'_>>, ) -> Result<Self::Program, String>
Source§fn init_buffer_of_indices(
&mut self,
buffer: &mut <Self as Gl>::Buffer,
view: &BufferIndexAccessor<'_, Self>,
)
fn init_buffer_of_indices( &mut self, buffer: &mut <Self as Gl>::Buffer, view: &BufferIndexAccessor<'_, Self>, )
Source§fn vao_create_from_indices(
&mut self,
indices: &IndexBuffer<Self>,
) -> Result<Vao, ()>
fn vao_create_from_indices( &mut self, indices: &IndexBuffer<Self>, ) -> Result<Vao, ()>
Source§fn buffer_bind_to_vao_attr(
&mut self,
buffer: &<Self as Gl>::Buffer,
attr_id: &<Program as GlProgram>::GlAttrId,
count: u32,
ele_type: BufferElementType,
byte_offset: u32,
stride: u32,
)
fn buffer_bind_to_vao_attr( &mut self, buffer: &<Self as Gl>::Buffer, attr_id: &<Program as GlProgram>::GlAttrId, count: u32, ele_type: BufferElementType, byte_offset: u32, stride: u32, )
fn program_set_uniform_mat4( &mut self, program: &Program, id: UniformId, mat4: &Mat4, )
fn program_set_uniform_floats_4( &mut self, program: &Self::Program, id: UniformId, floats: &[f32], )
fn program_bind_uniform_index( &mut self, program: &<Self as Gl>::Program, uniform_buffer_id: usize, gl_uindex: u32, ) -> Result<(), ()>
Source§fn draw_primitive(&mut self, vaos: &[Vao], primitive: &Primitive)
fn draw_primitive(&mut self, vaos: &[Vao], primitive: &Primitive)
fn bind_vao(&mut self, vao: Option<&Self::Vao>)
Source§fn uniform_buffer_create<F: Sized>(
&mut self,
data: &[F],
is_dynamic: bool,
) -> Result<UniformBuffer<Self>, ()>
fn uniform_buffer_create<F: Sized>( &mut self, data: &[F], is_dynamic: bool, ) -> Result<UniformBuffer<Self>, ()>
Source§fn uniform_buffer_update_data<F: Debug>(
&mut self,
uniform_buffer: &UniformBuffer<Self>,
data: &[F],
byte_offset: u32,
)
fn uniform_buffer_update_data<F: Debug>( &mut self, uniform_buffer: &UniformBuffer<Self>, data: &[F], byte_offset: u32, )
Source§fn uniform_index_of_range(
&mut self,
uniform_buffer: &UniformBuffer<Self>,
gl_uindex: u32,
byte_offset: usize,
byte_length: usize,
)
fn uniform_index_of_range( &mut self, uniform_buffer: &UniformBuffer<Self>, gl_uindex: u32, byte_offset: usize, byte_length: usize, )
Source§impl Renderable for Model3DWebGL
impl Renderable for Model3DWebGL
Source§fn init_buffer_desc_client(
&mut self,
_client: &mut Self::Descriptor,
_buffer_desc: &BufferDescriptor<'_, Self>,
)
fn init_buffer_desc_client( &mut self, _client: &mut Self::Descriptor, _buffer_desc: &BufferDescriptor<'_, Self>, )
Initialize a buffer descriptor client - it will have been created using default()
Source§fn init_buffer_data_client(
&mut self,
client: &mut Self::Buffer,
buffer_data: &BufferData<'_, Self>,
)
fn init_buffer_data_client( &mut self, client: &mut Self::Buffer, buffer_data: &BufferData<'_, Self>, )
Initialize a BufferData client
This may be called multiple times for the same [BufferData]; if the gl buffer is 0 then create, else it already exists with the same data
Source§fn init_index_accessor_client(
&mut self,
client: &mut Self::IndexAccessor,
buffer_view: &BufferIndexAccessor<'_, Self>,
)
fn init_index_accessor_client( &mut self, client: &mut Self::IndexAccessor, buffer_view: &BufferIndexAccessor<'_, Self>, )
Initialize the client of an index accessor of a buffer data
Source§fn init_data_accessor_client(
&mut self,
client: &mut Self::DataAccessor,
buffer_data_accessor: &BufferDataAccessor<'_, Self>,
)
fn init_data_accessor_client( &mut self, client: &mut Self::DataAccessor, buffer_data_accessor: &BufferDataAccessor<'_, Self>, )
Initialize the client side of a BufferDataAccessor (for a particular vertex attr)