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

*Texture3dMipmap and *Texture1dMipmap do not have the write method #2058

Open
McArdellje opened this issue May 9, 2023 · 0 comments
Open

Comments

@McArdellje
Copy link

Non-2d texture mipmaps lack a method similar to write for the 2D mip maps that runs the respective glTexSubImage*D methods on them (the ones on the 2D textures map to glTexSubImage2D internally).
The 1D and 3D mipmaps should also have a similar method mapping to glTexSubImage1D and glTexSubImage3D respectively.
Without this you have to use raw_upload_from_pixel_buffer which requires uploading the data to the GPU and then copying it into the texture, which is obviously going to be slower than copying the data directly into the texture.

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

No branches or pull requests

1 participant