OGLGeometryAttributeTextShader.kl¶
Types¶
OGLGeometryAttributeTextShader (object)¶
バージョン 2.4.0 で追加.
The OGLGeometryAttributeTextShader inherits the OGLInlineShader. It extends the OGLInlineShader for shading text of geometry attributes.
Attributes¶
| Name | Type | Description |
|---|---|---|
| textVertex | Vec2 | Text vertices |
| texcoord | Vec2 | Texture (atlas) coordinates |
| color | Color | Text color |
| stringPos | Vec3 | Text position (world) |