Changeset View
Changeset View
Standalone View
Standalone View
source/graphics/ShaderProgramFFP.cpp
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | public: | ||||
virtual void Uniform(Binding UNUSED(id), const CMatrix3D& UNUSED(v)) | virtual void Uniform(Binding UNUSED(id), const CMatrix3D& UNUSED(v)) | ||||
{ | { | ||||
} | } | ||||
virtual void Uniform(Binding UNUSED(id), size_t UNUSED(count), const CMatrix3D* UNUSED(v)) | virtual void Uniform(Binding UNUSED(id), size_t UNUSED(count), const CMatrix3D* UNUSED(v)) | ||||
{ | { | ||||
} | } | ||||
virtual std::vector<VfsPath> GetFileDependencies() const | |||||
{ | |||||
return {}; | |||||
Stan: Why not an explicit empty vector ? | |||||
} | |||||
Not Done Inline ActionsStan: | |||||
protected: | protected: | ||||
std::map<CStrIntern, int> m_UniformIndexes; | std::map<CStrIntern, int> m_UniformIndexes; | ||||
void SetUniformIndex(const char* id, int value) | void SetUniformIndex(const char* id, int value) | ||||
{ | { | ||||
m_UniformIndexes[CStrIntern(id)] = value; | m_UniformIndexes[CStrIntern(id)] = value; | ||||
} | } | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,055 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Why not an explicit empty vector ?