Gjsify LogoGjsify Logo

Flags for the supported features.

bitfield

Index

Enumeration Members

DEPTH_RANGE: number

cogl_material_set_depth_range() support

DEPTH_TEXTURE: number

Whether #CoglFramebuffer support rendering the depth buffer to a texture.

FOUR_CLIP_PLANES: number

At least 4 clip planes available

MAP_BUFFER_FOR_READ: number

Whether cogl_buffer_map() is supported with CoglBufferAccess including read support.

MAP_BUFFER_FOR_WRITE: number

Whether cogl_buffer_map() is supported with CoglBufferAccess including write support.

OFFSCREEN: number

FBO support

OFFSCREEN_BLIT: number

Blit support on FBOs

OFFSCREEN_MULTISAMPLE: number

Multisample support on FBOs

ONSCREEN_MULTIPLE: number
PBOS: number

PBO support

POINT_SPRITE: number

Whether cogl_material_set_layer_point_sprite_coords_enabled() is supported.

SHADERS_ARBFP: number

ARBFP support

SHADERS_GLSL: number

GLSL support

STENCIL_BUFFER: number

Stencil buffer support

TEXTURE_3D: number

3D texture support

TEXTURE_NPOT: number

Non power of two textures are supported by the hardware. This is a equivalent to the %COGL_FEATURE_TEXTURE_NPOT_BASIC, %COGL_FEATURE_TEXTURE_NPOT_MIPMAP and %COGL_FEATURE_TEXTURE_NPOT_REPEAT features combined.

TEXTURE_NPOT_BASIC: number

The hardware supports non power of two textures, but you also need to check the %COGL_FEATURE_TEXTURE_NPOT_MIPMAP and %COGL_FEATURE_TEXTURE_NPOT_REPEAT features to know if the hardware supports npot texture mipmaps or repeat modes other than %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE respectively.

TEXTURE_NPOT_MIPMAP: number

Mipmapping is supported in conjuntion with non power of two textures.

TEXTURE_NPOT_REPEAT: number

Repeat modes other than %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE are supported by the hardware.

TEXTURE_READ_PIXELS: number

glReadPixels() support

TEXTURE_RECTANGLE: number

ARB_texture_rectangle support

TEXTURE_YUV: number

ycbcr conversion support

UNSIGNED_INT_INDICES: number

Set if %COGL_INDICES_TYPE_UNSIGNED_INT is supported in cogl_vertex_buffer_indices_new().

VBOS: number

VBO support

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method