OGL2DTextShader (object)¶
バージョン 2.4.0 で追加.
The OGL2DTextShader inherits the OGLInlineShader. It extends the OGLInlineShader for shading 2D text (screen space).
Attributes¶
| Name | Type | Description |
|---|---|---|
| textVertex | Vec2 | Text vertices |
| texcoord | Vec2 | Texture (atlas) coordinates |
| color | Color | Text color |
| stringPos | Vec3 | Text position (world) |
Methods¶
| OGL2DTextShader ( in OGL2DTextShader other ) | |
| OGL2DTextShader ( in String name ) | |
| OGL2DTextShader () | |
| OGL2DTextShader | clone ? () |
Methods in detail¶
OGL2DTextShader ( in OGL2DTextShader other )
copy constructor
OGL2DTextShader ( in String name )
default constructor taking a name
default constructor
OGL2DTextShader OGL2DTextShader.clone? ()
clone method