Skip to content
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

update spine #12

Merged
merged 4 commits into from
Jun 16, 2023
Merged

update spine #12

merged 4 commits into from
Jun 16, 2023

Conversation

zhakesi
Copy link

@zhakesi zhakesi commented Jun 16, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Jun 16, 2023

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -50505,9 +50505,10 @@
                 setJitterEffect(jitter: spine.VertexEffect);
                 setSwirlEffect(swirl: spine.VertexEffect);
                 updateRenderData();
                 setListener(id: number, type: number);
-                static getCurrentEvent(): Event;
+                setDebugMode(debug: boolean);
+                getDebugShapes();
             }
             export class wasmUtil {
                 static spineWasmInit(): void;
                 static spineWasmDestroy(): void;
@@ -50521,9 +50522,9 @@
                 static getCurrentListenerID(): number;
                 static getCurrentEventType(): EventType;
                 static getCurrentTrackEntry(): TrackEntry;
                 static getCurrentEvent(): Event;
-                static HEAPU8: Uint8Array;
+                static wasm: any;
             }
         }
         /**
          * @internal Since v3.7.2, this is an engine private type.
@@ -50718,12 +50719,8 @@
             protected _accTime: number;
             protected _playCount: number;
             protected _skeletonCache: __private._cocos_spine_skeleton_cache__SkeletonCache | null;
             protected _animCache: __private._cocos_spine_skeleton_cache__AnimationCache | null;
-            /**
-             * @internal
-             */
-            _curFrame: __private._cocos_spine_skeleton_cache__AnimationFrame | null;
             protected _needUpdateSkeltonData: boolean;
             protected _listener: __private._cocos_spine_track_entry_listeners__TrackEntryListeners | null;
             constructor();
             /**
@@ -50893,12 +50890,8 @@
              */
             updateAnimation(dt: number): void;
             protected _flushAssembler(): void;
             protected _render(batcher: UI): void;
-            /**
-             * @internal
-             */
-            requestDrawData(material: Material, indexOffset: number, indexCount: number): __private._cocos_spine_skeleton__SkeletonDrawData;
             protected _updateBuiltinMaterial(): Material;
             protected _updateAnimEnum(): void;
             protected _updateSkinEnum(): void;
             protected _refreshInspector(): void;

@@ -256,6 +256,11 @@ export class Skeleton extends UIRenderer {
protected _needUpdateSkeltonData = true;
protected _listener: TrackEntryListeners | null = null;

/**
* @internal
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @internal
* @engineInternal

@PPpro PPpro merged commit f7ada9d into PPpro:380-spine Jun 16, 2023
5 checks passed
@github-actions
Copy link

@zhakesi ❗ There was an error during the execution of the tasks. Please check the logs for more details.

PPpro pushed a commit that referenced this pull request Jun 18, 2023
* support debug renderer

* fix cached mode update color

* enable Batch mode

* fix engineInternal
PPpro pushed a commit that referenced this pull request Jun 18, 2023
* support debug renderer

* fix cached mode update color

* enable Batch mode

* fix engineInternal
PPpro added a commit that referenced this pull request Jun 19, 2023
…#15469)

* optimize: load spine asm.js module with js.mem

* update spine (#12)

* support debug renderer

* fix cached mode update color

* enable Batch mode

* fix engineInternal

* fix ESLint

---------

Co-authored-by: zhakesi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants