Files
Seele/res/shaders/lib/VertexData.slang
T

15 lines
241 B
Plaintext
Raw Normal View History

2023-11-08 23:27:21 +01:00
import MaterialParameter;
2023-10-07 19:29:53 +02:00
struct VertexInput
{
uint vertexId : SV_VertexID;
uint instanceId: SV_InstanceID;
}
2023-11-08 23:27:21 +01:00
interface IVertexData
2023-10-07 19:29:53 +02:00
{
2023-11-27 21:08:27 +01:00
VertexAttributes getAttributes(uint index);
2023-11-05 10:36:01 +01:00
};
2024-04-21 21:15:15 +02:00
2024-04-24 23:25:34 +02:00
layout(set=1)
2024-04-23 23:21:30 +02:00
ParameterBlock<IVertexData> pVertexData;