Cogl.FeatureFlags
Flags for the supported features.
Since 0.8
- FeatureFlags.TEXTURE_RECTANGLE
ARB_texture_rectangle support
- FeatureFlags.TEXTURE_NPOT
Non power of two textures are supported by the hardware. This is a equivalent to the Cogl.FeatureFlags.texture_npot_basic, Cogl.FeatureFlags.texture_npot_mipmap and Cogl.FeatureFlags.texture_npot_repeat features combined.
- FeatureFlags.TEXTURE_YUV
ycbcr conversion support
- FeatureFlags.TEXTURE_READ_PIXELS
glReadPixels() support
- FeatureFlags.SHADERS_GLSL
GLSL support
- FeatureFlags.OFFSCREEN
FBO support
- FeatureFlags.OFFSCREEN_MULTISAMPLE
Multisample support on FBOs
- FeatureFlags.OFFSCREEN_BLIT
Blit support on FBOs
- FeatureFlags.FOUR_CLIP_PLANES
At least 4 clip planes available
- FeatureFlags.STENCIL_BUFFER
Stencil buffer support
- FeatureFlags.VBOS
VBO support
- FeatureFlags.PBOS
PBO support
- FeatureFlags.UNSIGNED_INT_INDICES
Set if Cogl.IndicesType.int is supported in cogl_vertex_buffer_indices_new().
- FeatureFlags.DEPTH_RANGE
cogl_material_set_depth_range() support
- FeatureFlags.TEXTURE_NPOT_BASIC
The hardware supports non power of two textures, but you also need to check the Cogl.FeatureFlags.texture_npot_mipmap and Cogl.FeatureFlags.texture_npot_repeat features to know if the hardware supports npot texture mipmaps or repeat modes other than Cogl.PipelineWrapMode.clamp_to_edge respectively.
- FeatureFlags.TEXTURE_NPOT_MIPMAP
Mipmapping is supported in conjuntion with non power of two textures.
- FeatureFlags.TEXTURE_NPOT_REPEAT
Repeat modes other than Cogl.PipelineWrapMode.clamp_to_edge are supported by the hardware.
- FeatureFlags.POINT_SPRITE
Whether cogl_material_set_layer_point_sprite_coords_enabled() is supported.
- FeatureFlags.TEXTURE_3D
3D texture support
- FeatureFlags.SHADERS_ARBFP
ARBFP support
- FeatureFlags.MAP_BUFFER_FOR_READ
Whether Cogl.buffer_map is supported with CoglBufferAccess including read support.
- FeatureFlags.MAP_BUFFER_FOR_WRITE
Whether Cogl.buffer_map is supported with CoglBufferAccess including write support.
- FeatureFlags.ONSCREEN_MULTIPLE
- FeatureFlags.DEPTH_TEXTURE
Whether Cogl.Framebuffer support rendering the depth buffer to a texture.