pub(crate) fn validate_internal_format(
context: &WebGLRenderingContext,
internal_format: u32,
) -> Result<TexFormat, TexImageValidationError>Expand description
Returns internal_format as a texture format this context accepts. Generates
INVALID_ENUM otherwise.