SuperMarioOdysseyOnline/include/agl/shader/ShaderCompileInfo.h

42 lines
1.1 KiB
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
/**
* @file ShaderCompileInfo.h
* @brief Defines file devices and extensions.
*/
#pragma once
#include "sead/heap.h"
#include "sead/hostio.h"
#include "sead/array.h"
#include "Shader.h"
#include "types.h"
namespace agl
{
class ShaderCompileInfo : public sead::hostio::Node
{
// this value is used as an index to a table of version lists
// on 1.2.0, located at 0x7101E80B30
typedef s32 Target;
ShaderCompileInfo();
virtual ~ShaderCompileInfo();
void destroy();
void create(s32, s32 bufferSize, sead::Heap *);
void clearVariation();
void pushBackVariation(char const *, char const *);
void calcCompileSource(agl::ShaderType, sead::BufferedSafeStringBase<char> *, agl::ShaderCompileInfo::Target, bool);
sead::SafeStringBase<char>* getRegitserUniformBlockName(); // "RegisterUBO"
u64 _8;
char* mName; // _10
u64 _18;
u64 _20;
sead::PtrArrayImpl _28;
sead::PtrArrayImpl _38;
sead::PtrArrayImpl _48;
sead::PtrArrayImpl _58;
};
};