Import line: | GL = imports.gi.GL; |
GIR File: | GL-1.0.gir |
C documentation: | GLuint |
Struct : | uint |
Show / Hide Inherited methods, properties and signals |
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl
Method |
Cogl.texture_new_from_foreign
(uint gl_handle, enum gl_target, uint width, uint height, uint x_pot_waste, uint y_pot_waste, PixelFormat format)
:
void*
Creates a COGL texture based on an existing OpenGL texture; the width, height and format are passed along since it is not always possible to query these from OpenGL.
|