Skip to content

Commit 6ecbb36

Browse files
author
Jeshurun Hembd
committed
Expose CustomShader.prototype.destroy as a public method
1 parent 82e59ed commit 6ecbb36

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## 1.127 - 2025-03-03
4+
5+
### @cesium/engine
6+
7+
#### Fixes :wrench:
8+
9+
- Exposed `CustomShader.prototype.destroy` as a public method. [#12444](https://github.com/CesiumGS/cesium/issues/12444)
10+
311
## 1.126 - 2025-02-03
412

513
### @cesium/engine

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)