UltimateZoneBuilder/Source/Native/VertexBuffer.cpp

37 lines
758 B
C++
Raw Normal View History

#include "VertexBuffer.h"
VertexBuffer::VertexBuffer(int sizeInBytes)
{
}
void VertexBuffer::SetBufferData(const void* data, int64_t size)
{
}
void VertexBuffer::SetBufferSubdata(int64_t destOffset, const void* data, int64_t size)
{
}
/////////////////////////////////////////////////////////////////////////////
VertexBuffer* VertexBuffer_New(int sizeInBytes)
{
return new VertexBuffer(sizeInBytes);
}
void VertexBuffer_Delete(VertexBuffer* buffer)
{
delete buffer;
}
void VertexBuffer_SetBufferData(VertexBuffer* handle, void* data, int64_t size)
{
handle->SetBufferData(data, size);
}
void VertexBuffer_SetBufferSubdata(VertexBuffer* handle, int64_t destOffset, void* data, int64_t size)
{
handle->SetBufferSubdata(destOffset, data, size);
}