OGLText (object)¶
バージョン 2.4.0 で追加.
OGLText specializes BaseTextGL for FabricOGL.
参考
Members¶
| UInt32 | indexSize | Size of the index. |
| UInt32 | vertexSize | Size of the vertex. |
| UInt32 | maxVerticesCount | Number max of vertices per element. |
| UInt32 | elementCount | Number of element to draw. |
| UInt32 | programId | Shader program id. Use to bind the buffers. |
| Ref<AtlasGL> | atlas | Reference to the atlas. Used to add text. |
| UInt32 | attributesCount | Number of GLSL attributes. |
Methods¶
| OGLText ( in OGLText other ) | |
| OGLText ( in Ref<AtlasGL> atlas, in String attributes ) | |
| OGLText ( in UInt32 mode, in String attributes, in UInt32 nbVertices, in UInt32 nbIndices ) | |
| OGLText () | |
| OGLText | clone ? () |
| finishRender ! () | |
| prepareRender ! () |
Methods in detail¶
copy constructor
OGLText ( in Ref<AtlasGL> atlas, in String attributes )
Constructs an OGLText to draw text primitives.
| atlas | Reference to an AtlasGL |
| attributes | GLSL attributes list (as a string) |
OGLText ( in UInt32 mode, in String attributes, in UInt32 nbVertices, in UInt32 nbIndices )
Constructs an OGLText to draw line primitives.
| mode | GL drawing mode (GL_LINES) |
| attributes | GLSL attributes list (as a string) |
| vertexSize | Vertices size |
| indexSize | Indices size |
OGLText ()
default constructor
clone method
OGLText.finishRender! ()
Implementation of Text.
OGLText.prepareRender! ()
Implementation of Text.