metaforce/Runtime/Graphics/Shaders/CElementGenShaders.hpp

19 lines
343 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-02-15 04:00:26 +00:00
#include <array>
#include "hsh/hsh.h"
2016-02-15 04:00:26 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
2016-02-15 04:00:26 +00:00
class CElementGen;
2018-12-08 05:30:43 +00:00
class CElementGenShaders {
hsh::binding m_shaderBind;
2016-02-15 04:00:26 +00:00
public:
2018-12-08 05:30:43 +00:00
enum class EShaderClass { Tex, IndTex, NoTex };
2016-02-15 04:00:26 +00:00
2018-12-08 05:30:43 +00:00
static EShaderClass GetShaderClass(CElementGen& gen);
hsh::binding& BuildShaderDataBinding(CElementGen& gen);
2016-02-15 04:00:26 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde