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

Add support for repeating texture wrap modes. #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 14, 2024

  1. Add support for repeating texture wrap modes.

    This is a less ambitious version of NiklasEi#216 that should be ready to go. It
    changes `#[image(sampler = linear)]` and `#[image(sampler = nearest)]`
    to `#[image(sampler(filter = linear))]` and `#[image(sampler(filter =
    nearest))]` respectively. The `sampler` list also supports `repeat` and
    `clamp` modes. So, for example, you can write `#[image(sampler(filter =
    linear, repeat)]` or `#[image(sampler(repeat))]`.
    
    Closes NiklasEi#235.
    pcwalton committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6139be0 View commit details
    Browse the repository at this point in the history