Skip to content

Uniforms: Support buffer protocol#2463

Merged
einarf merged 1 commit intodevelopmentfrom
bufferproto-uniforms
Nov 24, 2024
Merged

Uniforms: Support buffer protocol#2463
einarf merged 1 commit intodevelopmentfrom
bufferproto-uniforms

Conversation

@einarf
Copy link
Member

@einarf einarf commented Nov 24, 2024

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