18 #include <ht_platform.h> 19 #include <ht_string.h> 21 #include <ht_shadervariable.h> 22 #include <ht_shadervariablechunk.h> 23 #include <ht_texture.h> 24 #include <ht_pipeline.h> 25 #include <ht_refcounted.h> 32 template<
typename VarType>
57 bool SetInt(
size_t chunk,
size_t offset,
int data);
58 bool SetFloat(
size_t chunk,
size_t offset,
float data);
59 bool SetFloat3(
size_t chunk,
size_t offset, Math::Vector3 data);
60 bool SetFloat4(
size_t chunk,
size_t offset, Math::Vector4 data);
61 bool SetMatrix4(
size_t chunk,
size_t offset, Math::Matrix4 data);
63 virtual bool VBindTexture(std::string name,
TextureHandle texture) = 0;
64 virtual bool VUnbindTexture(std::string name,
TextureHandle texture) = 0;
66 virtual bool VUpdate() = 0;
71 std::vector<Core::Handle<RenderPass>> m_renderPasses;
73 std::vector<LayoutLocation> m_shaderVariableLocations;
74 std::vector<ShaderVariableChunk*> m_shaderVariables;
Definition: ht_renderpass.h:41
Definition: ht_material_base.h:51
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_material_base.h:44
Definition: ht_material.h:61