17 lines
411 B
C++
17 lines
411 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
#include "opengl/handles/texture_handle.hpp"
|
|
#include "opengl/handles/surface_properties_handle.hpp"
|
|
#include "opengl/handles/alpha_handle.hpp"
|
|
|
|
namespace zgl
|
|
{
|
|
struct material_handle
|
|
{
|
|
std::optional<texture_handle> texture{ std::nullopt };
|
|
std::optional<surface_properties_handle> surface_properties{ std::nullopt };
|
|
std::optional<alpha_handle> alpha{ std::nullopt };
|
|
};
|
|
}
|