Skip to content

Conversation

@Vipitis
Copy link
Contributor

@Vipitis Vipitis commented Nov 16, 2025

Noticed that this is allowed in the .idl and also in the wgpu.GPUBindGroupEntry struct.

Changed the cube example to confirm it works (and tested the cube example code from rendercanvas, to confirm old approach still works as this is valid too).

I used the buffer.size property which should be correct... although WHOLE size is mean as a default in the BufferBinding struct (couple lines below).

.gitignore changes because I had a local docs gallery built from different branch.

@Vipitis Vipitis requested a review from Korijn as a code owner November 16, 2025 23:24
Copy link
Member

@almarklein almarklein left a comment

Choose a reason for hiding this comment

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

Nice!

@almarklein
Copy link
Member

cc @Korijn

@almarklein almarklein enabled auto-merge (squash) November 24, 2025 11:43
@almarklein almarklein merged commit 4c046a9 into pygfx:main Nov 24, 2025
19 checks passed
@Vipitis Vipitis deleted the buffer-resource branch November 24, 2025 11:50
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.

3 participants