WebGLActiveInfo

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.

* Some parts of this feature may have varying levels of support.

Note: This feature is available in Web Workers.

Giao diện WebGLActiveInfo là một phần của WebGL API và đại diện cho thông tin được trả về bởi lệnh gọi các phương thức WebGLRenderingContext.getActiveAttrib()WebGLRenderingContext.getActiveUniform().

Thuộc tính phiên bản

WebGLActiveInfo.name

Tên chỉ đọc của biến được yêu cầu.

WebGLActiveInfo.size

Kích thước chỉ đọc của biến được yêu cầu.

WebGLActiveInfo.type

Loại chỉ đọc của biến được yêu cầu.

Ví dụ

Đối tượng WebGLActiveInfo được trả về bởi:

Thông số kỹ thuật

Specification
WebGL Specification
# 5.11

Tương thích trình duyệt

Xem thêm