KRLight now using KRTextureBinding

This commit is contained in:
2025-11-11 14:21:34 -08:00
parent dbb6e98307
commit d8eb663731
4 changed files with 19 additions and 19 deletions

View File

@@ -67,6 +67,12 @@ void KRResourceBinding::set(KRResource* resource)
m_name = resource->getName();
}
bool KRResourceBinding::isSet() const
{
return m_name.size() > 0;
}
const std::string& KRResourceBinding::getName() const
{
return m_name;

View File

@@ -46,6 +46,7 @@ public:
KRResource* get();
void set(KRResource* resource);
bool isSet() const;
void clear();
const std::string& getName() const;