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

Validation for resource element types #74

Open
2 of 5 tasks
Tracked by #8 ...
damyanp opened this issue Sep 24, 2024 · 0 comments
Open
2 of 5 tasks
Tracked by #8 ...

Validation for resource element types #74

damyanp opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@damyanp
Copy link
Collaborator

damyanp commented Sep 24, 2024

Most HLSL resource types accept an element type, through a template parameter:

RWBuffer<float2> buffer;
Texture2D<float4> texture;
StructuredBuffer<MyStruct> anotherBuffer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Active
Development

No branches or pull requests

2 participants