std140 implementation
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
|
||||
namespace zgl
|
||||
{
|
||||
struct material_handle
|
||||
// TODO implement
|
||||
struct material_handle : resource_handle
|
||||
{
|
||||
std::optional<texture_handle> texture{ std::nullopt };
|
||||
std::optional<surface_properties_handle> surface_properties{ std::nullopt };
|
||||
std::optional<alpha_handle> alpha{ std::nullopt };
|
||||
inline void bind() const;
|
||||
inline static void unbind();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user