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

15 lines
256 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
{
2023-10-24 15:01:09 +02:00
VertexAttributes getAttributes(uint index, float4x4 transform);
2023-10-07 19:29:53 +02:00
};