Skip to content

Commit 1aec8ef

Browse files
authored
Merge pull request #12469 from CesiumGS/custom-shader-destroy
Expose CustomShader.prototype.destroy as a public method
2 parents 7f59971 + cff342a commit 1aec8ef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#### Fixes :wrench:
88

9+
- Exposed `CustomShader.prototype.destroy` as a public method. [#12444](https://github.com/CesiumGS/cesium/issues/12444)
910
- Fixed error when there are duplicated points in polygon/polyline geometries with `ArcType.RHUMB` [#12460](https://github.com/CesiumGS/cesium/pull/12460)
1011

1112
## 1.126 - 2025-02-03

packages/engine/Source/Scene/Model/CustomShader.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ CustomShader.prototype.update = function (frameState) {
443443
* @returns {boolean} True if this object was destroyed; otherwise, false.
444444
*
445445
* @see CustomShader#destroy
446-
* @private
447446
*/
448447
CustomShader.prototype.isDestroyed = function () {
449448
return false;
@@ -463,7 +462,6 @@ CustomShader.prototype.isDestroyed = function () {
463462
* customShader = customShader && customShader.destroy();
464463
*
465464
* @see CustomShader#isDestroyed
466-
* @private
467465
*/
468466
CustomShader.prototype.destroy = function () {
469467
this._textureManager = this._textureManager && this._textureManager.destroy();

0 commit comments

Comments
 (0)