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

gles: Define a TextureShaderElement #1560

Merged
merged 1 commit into from
Oct 21, 2024

Commits on Oct 8, 2024

  1. gles: Define a TextureShaderElement

    `GlesFrame` has support for using a custom shader, but there doesn't
    seem to be a particularly convenient way to use this. I'm not sure
    exactly how `override_default_tex_program` would best be used, and it's
    probably not a good way to use a shader for one specific element.
    
    `TextureShaderElement` wraps a `TextureRenderElement` with a shader and
    uniforms. So doesn't have to duplicate the implementation of different
    constructors `TextureRenderElement` provides.
    ids1024 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    d5a3772 View commit details
    Browse the repository at this point in the history