2023-11-08 23:27:21 +01:00
|
|
|
import MaterialParameter;
|
2023-10-07 19:29:53 +02:00
|
|
|
|
2024-01-19 09:49:42 +01:00
|
|
|
struct VertexInput
|
|
|
|
|
{
|
2024-01-20 22:24:05 +01:00
|
|
|
uint vertexId : SV_VertexID;
|
2024-01-19 09:49:42 +01:00
|
|
|
uint instanceId: SV_InstanceID;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-11 09:54:09 +02:00
|
|
|
interface IVertexData
|
|
|
|
|
{
|
|
|
|
|
VertexAttributes getAttributes(uint index);
|
|
|
|
|
};
|
|
|
|
|
layout(set = 1)
|
|
|
|
|
ParameterBlock<IVertexData> pVertexData;
|