Function

GstGL-1.0GstGLgl_format_type_n_bytes

  • Parameters

    • format: number

      the OpenGL format, GL_RGBA, GL_LUMINANCE, etc

    • type: number

      the OpenGL type, GL_UNSIGNED_BYTE, GL_FLOAT, etc

    Returns number

    the number of bytes the specified format, type combination takes per pixel