-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Billboard transparency #4886
Billboard transparency #4886
Changes from 14 commits
c9a486d
d53b383
2666f40
dd63d01
8347d70
3203985
31066db
9e4b576
c4fc142
a80bd3c
94adb32
f371ecc
5a4345f
19720fa
54b87ab
157b649
79e6800
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/*global define*/ | ||
define([ | ||
'../Core/freezeObject' | ||
], function( | ||
freezeObject) { | ||
'use strict'; | ||
|
||
/** | ||
* Determines how billboards and points are rendered. | ||
* | ||
* @exports BillboardRenderTechnique | ||
*/ | ||
var BillboardRenderTechnique = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that this applies to points and labels as well, I don't think it should have Perhaps throughout, this is better named |
||
/** | ||
* The billboards in the collection are completely opaque. | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
OPAQUE : 0, | ||
|
||
/** | ||
* The billboards in the collection are completely translucent. | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
TRANSLUCENT : 1, | ||
|
||
/** | ||
* The billboards in the collection are both opaque and translucent. | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
OPAQUE_AND_TRANSLUCENT : 2 | ||
}; | ||
|
||
return freezeObject(BillboardRenderTechnique); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update this.