patch 1
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "debug/debug.hpp"
|
||||
#include "./mesh_material_frame.hpp"
|
||||
#include "loaders/3d/builder/mesh_builder_data.hpp"
|
||||
#include <optional>
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
@@ -23,11 +24,9 @@ class MeshMaterial {
|
||||
~MeshMaterial();
|
||||
|
||||
bool isMother, lightmapFlag;
|
||||
|
||||
u32 id;
|
||||
|
||||
std::string name;
|
||||
|
||||
std::optional<std::string> textureName;
|
||||
Color ambient;
|
||||
|
||||
std::vector<MeshMaterialFrame*> frames;
|
||||
|
||||
@@ -44,8 +44,7 @@ class DynPipRenderer {
|
||||
void uploadPrograms();
|
||||
void setDoubleBuffer();
|
||||
|
||||
void addBufferDataToPacket(DynPipVU1Program* program, DynPipBag** bags,
|
||||
const u32& count);
|
||||
void addBufferDataToPacket(DynPipBag** bags, const u32& count);
|
||||
void sendPacket();
|
||||
|
||||
prim_t* prim;
|
||||
|
||||
@@ -59,7 +59,7 @@ class DynamicPipeline : public Renderer3DPipeline {
|
||||
|
||||
void setBuffer(DynPipBag* buffers, DynPipBag* buffer, u16* bufferIndex);
|
||||
|
||||
void sendRestOfBuffers(DynPipBag* buffers, u16* bufferIndex);
|
||||
void sendRestOfBuffers(DynPipBag* buffers, const u16& bufferIndex);
|
||||
|
||||
void addVertices(const MeshMaterialFrame* materialFrameFrom,
|
||||
const MeshMaterialFrame* materialFrameTo, DynPipBag* bag,
|
||||
|
||||
Reference in New Issue
Block a user