This commit is contained in:
ouczbs 2024-03-17 21:36:46 +08:00
parent 3e8a27fbcf
commit 9657ac63c3
9 changed files with 41 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#include "render/renderapi.h"
#include "render/window.h"
#include "object/mesh/actor.h"
#include "object/property/actor_property.h"
#include "data/property/actor_property.h"
#include "asset/asset_manager.h"
#include "object/scene/scene_manager.h"
namespace engineapi {

View File

View File

@ -0,0 +1,7 @@
#pragma once
#include <string>
using std::string;
namespace engineapi
{
}

View File

@ -0,0 +1,32 @@
#pragma once
#include <string>
#include "asset/render/asset_enum.h"
using std::string;
namespace engineapi
{
struct ProjectSetting {
public:
string path;
string defaultScene;
RenderPipelineType renderPipelineType;
unsigned int width;
unsigned int height;
bool enableDynamicBatch;
bool preserveIntermediateShader;
bool enableGraphicsDebug;
bool logToFile;
bool stablePhysics;
// Editor
unsigned int hierarchyWidth;
unsigned int hierarchyHeight;
unsigned int consoleWidth;
unsigned int consoleHeight;
unsigned int projectWidth;
unsigned int projectHeight;
unsigned int inspectorWidth;
unsigned int inspectorHeight;
unsigned int mainBarWidth;
unsigned int mainBarHeight;
};
}

View File

@ -1,6 +1,6 @@
#include "actor.h"
#include "asset/asset_manager.h"
#include "../property/actor_property.h"
#include "data/property/actor_property.h"
namespace engineapi {
ActorMesh::ActorMesh(Model& model, ActorProperty& property)
:DynamicMesh(model)