KRLight now using KRTextureBinding
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
|
||||
KRResource* get();
|
||||
void set(KRResource* resource);
|
||||
bool isSet() const;
|
||||
void clear();
|
||||
|
||||
const std::string& getName() const;
|
||||
|
||||
Reference in New Issue
Block a user