10 #include "PackedDiffuseTransitionShader.h"
11 #include "VectorMathDecl.h"
12 #include "TextureMinifyType.h"
26 const TMaterialId materialId,
27 const std::string& name,
31 Rendering::TextureMinifyType textureMinifyType,
32 bool useAlternativeAmbient,
40 bool IsUsingAlternativeAmbient()
const {
return m_useAlternativeAmbient; }
41 void UseAlternativeAmbient(
bool useAlternativeAmbient) { m_useAlternativeAmbient = useAlternativeAmbient; }
43 const TMaterialId GetId()
const {
return m_id; }
44 const Shader& GetShader()
const {
return m_shader; }
45 const std::string& GetName()
const {
return m_name; }
47 void SetLerpParam(
float t) { m_lerpParam = t; }
48 float GetLerpParam()
const {
return m_lerpParam; }
55 void SetMVP(
const m44& mvp)
const
62 m_shader.SetUVBounds(min, max);
65 void SetLerpParam(
float t)
const
67 m_shader.SetLerpParam(t);
70 const TMaterialId m_id;
71 const std::string m_name;
76 Rendering::TextureMinifyType m_textureMinifyType;
78 bool m_useAlternativeAmbient;