content browser and textures on entity sprites
This commit is contained in:
20
open_engine/include/open_engine/renderer/uniform_buffer.hpp
Normal file
20
open_engine/include/open_engine/renderer/uniform_buffer.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef UNIFORM_BUFFER_HPP
|
||||
#define UNIFORM_BUFFER_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <glm/fwd.hpp>
|
||||
namespace OpenEngine {
|
||||
|
||||
class UniformBuffer
|
||||
{
|
||||
public:
|
||||
virtual ~UniformBuffer() {}
|
||||
virtual void SetData(const void* data, uint32_t size,
|
||||
uint32_t offset = 0) = 0;
|
||||
|
||||
static Ref<UniformBuffer> Create(uint32_t size, uint32_t binding);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif // UNIFORM_BUFFER_HPP
|
||||
Reference in New Issue
Block a user