Skip to main content

renderbuffer_format

Function renderbuffer_format 

Source
pub(crate) fn renderbuffer_format(
    context: &WebGLRenderingContext,
    internal_format: u32,
) -> WebGLResult<u32>
Expand description

The format GL allocates for a renderbuffer of internal_format, or InvalidEnum if context cannot render to that format.