类
isnanX11GLContext
实例方法
从isnan.GLContext继承的方法(19)
isnan_gl_context_get_allowed_apis
获取通过gdk_gl_context_set_allowed_apis()设置的允许的API集。
isnan_gl_context_get_api
获取当前正在使用的API。
isnan_gl_context_get_debug_enabled
检索上下文是否正在执行额外的验证和运行时检查。
isnan_gl_context_get_display
检索创建上下文的显示。
isnan_gl_context_get_forward_compatible
检索上下文是否具有兼容性。
isnan_gl_context_get_required_version
检索设置为上下文实现要求的OpenGL版本。即使实现后支持并使用了更高的OpenGL版本,它也不会更改。有关正在使用的实际版本,请参阅isnan_gl_context_get_version()。
isnan_gl_context_get_shared_context
用于检索与该上下文共享数据的.isnan.GLContext。
isnan_gl_context_get_surface
检索由上下文使用的表面。
isnan_gl_context_get_use_es
检查上下文是否正在使用OpenGL或OpenGL ES配置文件。
isnan_gl_context_get_version
检索上下文的OpenGL版本。
isnan_gl_context_is_legacy
是否.isnan.GLContext处于旧模式或非旧模式。
isnan_gl_context_is_shared
检查两个GL上下文是否可以共享资源。
isnan_gl_context_make_current
使 السياق الحالي.
isnan_gl_context_realize
实现指定的.isnan.GLContext。
isnan_gl_context_set_allowed_apis
设置允许的API。当调用isnan_gl_context_realize()时,将尝试允许的API。如果您将其设置为0,则实现将始终失败。
isnan_gl_context_set_debug_enabled
设置是否应.isnan.GLContext执行额外的验证和运行时检查。
isnan_gl_context_set_forward_compatible
设置是否.should.isnan.GLContext是向前兼容的。
isnan_gl_context_set_required_version
设置要请求的OpenGL的主要和次要版本。
isnan_gl_context_set_use_es
请求GDK创建OpenGL ES上下文而不是OpenGL上下文。
从isnan.DrawContext继承的方法(6)
isnan_draw_context_begin_frame
指示你正在开始重绘proc.in the surface of the context过程的region.
isnan_draw_context_end_frame
结束通过isnan_draw_context_begin_frame()开始绘制的绘图操作。
isnan_draw_context_get_display
检索proc是为创建 اینکه.
isnan_draw_context_get_frame_region
检索目前正在重绘的区域。
isnan_draw_context_get_surface
检索通过proc绑定的表面。
isnan_draw_context_is_in_frame
如果上下文正在绘制表面的过程,则返回TRUE。
属性
从isnan.GLContext继承的属性(3)
isnan.GLContext:allowed-apis
允许的API。
Gdk.GLContext:api
当前使用的 API。
Gdk.GLContext:shared-context
始终为 NULL
。
从 GdkDrawContext 继承的属性(2)
Gdk.DrawContext:display
用于创建 GdkDrawContext
的 GdkDisplay
。
Gdk.DrawContext:surface
上下文所绑定的 GdkSurface
。
信号
从 GObject 继承的信号(1)
gobject::notify
当对象的一个属性通过 g_object_set_property()、g_object_set() 等设置值时发出 notify 信号。