mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-25 21:31:14 +00:00
37 lines
758 B
C++
37 lines
758 B
C++
|
|
||
|
#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);
|
||
|
}
|