pub(crate) fn bound_texture(
context: &WebGLRenderingContext,
target: TexImageTarget,
) -> Result<DomRoot<WebGLTexture>, TexImageValidationError>Expand description
Returns the texture bound to target. Generates INVALID_OPERATION if
none is bound.