Struct RenderObject

Struct Documentation

struct RenderObject

Public Functions

inline bool is_visible(const glm::mat4 &view_projection) const

Public Members

uint32_t index_count = 0
uint32_t first_index = 0
std::shared_ptr<vulkan::AllocatedBuffer> index_buffer = nullptr
Reference<Material> material = nullptr
portal::resources::Bounds bounds = {}
glm::mat4 transform = glm::mat4(1.0f)
vk::DeviceAddress vertex_buffer_address = 0