mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
16 lines
286 B
C++
16 lines
286 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
class VertexBuffer
|
|
{
|
|
public:
|
|
VertexBuffer(int sizeInBytes);
|
|
|
|
void SetBufferData(const void* data, int64_t size);
|
|
void SetBufferSubdata(int64_t destOffset, const void* data, int64_t size);
|
|
|
|
private:
|
|
std::vector<uint8_t> mData;
|
|
};
|