A scalar/vector leaf in an entry-point interface. More...
#include "donner/gpu/shader/wgsl/Module.h"
Public Member Functions | |
| constexpr bool | present () const |
| Returns whether this value is decorated as shader IO. | |
Public Attributes | |
| BuiltinValue | builtin = BuiltinValue::None |
| Entry-point builtin, or None when absent. | |
| uint32_t | location = UINT32_MAX |
| User location, or UINT32_MAX when absent. | |
| bool | flat = false |
| Explicit flat interpolation for an interstage value. | |
A scalar/vector leaf in an entry-point interface.