initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef HYDRABUFFER
|
||||
#define HYDRABUFFER
|
||||
#include "../HydraDefines.h"
|
||||
|
||||
struct HydraBuffer
|
||||
{
|
||||
HydraID buffer_id = INVALID_HYDRA_ID;
|
||||
uint32_t size_bytes = 0;
|
||||
uint32_t shader_binding_id; //index of the UBO in the shader
|
||||
uint32_t gpu_buffer_id; //UBO Block id for bind buffer base
|
||||
HYDRA_BUFFER_TYPE buffer_type;
|
||||
std::string buffer_name;
|
||||
};
|
||||
#endif /* HYDRABUFFER */
|
||||
Reference in New Issue
Block a user