iv::Text Class Reference
Basic text element, needs to be supplied font path. More...
#include <Text.hpp>
Public Attributes | |
ClientMarker | cm |
DirtyAttr< std::string > | attr_text |
DirtyAttr< ResourcePath > | attr_font |
DirtyAttr< float > | attr_fontSize |
DirtyAttr< float4 > | attr_color |
Public Attributes inherited from iv::Elem | |
ClientMarker | cm |
DirtyAttr< bool > | attr_enabled |
DirtyAttr< float4x4 > | modelTransform |
DirtyAttr< ShaderScissor > | scissor |
Public Attributes inherited from iv::InputNode | |
ClientMarker | cm |
Public Attributes inherited from iv::TextSegment | |
ClientMarker | cm |
bool | geometry_dirty |
DirtyAttr< FontMesh::Location > | location |
Public Attributes inherited from iv::TranslucentElem | |
ClientMarker | cm |
DirtyAttr< float4 > | attr_preblend |
Enables blending in fragment shader - blends into a fixed color rather than into the current content of framebuffer. This allows us to emulate blending in static scenes without requiring specific draw order. More... | |
DirtyAttr< bool > | attr_translucent |
Item will be drawn as translucent - enables blending and draws after all opaque elements sorted by depth with other translucent objects. More... | |
Protected Member Functions | |
virtual void | first_pass_impl (ElementRenderer *) override |
virtual void | second_pass_impl (ElementRenderer *) override |
Protected Member Functions inherited from iv::Elem | |
virtual void | input_childDisconnect (InputNode *) override |
virtual void | input_eachChild (std::function< void(InputNode *) > const &) override |
Protected Member Functions inherited from iv::InputNode | |
virtual bool | input_trigger_process (InputRoot *root, Input::DeviceKey key) |
virtual void | input_process (InputRoot *root, Input::DeviceKey key, bool &press, bool &real, bool &offspace) |
Detailed Description
Constructor & Destructor Documentation
◆ Text()
Member Function Documentation
◆ status()
void iv::Text::status | ( | iv::TableDebugView * | view | ) |
◆ enabled()
◆ preblend()
◆ translucent()
◆ text()
◆ font()
Text * iv::Text::font | ( | ResourcePath const & | val | ) |
◆ fontSize()
◆ color()
◆ font_DVar()
Text * iv::Text::font_DVar | ( | DVarIdT< ResourcePath > | id | ) |
◆ first_pass_impl()
|
overrideprotectedvirtual |
◆ second_pass_impl()
|
overrideprotectedvirtual |
◆ instance()
Member Data Documentation
◆ cm
ClientMarker iv::Text::cm |
◆ attr_text
◆ attr_font
DirtyAttr< ResourcePath > iv::Text::attr_font |
◆ attr_fontSize
◆ attr_color
The documentation for this class was generated from the following files: