class: ewol::resource::progAttributeElement
Description:
In a openGL program we need some data to communicate with them, we register all the name requested by the user in this structure:Note: Register all requested element permit to abstract the fact that some element does not exist and remove control of existance from upper code. This is important to note when the Program is reloaded the elements availlable can change.
Associated Namespace:
Synopsis:
+ std::string m_name;
+ GLint m_elementId;
+ bool m_isAttribute;
+ bool m_isLinked;
Detail:
m_name
+ std::string m_name;Name of the element
m_elementId
+ GLint m_elementId;
m_isAttribute
+ bool m_isAttribute;true if it was an attribute element, otherwite it was an uniform
m_isLinked
+ bool m_isLinked;if this element does not exist this is false