ReadonlyformatOpenGL pixel format, such as GL_RGBA. Zero for a borrowed texture.
ReadonlyframeOpaque identity of this frame.
ReadonlygenerationSession generation that produced this frame.
ReadonlyheightPhysical OpenGL texture height in device pixels.
ReadonlyinternalOpenGL internal format, such as GL_RGBA8. Zero for a borrowed texture, whose format the host chose.
ReadonlyscaleUI-to-device pixel scale used for this frame.
ReadonlyslotRing slot that holds this frame. For a borrowed target, the index of its texture in the descriptor's textures array.
ReadonlytargetOpenGL texture target. GL_TEXTURE_2D is the expected target.
ReadonlytextureBorrowed OpenGL texture object name. Valid until frame release.
ReadonlytypeOpenGL pixel type, such as GL_UNSIGNED_BYTE. Zero for a borrowed texture.
ReadonlywidthPhysical OpenGL texture width in device pixels.
OpenGL frame acquired from a texture ring.
See
mln_opengl_texture_framein the C API reference.