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

Implement texture filtering #272

Open
bvssvni opened this issue Dec 6, 2015 · 3 comments
Open

Implement texture filtering #272

bvssvni opened this issue Dec 6, 2015 · 3 comments
Labels

Comments

@bvssvni
Copy link
Member

bvssvni commented Dec 6, 2015

Depends on PistonDevelopers/texture#32.

@bvssvni bvssvni added the draft label Dec 6, 2015
@bvssvni
Copy link
Member Author

bvssvni commented Dec 6, 2015

Seems SamplerInfo is read-only https://gfx-rs.github.io/gfx/gfx/device/handle/struct.Sampler.html.

Could be related to gfx-rs/gfx#311.

@kvark
Copy link
Member

kvark commented Dec 7, 2015

You'd need to create a different Sampler for a different filtering mode, so SamplerInfo is immutable by design. For binding, a TextureParam = (handle::Texture, Option<handle::Sampler>), so you can mix and match them at run time.

@nanotech
Copy link
Contributor

nanotech commented Nov 1, 2016

This is partially fixed by #309 and PistonDevelopers/gfx_texture/pull/89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants