-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`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.
- Loading branch information
Showing
3 changed files
with
117 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters