Vulkan Schnee
0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Material.cpp
Go to the documentation of this file.
1
#include "
Engine/Texture/Texture.h
"
2
#include <
Engine/Texture/Material.h
>
3
4
namespace
EngineCore
5
{
6
7
Material::Material
() =
default
;
8
9
Material::Material
(
Texture
*
colorTexture
) :
colorTexture
(
colorTexture
) {}
10
11
bool
Material::operator==
(
const
Material
& other)
const
12
{
13
return
colorTexture
->getVkImage() == other.
colorTexture
->
getVkImage
();
14
}
15
}
// namespace EngineCore
Material.h
Texture.h
EngineCore::Material::colorTexture
Texture * colorTexture
Definition
Material.h:16
EngineCore::Material::Material
Material()
EngineCore::Material::operator==
bool operator==(const Material &other) const
Definition
Material.cpp:11
EngineCore::Texture
Definition
Texture.h:21
EngineCore::Texture::getVkImage
VkImage getVkImage() const
Definition
Texture.cpp:249
EngineCore
Log category system implementation.
Definition
CameraComponent.cpp:8
Engine
src
Engine
Texture
Material.cpp
Generated by
1.14.0