Allow custom input descriptors
This commit is contained in:
@@ -15,6 +15,9 @@ namespace openVulkanoCpp::Scene
|
||||
{
|
||||
class Camera : public Node
|
||||
{
|
||||
public:
|
||||
ICloseable* renderCamera = nullptr;
|
||||
|
||||
protected:
|
||||
Math::Matrix4f m_viewProjection{1}, m_view{1}, m_projection{1};
|
||||
Math::Vector4f m_camPosition{};
|
||||
@@ -35,8 +38,6 @@ namespace openVulkanoCpp::Scene
|
||||
public:
|
||||
static constexpr size_t SIZE = sizeof(Math::Matrix4f) * 3 + sizeof(Math::Vector4f) + sizeof(float) * 8;
|
||||
|
||||
ICloseable* renderCamera = nullptr;
|
||||
|
||||
void* GetData() { return &m_viewProjection; }
|
||||
|
||||
void Init(float width, float height, float nearPlane, float farPlane)
|
||||
|
||||
Reference in New Issue
Block a user