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

15 lines
255 B
Plaintext
Raw Normal View History

2023-10-07 19:29:53 +02:00
import Scene;
interface VertexAttributes
{
2023-10-09 17:20:30 +02:00
float3 getWorldPosition();
float2 getTexCoords();
2023-10-07 19:29:53 +02:00
float3 getNormal();
2023-10-09 17:20:30 +02:00
float3 getTangent();
float3 getBiTangent();
2023-10-07 19:29:53 +02:00
}
interface VertexData
{
VertexAttributes getAttributes(uint index, InstanceData inst);
};