Gjsify LogoGjsify Logo

Error enumeration for Cogl

The COGL_SYSTEM_ERROR_UNSUPPORTED error can be thrown for a variety of reasons. For example:

You've tried to use a feature that is not advertised by cogl_has_feature(). This could happen if you create a 2d texture with a non-power-of-two size when %COGL_FEATURE_ID_TEXTURE_NPOT is not advertised. The GPU can not handle the configuration you have requested. An example might be if you try to use too many texture layers in a single #CoglPipeline The driver does not support some configuration.

Currently this is only used by Cogl API marked as experimental so this enum should also be considered experimental.

Index

Enumeration Members

COGL_SYSTEM_ERROR_NO_MEMORY: number

You tried to allocate a resource such as a texture and there wasn't enough memory.

COGL_SYSTEM_ERROR_UNSUPPORTED: number

You tried to use a feature or configuration not currently available.

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