27 lines
366 B
C++
27 lines
366 B
C++
#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
|