Starting to refactor into mesh shading
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import Scene;
|
||||
|
||||
interface VertexAttributes
|
||||
{
|
||||
float4 getPosition();
|
||||
float2 getTexCoord();
|
||||
float3 getNormal();
|
||||
}
|
||||
|
||||
interface VertexData
|
||||
{
|
||||
VertexAttributes getAttributes(uint index, InstanceData inst);
|
||||
};
|
||||
Reference in New Issue
Block a user