-
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1091] create new global constants for Application and later other c…
…lasses
- Loading branch information
Showing
4 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* constant to select the HTML5 Canvas renderer | ||
* @type {number} | ||
* @static | ||
* @see Application | ||
*/ | ||
export const CANVAS = 0; | ||
|
||
/** | ||
* constant to select select the WebGL renderer | ||
* @type {number} | ||
* @static | ||
* @see Application | ||
*/ | ||
export const WEBGL = 1; | ||
|
||
/** | ||
* constant to auto-select the renderer (Attempt WebGL first, with fallback to Canvas) | ||
* @static | ||
* @type (number) | ||
* @see Application | ||
*/ | ||
export const AUTO = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters