mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-28 14:13:04 +00:00
32 lines
575 B
C
32 lines
575 B
C
|
/**
|
||
|
* @file ShaderHolder.h
|
||
|
* @brief Defines classes for shader storage.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "sead/heap.h"
|
||
|
|
||
|
namespace agl
|
||
|
{
|
||
|
namespace detail
|
||
|
{
|
||
|
class ShaderHolder
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
class SingletonDisposer_
|
||
|
{
|
||
|
public:
|
||
|
virtual ~SingletonDisposer_();
|
||
|
|
||
|
static SingletonDisposer_ sStaticDisposer;
|
||
|
};
|
||
|
|
||
|
ShaderHolder();
|
||
|
|
||
|
static agl::detail::ShaderHolder* createInstance(sead::Heap *);
|
||
|
static void deleteInstance();
|
||
|
};
|
||
|
};
|
||
|
};
|