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;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-08 23:27:21 +01:00
|
|
|
interface IVertexData
|
2023-10-07 19:29:53 +02:00
|
|
|
{
|
2024-05-16 19:47:35 +02:00
|
|
|
VertexAttributes getAttributes(uint index);
|
2023-11-05 10:36:01 +01:00
|
|
|
};
|