InlineAtlasTexture (object)

バージョン 2.4.0 で追加.

The InlineAtlasTexture uses an AtlasGL to load a texture from it. For performances and memory reasons, the same texture should be shared. For this purpose, the texture can be registered in InlineDrawing using the getOrCreateAtlasTexture function. The name of the texture is created from the font path and size.

参考

AtlasGL.

InlineAtlasTexture InlineAtlasTexture InlineAtlasTexture InlineTexture InlineTexture InlineAtlasTexture->InlineTexture InlineEntityBase InlineEntityBase InlineTexture->InlineEntityBase InlineEntity InlineEntity InlineEntityBase->InlineEntity

Members

Ref<AtlasGL> atlas Reference to an AtlasGL

Methods

  InlineAtlasTexture ( in InlineAtlasTexture other )
  InlineAtlasTexture ( in Ref<AtlasGL> atlas, in String name )
  InlineAtlasTexture ()
InlineAtlasTexture clone ? ()
Ref<AtlasGL> getAtlas ? ()

Methods in detail

InlineAtlasTexture ( in InlineAtlasTexture other )

copy constructor


InlineAtlasTexture ( in Ref<AtlasGL> atlas, in String name )

Constructs an InlineAtlasTexture

Reference to an AtlasGL


InlineAtlasTexture ()

default constructor


InlineAtlasTexture InlineAtlasTexture.clone? ()

clone method


Ref<AtlasGL> InlineAtlasTexture.getAtlas? ()

Gets a reference to an AtlasGL