Add grid coordinate argument encoding stuff and a texture to hold heights
This commit is contained in:
parent
a5c86f9c31
commit
dac8f24568
3 changed files with 28 additions and 7 deletions
|
@ -23,15 +23,17 @@
|
|||
|
||||
typedef NS_ENUM(NSInteger, BufferIndex)
|
||||
{
|
||||
BufferIndexMeshPositions = 0,
|
||||
BufferIndexMeshGenerics = 1,
|
||||
BufferIndexUniforms = 2
|
||||
BufferIndexMeshPositions = 0,
|
||||
BufferIndexMeshGenerics = 1,
|
||||
BufferIndexMeshGridCoords = 2,
|
||||
BufferIndexUniforms = 3,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(NSInteger, VertexAttribute)
|
||||
{
|
||||
VertexAttributePosition = 0,
|
||||
VertexAttributeTexcoord = 1,
|
||||
VertexAttributeGridCoord = 2,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(NSInteger, TextureIndex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue