mirror of https://github.com/axmolengine/axmol.git
Fix ci
This commit is contained in:
parent
1e9ad9d240
commit
ff332f667a
|
@ -99,7 +99,7 @@ public:
|
||||||
* Get active vertex attributes.
|
* Get active vertex attributes.
|
||||||
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
||||||
*/
|
*/
|
||||||
virtual hlookup::string_map<AttributeBindInfo> getActiveAttributes() const = 0;
|
virtual const hlookup::string_map<AttributeBindInfo> getActiveAttributes() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get vertex shader.
|
* Get vertex shader.
|
||||||
|
|
|
@ -94,7 +94,7 @@ public:
|
||||||
* Get active vertex attributes.
|
* Get active vertex attributes.
|
||||||
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
||||||
*/
|
*/
|
||||||
hlookup::string_map<AttributeBindInfo> getActiveAttributes() const override;
|
const hlookup::string_map<AttributeBindInfo> getActiveAttributes() const override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get maximum vertex location.
|
* Get maximum vertex location.
|
||||||
|
|
|
@ -118,7 +118,7 @@ int ProgramMTL::getMaxFragmentLocation() const
|
||||||
return _fragmentShader->getMaxLocation();
|
return _fragmentShader->getMaxLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
hlookup::string_map<AttributeBindInfo> ProgramMTL::getActiveAttributes() const
|
const hlookup::string_map<AttributeBindInfo> ProgramMTL::getActiveAttributes() const
|
||||||
{
|
{
|
||||||
return _vertexShader->getAttributeInfo();
|
return _vertexShader->getAttributeInfo();
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,7 +210,7 @@ bool ProgramGL::getAttributeLocation(std::string_view attributeName, unsigned in
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
hlookup::string_map<AttributeBindInfo> ProgramGL::getActiveAttributes() const
|
const hlookup::string_map<AttributeBindInfo> ProgramGL::getActiveAttributes() const
|
||||||
{
|
{
|
||||||
hlookup::string_map<AttributeBindInfo> attributes;
|
hlookup::string_map<AttributeBindInfo> attributes;
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ public:
|
||||||
* Get active vertex attributes.
|
* Get active vertex attributes.
|
||||||
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
* @return Active vertex attributes. key is active attribute name, Value is corresponding attribute info.
|
||||||
*/
|
*/
|
||||||
virtual hlookup::string_map<AttributeBindInfo> getActiveAttributes() const override;
|
virtual const hlookup::string_map<AttributeBindInfo> getActiveAttributes() const override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get uniform buffer size in bytes that can hold all the uniforms.
|
* Get uniform buffer size in bytes that can hold all the uniforms.
|
||||||
|
|
Loading…
Reference in New Issue