mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-06 19:39:56 -05:00
Add Lua functions to print cluster id (closes #704)
This commit is contained in:
@@ -65,6 +65,7 @@ public:
|
||||
bool hasGuiWindow() const override;
|
||||
bool isGuiWindow() const override;
|
||||
bool isMaster() const override;
|
||||
int clusterId() const override;
|
||||
bool isUsingSwapGroups() const override;
|
||||
bool isSwapGroupMaster() const override;
|
||||
|
||||
|
||||
@@ -207,6 +207,13 @@ public:
|
||||
*/
|
||||
virtual bool isMaster() const;
|
||||
|
||||
/**
|
||||
* Returns the unique identifier of this OpenSpace instance within the current cluster
|
||||
* configuration. If this instance is not part of a cluster, this value is always 0.
|
||||
* \return The cluster identifier of this OpenSpace instance
|
||||
*/
|
||||
virtual int clusterId() const;
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if the current rendering window is using swap groups.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user