working sockets
This commit is contained in:
@@ -32,12 +32,23 @@ namespace Game
|
||||
Gen::TextureHandle TexHandle;
|
||||
};
|
||||
|
||||
struct ModelSocket
|
||||
{
|
||||
static constexpr uint16_t MaxSocketNameLength = 64;
|
||||
Gen::Vec3 Pos;
|
||||
Gen::Mat4 Rot;
|
||||
char Name[MaxSocketNameLength]{};
|
||||
};
|
||||
|
||||
struct Model
|
||||
{
|
||||
static constexpr uint16_t MaxSocketCount = 16;
|
||||
bgfx::VertexBufferHandle VertexBuffer = {bgfx::kInvalidHandle};
|
||||
bgfx::IndexBufferHandle IndexBuffer = {bgfx::kInvalidHandle};
|
||||
bgfx::VertexLayout VertLayout;
|
||||
Gen::ModelHandle Handle;
|
||||
uint16_t SocketCount = 0;
|
||||
ModelSocket Sockets[MaxSocketCount];
|
||||
};
|
||||
|
||||
struct Material
|
||||
|
||||
Reference in New Issue
Block a user