InlineAtlasTexture.kl

Types

InlineDrawingBase (object)

バージョン 1.12.0 で追加.

The InlineDrawingBase is used to perform direct rendering to the viewport. This KL object is inherited by the OGLInlineDrawing type for specialized OpenGL direct rendering. The InlineDrawingBase manages a minimalistic scene using the InlineTransform, as well as InlineShader and InlineShape objects.

Methods

  InlineDrawingBase ( in InlineDrawingBase other )
  InlineDrawingBase ()
InlineDrawingBase clone ? ()
  deregisterCallback ! ( in InlineDrawingCallback callback )
InlineDrawingCallback[] getCallbacks ? ()
String getName ? ()
Ref<InlineTexture> getOrCreateAtlasTexture ! ( in FilePath fontPath, in UInt32 fontSize )
InlineTransform getRoot ? ()
InlineShader getShader ? ( in Index index )
InlineShader getShader ? ( in String name )
Size getShaderCount ? ()
Integer getShaderIndex ? ( in String name )
InlineShape getShape ? ( in Index index )
InlineShape getShape ? ( in String name )
InlineShapeAdaptor getShapeAdaptor ? ( in Index index )
InlineShapeAdaptor getShapeAdaptor ? ( in String shapeType )
Integer getShapeAdaptorIndex ? ( in String shapeType )
Size getShapeCount ? ()
Integer getShapeIndex ? ( in String name )
InlineTexture getTexture ? ( in Index index )
InlineTexture getTexture ? ( in String name )
InlineTextureAdaptor getTextureAdaptor ? ( in Index index )
InlineTextureAdaptor getTextureAdaptor ? ( in String textureType )
Integer getTextureAdaptorIndex ? ( in String textureType )
Size getTextureCount ? ()
Integer getTextureIndex ? ( in String name )
InlineTransformAdaptor getTransformAdaptor ? ( in Index index )
InlineTransformAdaptor getTransformAdaptor ? ( in String transformType )
Integer getTransformAdaptorIndex ? ( in String transformType )
Viewport getViewport ? ( in String key )
Boolean hasShader ? ( in String name )
Boolean hasShape ? ( in String name )
Boolean hasTexture ? ( in String name )
  registerCallback ! ( in InlineDrawingCallback callback )
InlineShader registerShader ! ( in InlineShader shader )
InlineShader registerShader ! ( in Type shaderType )
InlineShape registerShape ! ( in InlineShapeBase shape )
  registerShapeAdaptor ! ( in InlineShapeAdaptor adaptor )
InlineTexture registerTexture ! ( in InlineTexture texture )
  registerTextureAdaptor ! ( in InlineTextureAdaptor adaptor )
  registerTransformAdaptor ! ( in InlineTransformAdaptor adaptor )
  registerViewport ! ( in String key, in Viewport viewport )
Boolean unregisterShape ! ( in String name )

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.

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 ? ()