2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-02-15 04:00:26 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <array>
|
2020-09-28 20:54:40 +00:00
|
|
|
#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 {
|
2020-09-28 20:54:40 +00:00
|
|
|
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);
|
2020-09-28 20:54:40 +00:00
|
|
|
hsh::binding& BuildShaderDataBinding(CElementGen& gen);
|
2016-02-15 04:00:26 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|