start shader

This commit is contained in:
2023-11-16 15:58:57 -06:00
parent e8c1cb24c5
commit 1dfed5696a
15 changed files with 238 additions and 2 deletions

View File

@ -6,5 +6,6 @@
target_sources(${DAWN_TARGET_NAME}
PRIVATE
Camera.cpp
Material.cpp
MeshRenderer.cpp
)

View File

@ -0,0 +1,16 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#include "Material.hpp"
using namespace Dawn;
void Material::onInit() {
}
void Material::onDispose() {
}

View File

@ -0,0 +1,15 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "scene/SceneComponent.hpp"
namespace Dawn {
class Material : public SceneComponent {
public:
void onInit() override;
void onDispose() override;
};
}