![]() |
HIRO_DRAW
Computer Graphics Structures library
|
Base class for setting rendering style of an arbitrary render object. More...
Public Member Functions | |
| virtual bool | ReadFromStream (std::istream &str) |
| Imports state from stream. | |
| virtual void | WriteToStream (std::ostream &str) |
| Exports state to stream. | |
Data Fields | |
| bool | visible = true |
| Whether the renderer that uses this style should be skipped during the rendering. | |
| cogs::Transform | transform |
| Model transformation applied to the renderer. In shader will appear as MODEL_MATRIX. | |
Protected Member Functions | |
| bool | ReadVersion (std::istream &str, const uint32_t expected_version) |
| Read uint32_t version from stream and check if it is equal to the expected version. | |
Base class for setting rendering style of an arbitrary render object.