Reorganize shaders into a group

This commit is contained in:
Eryn Wells 2018-10-14 15:11:04 -07:00
parent 068d33395a
commit a10fb0fa18
4 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,24 @@
//
// ShaderTypes.h
// Metaballs
//
// Created by Eryn Wells on 10/14/18.
// Copyright © 2018 Eryn Wells. All rights reserved.
//
#ifndef ShaderTypes_hh
#define ShaderTypes_hh
#include <metal_stdlib>
struct Vertex {
float2 position;
float2 textureCoordinate;
};
struct RenderParameters {
/// Projection matrix.
metal::float4x4 projection;
};
#endif /* ShaderTypes_hh */