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

Appearance settings

Uniforms: Support buffer protocol#2463

Merged
einarf merged 1 commit into
developmentpythonarcade/arcade:developmentfrom
bufferproto-uniformspythonarcade/arcade:bufferproto-uniformsCopy head branch name to clipboard
Nov 24, 2024
Merged

Uniforms: Support buffer protocol#2463
einarf merged 1 commit into
developmentpythonarcade/arcade:developmentfrom
bufferproto-uniformspythonarcade/arcade:bufferproto-uniformsCopy head branch name to clipboard

Conversation

@einarf

@einarf einarf commented Nov 24, 2024

Copy link
Copy Markdown
Member

Support for buffer protocol for matrix and vector uniforms, More types should be supported later.

program["matrix"] = glm.mat4()
program["vector"] = glm.vec3()

@einarf einarf merged commit 7cde3bc into development Nov 24, 2024
@einarf einarf deleted the bufferproto-uniforms branch November 24, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.