Skip to main content

MAX_UNIFORM_AND_ATTRIBUTE_LEN

Constant MAX_UNIFORM_AND_ATTRIBUTE_LEN 

Source
pub(crate) const MAX_UNIFORM_AND_ATTRIBUTE_LEN: Utf8CodeUnits;
Expand description

https://registry.khronos.org/webgl/specs/latest/1.0/#6.20

WebGL requires support of tokens up to 256 characters in length. Shaders containing tokens longer than 256 characters must fail to compile.

FIXME: how is “character” defined here? Should this be Utf32CodeUnits instead?