Files
HydraV3/HydraEngine/source/buffer/HydraBuffer.h
T
2026-07-17 15:30:29 +01:00

15 lines
387 B
C++

#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 */