-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[lang] Texture support #5109
Labels
feature request
Suggest an idea on this project
Comments
This was referenced Jun 8, 2022
This was referenced Jun 10, 2022
Update: 06/30 Oops, OpenGL is also supported. Note that we are only supporting texture on Vulkan backend as a start. |
This was referenced Jun 29, 2022
Will compressed format texture supported in the future?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We wish to support hardware texture & image load-store. In the JIT mode (Python), we will provide a new class called
Texture
You can create a texture, transfer data from a PIL image, numpy array, or NDArray (or other potential in-memory image formats), and the textures can be passed into Taichi kernels for use.
Initially we will support:
textureGrad
)texelFetch
)textureGather
)Future plans:
isamplerND
/usamplerND
in GLSL)sampler2DArray
)The text was updated successfully, but these errors were encountered: