Gjsify LogoGjsify Logo

Hierarchy

  • MetaTextureCallback

Callable

  • MetaTextureCallback(subTexture: Cogl.Texture, subTextureCoords: number, metaCoords: number): void
  • A callback used with cogl_meta_texture_foreach_in_region() to retrieve details of all the low-level #CoglTextures that make up a given #CoglMetaTexture.

    Parameters

    • subTexture: Cogl.Texture

      A low-level #CoglTexture making up part of a #CoglMetaTexture.

    • subTextureCoords: number

      A float 4-tuple ordered like (tx1,ty1,tx2,ty2) defining what region of the current sub_texture maps to a sub-region of a #CoglMetaTexture. (tx1,ty1) is the top-left sub-region coordinate and (tx2,ty2) is the bottom-right. These are low-level texture coordinates.

    • metaCoords: number

      A float 4-tuple ordered like (tx1,ty1,tx2,ty2) defining what sub-region of a #CoglMetaTexture this low-level sub_texture maps too. (tx1,ty1) is the top-left sub-region coordinate and (tx2,ty2) is the bottom-right. These are high-level meta-texture coordinates.

    Returns void

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