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 opaque types #120

Open
davesmith00000 opened this issue Nov 26, 2024 · 0 comments
Open

Add support for opaque types #120

davesmith00000 opened this issue Nov 26, 2024 · 0 comments

Comments

@davesmith00000
Copy link
Member

davesmith00000 commented Nov 26, 2024

Original description: Do opaque types with inline methods/extension methods 'just work', and if not, could we add support for them to make reasoning about complicated shader logic easier, e.g. when converting between multiple spatial representations.

Answer is no! You get this error:

ultraviolet.datatypes.ShaderError$Unsupported: [ultraviolet] Shaders do not support references to 'this'.

So it'll need some work.

@davesmith00000 davesmith00000 added enhancement New feature or request question Further information is requested hack event difficulty: medium labels Nov 26, 2024
@davesmith00000 davesmith00000 changed the title Investigate: Opaque types Add support for opaque types Nov 28, 2024
@davesmith00000 davesmith00000 added difficulty: hard and removed question Further information is requested difficulty: medium labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant