Meta_BufferedStack
Module: Metanodes / Definitions
A BufferedStack is a stack that renders its contents into a texture internally to improve performance.
#include <meta_gui.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Enabled, Idx_Position, Idx_SizingMode, Idx_Size, Idx_Direction, Idx_HAlign, Idx_VAlign, Idx_Gap, Idx_Style, Idx_Resolution, Idx_MipmapEnabled } Property index. |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Enabled | bool - When enabled, draws itself and its children | |
| Idx_Position | vec3f - Position of the panel relative to its parent | |
| Idx_SizingMode | SizingMode (int) - How the panel sizes itself in respect to its contents | |
| Idx_Size | vec2f - Size of the panel, when SizingMode==Fixed | |
| Idx_Direction | Direction (int) - The direction to stack the child objects | |
| Idx_HAlign | HAlign (int) - How to align the objects horizontally | |
| Idx_VAlign | VAlign (int) - How to align the objects vertically | |
| Idx_Gap | float - Specifies the gap size between objects (padding) | |
| Idx_Style | link - A Panel style (Meta_ColouredPanelStyle, Meta_GradientPanelStyle, Meta_TexturedPanelStyle) | |
| Idx_Resolution | float Specifies the resolution of the frame buffer object used to render this stack | |
| Idx_MipmapEnabled | bool When enabled, generates mipmaps to improve quality when rendering at smaller sizes |
Property index.