Gjsify LogoGjsify Logo

Hierarchy

  • MaterialLayer

Index

Constructors

Properties

name: string

Methods

  • get_texture(): object
  • Extracts a texture handle for a specific layer.

    In the future Cogl may support purely GLSL based layers; for those layers this function which will likely return %COGL_INVALID_HANDLE if you try to get the texture handle from them. Considering this scenario, you should call cogl_material_layer_get_type() first in order check it is of type %COGL_MATERIAL_LAYER_TYPE_TEXTURE before calling this function.

    Returns object

  • Retrieves the type of the layer

    Currently there is only one type of layer defined: %COGL_MATERIAL_LAYER_TYPE_TEXTURE, but considering we may add purely GLSL based layers in the future, you should write code that checks the type first.

    Returns Cogl.MaterialLayerType

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