SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Material.hpp File Reference
#include <Core/Object.hpp>
#include <Core/OSDef.hpp>
#include <Memory/ObjectPtr.hpp>
#include <Memory/RefPtr.hpp>
#include <Runtime/Texture.hpp>
#include <Math/Vector.hpp>
#include <Math/Color.hpp>
#include <string>
#include <cstdint>

Go to the source code of this file.

Classes

class  Sleak::Material

Namespaces

namespace  Sleak
 Root namespace for everything the engine exposes.
namespace  Sleak::RenderEngine
 Backend-facing rendering layer shared by the four graphics backends.

Macros

#define TEXTURE_SLOT_AO   5
#define TEXTURE_SLOT_DIFFUSE   0
#define TEXTURE_SLOT_EMISSIVE   6
#define TEXTURE_SLOT_METALLIC   4
#define TEXTURE_SLOT_NORMAL   1
#define TEXTURE_SLOT_ROUGHNESS   3
#define TEXTURE_SLOT_SPECULAR   2

Enumerations

enum class  Sleak::MaterialRenderMode : uint8_t { Sleak::MaterialRenderMode::Opaque = 0 , Sleak::MaterialRenderMode::Cutout = 1 , Sleak::MaterialRenderMode::Transparent = 2 }

Macro Definition Documentation

◆ TEXTURE_SLOT_AO

#define TEXTURE_SLOT_AO   5

Definition at line 20 of file Material.hpp.

◆ TEXTURE_SLOT_DIFFUSE

#define TEXTURE_SLOT_DIFFUSE   0

Definition at line 15 of file Material.hpp.

◆ TEXTURE_SLOT_EMISSIVE

#define TEXTURE_SLOT_EMISSIVE   6

Definition at line 21 of file Material.hpp.

◆ TEXTURE_SLOT_METALLIC

#define TEXTURE_SLOT_METALLIC   4

Definition at line 19 of file Material.hpp.

◆ TEXTURE_SLOT_NORMAL

#define TEXTURE_SLOT_NORMAL   1

Definition at line 16 of file Material.hpp.

◆ TEXTURE_SLOT_ROUGHNESS

#define TEXTURE_SLOT_ROUGHNESS   3

Definition at line 18 of file Material.hpp.

◆ TEXTURE_SLOT_SPECULAR

#define TEXTURE_SLOT_SPECULAR   2

Definition at line 17 of file Material.hpp.