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

A function to update a vertex buffer using the contents of a regular buffer #3747

Open
iampremo opened this issue Jun 6, 2023 · 1 comment
Labels
feature request New feature (or a request for one) import An issue imported from the old database

Comments

@iampremo
Copy link
Member

iampremo commented Jun 6, 2023

Feature Type: feat_addition_ingame
Description: A function that copies the contents of a regular buffer to an existing vertex buffer. Although vertex_create_buffer_from_buffer() already exists, it creates a new buffer every time.
Benefit: We need to frequently and efficiently update vertex buffers with vertex data generated by a native extension. We would like to avoid the overhead of reading and copying attribute values manually through many function calls in GML, or deleting and creating a new vertex buffer every time.
Link:
 
 

@DragoniteSpam
Copy link

Probably safe to close this now since that's now been added in 2023.11

@iampremo iampremo transferred this issue from another repository Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature (or a request for one) import An issue imported from the old database
Projects
Status: No status
Development

No branches or pull requests

2 participants