sandbox updates
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <sophia/math.hpp>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
#include "material.hpp"
|
||||
|
||||
namespace sophia {
|
||||
|
||||
struct RenderObject {
|
||||
uint32_t indexCount;
|
||||
uint32_t firstIndex;
|
||||
vk::Buffer indexBuffer;
|
||||
|
||||
MaterialInstance* material;
|
||||
|
||||
mat4 transform;
|
||||
VkDeviceAddress vertexBufferAddress;
|
||||
};
|
||||
|
||||
class Renderer {
|
||||
public:
|
||||
private:
|
||||
};
|
||||
|
||||
} // namespace sophia
|
||||
Reference in New Issue
Block a user