initial commit
This commit is contained in:
16
include/opengl/handles/material_handle.hpp
Normal file
16
include/opengl/handles/material_handle.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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 };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user