mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 11:15:15 +00:00
32 lines
No EOL
575 B
C++
32 lines
No EOL
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();
|
|
};
|
|
};
|
|
}; |