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

Asset Type of Resource Loader Use String #520

Merged
merged 2 commits into from
Oct 12, 2021
Merged

Conversation

gz65555
Copy link
Collaborator

@gz65555 gz65555 commented Sep 26, 2021

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

use string replace AssetType to extend easily.

@gz65555 gz65555 linked an issue Sep 26, 2021 that may be closed by this pull request
@gz65555 gz65555 added the engineering Engineering problems label Sep 26, 2021
@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2021

Codecov Report

Merging #520 (4fbeac2) into main (aea4277) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #520   +/-   ##
=======================================
  Coverage   48.04%   48.04%           
=======================================
  Files         349      349           
  Lines       18973    18973           
  Branches     2546     2548    +2     
=======================================
  Hits         9115     9115           
  Misses       9858     9858           
Impacted Files Coverage Δ
packages/core/src/asset/ResourceManager.ts 91.95% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aea4277...4fbeac2. Read the comment docs.

Copy link
Member

@GuoLei1990 GuoLei1990 left a comment

Choose a reason for hiding this comment

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

+1

@GuoLei1990 GuoLei1990 merged commit 365219c into galacean:main Oct 12, 2021
GuoLei1990 added a commit that referenced this pull request Nov 11, 2021
* feat: solve math design circular dependency (#485)

* feat: solve math design cirular dependency

* Revert "feat: solve math design circular dependency (#485)" (#487)

This reverts commit df25f03.

* feat: add rotateAxisAngle for Quaternion (#480)

* feat: add rotateAxisAngle for Quaternion

* refactor: delete useless scene raycast (#493)

* fix: group other uniform block (#504)

* fix(primitivemesh): fix cylinder error (#526)

* Perf: release gpu command (#503)

* perf: release viewport gpu command

* perf: release clearColor gpu command

* fix: reset clipTime (#530)

* fix: reset clipTime

* fix: use string replace asset type to extend easily (#520)

* Fix/animator (#531)

* fix: animator bug

* Update README.md

* Fix: cubic interpolation and crossfade bug: From fixed pose to dest pose, throw error. (#534)

* fix: Animator bug

* v0.5.3

* v0.5.4

* v0.5.5

* v0.5.6

* fix(2d): opt shader precision (#542)

* fix: delete default gl state (#550)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix(gl): fix gl error (#555)

* v0.5.7

* Fix Call EndRender Error (#563)

* fix: onEndRender trigger error

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* Update README.md

* Update README.md

* Update README.md

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

* Merge dev/0.6 branch (#574)

* feat: solve math design circular dependency (#488)

* feat: solve math design cirular dependency

* PhysX based raycast and collider (#505)

* feat: add physx version raycast and trigger
* feat: add  trigger event in script

* feat: Add InputManager (#497)

* feat:  add InputManager

* Fix InputManager's Bug which will be triggered when there is no physics engine. (#524)

* fix:InputManager modify timing

* Lite Physics Package (#522)

* feat: add physics lite package

* Refactor: split pbr shader  (#514)

* refactor: pbr shader clean up

* feat: add createCapsule in PrimitiveMesh (#515)

* feat: add createCapsule in PrimitiveMesh

* Feat: support read/write mipmap data from textures and render target (#382)

* feat: support render to mip level

* feat: support reading from texture with mip level

* Feat: hdr runtime (#523)

* feat: support IBL  HDR Specular

* perf: plane horizontal default (#535)

* perf(plane): plane horizontal default

* fix(plane): fix cull face (#537)

* fix(plane): fix uv error (#538)

* feat: add more uv channel and color (#548)

* Feat: Sprite add clone function. (#532)

* feat: sprite add clone function

* Add color space (#543)

* feat: add engine settings

* fix: opt code (#519)

* feat: modify physics-related class for editor (#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (#553)

* refactor: merge main to dev/0.6

* fix: bump verison (#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (#552)

* feat: add `StateMachineScript`

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>

* v0.6.0-alpha.0

* refactor: fix physics package.json

* refactor: fix physics package.json (#575)

* v0.6.0-alpha.1

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: Hu Song <gz65555@gmail.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: AZhan <njktsmshh@163.com>
luzhuang pushed a commit to luzhuang/engine that referenced this pull request Sep 6, 2022
@gz65555 gz65555 added the resource Resource-related functions label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Engineering problems resource Resource-related functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lint error of resourceLoader decorator
3 participants