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

Ability to create a buffer with data #212

Open
kvark opened this issue Dec 4, 2024 · 0 comments
Open

Ability to create a buffer with data #212

kvark opened this issue Dec 4, 2024 · 0 comments
Labels
type: feature New feature or request

Comments

@kvark
Copy link
Owner

kvark commented Dec 4, 2024

It could be very convenient, e.g. when loading a model from GLTF, to create a buffer and provide data, without carrying around a command encoder and keeping track of temporary buffers.

Support-wise, it's already built into Metal and OpenGL. However, on Vulkan we'd need to have a mechanism for "internal submission".
The other downside is that this path will never be optimal on Vulkan: ideal scenario would have the user filling out a mapped region of data instead of providing a CPU pointer to start with.

Status: in consideration

@kvark kvark added the type: feature New feature or request label Dec 4, 2024
@kvark kvark changed the title Ability to create buffer with data Ability to create a buffer with data Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant