A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size below:

WebGLActiveInfo: size property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. WebGLActiveInfo
  4. size

Filter sidebar

In this article
  1. WebGL: 2D and 3D graphics for the web
  2. WebGLActiveInfo
  3. Instance properties
    1. name
    2. size
    3. type
  4. Related pages for WebGL
    1. ANGLE_instanced_arrays
    2. EXT_blend_minmax
    3. EXT_color_buffer_half_float
    4. EXT_disjoint_timer_query
    5. EXT_frag_depth
    6. EXT_sRGB
    7. EXT_shader_texture_lod
    8. EXT_texture_filter_anisotropic
    9. OES_draw_buffers_indexed
    10. OES_element_index_uint
    11. OES_standard_derivatives
    12. OES_texture_float
    13. OES_texture_float_linear
    14. OES_texture_half_float
    15. OES_texture_half_float_linear
    16. OES_vertex_array_object
    17. WEBGL_color_buffer_float
    18. WEBGL_compressed_texture_etc1
    19. WEBGL_compressed_texture_pvrtc
    20. WEBGL_compressed_texture_s3tc
    21. WEBGL_compressed_texture_s3tc_srgb
    22. WEBGL_debug_renderer_info
    23. WEBGL_debug_shaders
    24. WEBGL_depth_texture
    25. WEBGL_draw_buffers
    26. WEBGL_lose_context
    27. WebGL2RenderingContext
    28. WebGLBuffer
    29. WebGLContextEvent
    30. WebGLFramebuffer
    31. WebGLObject Experimental
    32. WebGLProgram
    33. WebGLQuery
    34. WebGLRenderbuffer
    35. WebGLRenderingContext
    36. WebGLSampler
    37. WebGLShader
    38. WebGLShaderPrecisionFormat
    39. WebGLSync
    40. WebGLTexture
    41. WebGLTransformFeedback
    42. WebGLUniformLocation
    43. WebGLVertexArrayObject
  5. Guides
    1. WebGL constants
    2. WebGL types
    3. WebGL model view projection
    4. WebGL best practices
    5. WebGL by example
    6. A basic 2D WebGL animation example
    7. Compressed texture formats
    8. Data in WebGL
    9. Matrix math for the web
    10. Using WebGL extensions
  6. Tutorial
    1. WebGL tutorial
    2. Getting started with WebGL
    3. Adding 2D content to a WebGL context
    4. Using shaders to apply color in WebGL
    5. Animating objects with WebGL
    6. Creating 3D objects using WebGL
    7. Using textures in WebGL
    8. Lighting in WebGL
    9. Animating textures in WebGL
In this article WebGLActiveInfo: size property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Note: This feature is available in Web Workers.

The read-only WebGLActiveInfo.size property is a Number representing the size of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

Examples

js

const activeAttrib = gl.getActiveAttrib(program, index);
activeAttrib.size;

const activeUniform = gl.getActiveUniform(program, index);
activeUniform.size;
Specifications Specification WebGL Specification
# DOM-WebGLActiveInfo-size
Browser compatibility See also Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Sep 28, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4