Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added in uint mappings#6768

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bigtimebuddy merged 4 commits intopixijs:devfromMason-Chou:dev-uint-mapping
Aug 18, 2020
Merged

Conversation

Mason-Chou
Copy link
Contributor

Description of change

Added in gl command and type mapping for uint. This is needed as the Typescript compiler will error out if you have a uint uniform in your shaders. See below for the error message.

image

Copy link
Collaborator

@ivanpopelyshevivanpopelyshev left a comment

Choose a reason for hiding this comment

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

I see you continue with hard stuff )

@ivanpopelyshev
Copy link
Collaborator

I'm honored that you understand our WebGL bindings. Its the part where JS is the best , you cant just write those things with same amount of code on strict-typed platforms.

We also make sure that people can customize their WebGL usage, and even make direct calls, like for Texture Resources.

Btw, can you also look if we have to adjustunsafe-eval module? Its used for environments like WeChat when generating code is not possible.generateUniformSync is dynamic there

@Mason-Chou
Copy link
ContributorAuthor

@ivanpopelyshev Will do, probably won't get to it till tomorrow.

@bigtimebuddy
Copy link
Member

For more context on unsafe-eval, see this issue:#5463

Relevant source code:
https://github.com/pixijs/pixi.js/blob/dev/packages/unsafe-eval/src/syncUniforms.ts

@Mason-Chou
Copy link
ContributorAuthor

@ivanpopelyshev@bigtimebuddy

Just got theunsafe-eval package done.

Copy link
Collaborator

@ivanpopelyshevivanpopelyshev left a comment

Choose a reason for hiding this comment

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

Unsafe package looks like lots of CTRL+c, maybe we can generate it with eval().. oh .. right :)

@bigtimebuddybigtimebuddy added this to thev5.4.0 milestoneJul 30, 2020
@bigtimebuddybigtimebuddy merged commit8f7ed76 intopixijs:devAug 18, 2020
@bigtimebuddy
Copy link
Member

Thank you@Mason-Chou!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ivanpopelyshevivanpopelyshevivanpopelyshev approved these changes

@bigtimebuddybigtimebuddybigtimebuddy approved these changes

@BennyhwangggggBennyhwangggggBennyhwanggggg approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v6.0.0
Development

Successfully merging this pull request may close these issues.

4 participants
@Mason-Chou@ivanpopelyshev@bigtimebuddy@Bennyhwanggggg

[8]ページ先頭

©2009-2025 Movatter.jp