diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-12-08 22:11:26 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-12-08 22:11:26 +0000 |
| commit | 988e505ba4c2f6dac6c8cc419098d8f0e32c2976 (patch) | |
| tree | 2c9113bf02cf38dd7de125a43397da548b05c38f /Graphics | |
| parent | Reworked DynamicAtlasManager to use tree of regions (diff) | |
| download | DiligentCore-988e505ba4c2f6dac6c8cc419098d8f0e32c2976.tar.gz DiligentCore-988e505ba4c2f6dac6c8cc419098d8f0e32c2976.zip | |
DynamicAtlasManager: some cosmetic improvements
Diffstat (limited to 'Graphics')
| -rw-r--r-- | Graphics/GraphicsAccessories/interface/DynamicAtlasManager.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Graphics/GraphicsAccessories/interface/DynamicAtlasManager.hpp b/Graphics/GraphicsAccessories/interface/DynamicAtlasManager.hpp index 64867825..2ff823e8 100644 --- a/Graphics/GraphicsAccessories/interface/DynamicAtlasManager.hpp +++ b/Graphics/GraphicsAccessories/interface/DynamicAtlasManager.hpp @@ -175,6 +175,11 @@ private: return NumChildren != 0; } + Uint32 GetNumChildren() const + { + return NumChildren; + } + const Node& Child(Uint32 i) const { VERIFY_EXPR(i < NumChildren); @@ -186,12 +191,6 @@ private: return Children[i]; } - - Uint32 GetNumChildren() const - { - return NumChildren; - } - template <typename ProcessChildType> void ProcessChildren(ProcessChildType ProcessChild) const { |
