2022-12-26 17:33:31 +00:00
|
|
|
|
|
|
|
#ifndef __VERTEX_H__
|
|
|
|
#define __VERTEX_H__
|
|
|
|
|
2023-08-19 12:49:23 +00:00
|
|
|
#include <simd/simd.h>
|
2022-12-26 17:33:31 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2023-08-19 12:49:23 +00:00
|
|
|
vector_float2 pos;
|
|
|
|
vector_float4 col;
|
2022-12-26 17:33:31 +00:00
|
|
|
} my_vertex;
|
|
|
|
|
2023-08-19 12:49:23 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
vertexInputIndexVertices = 0,
|
|
|
|
vertexInputIndexViewportSize = 1
|
|
|
|
} vertexInputIndex;
|
2022-12-26 17:33:31 +00:00
|
|
|
|
|
|
|
#endif //__VERTEX_H__
|