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

Added extra types for instanced Attribute arrays. #2182

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Archimagus
Copy link
Contributor

Added extra types for instanced attribute arrays.
'float' | 'int' | 'uint' | 'short' | 'ushort' | 'byte'

Why

resolves #2181

What

Adds an optional 'type' parameter to InstancedAttributeProps to allow specifying the data type, defaults to float to preserve backwards compatibility.

Checklist

  • Documentation already mentions type, should be fine like it is?
  • Ready to be merged

'float' | 'int' | 'uint' | 'short' | 'ushort' | 'byte'
Copy link

vercel bot commented Nov 8, 2024

@Archimagus is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codesandbox-ci bot commented Nov 8, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 7:43pm

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.

InstancedAttribute could use additional types to allow shaders more options for attributes
1 participant