A common template for "named" objects like textures, buffers, etc. More...
|Constructs wrapper for name 0 (zero). |
|ObjectName (NameT name)|
|Constructs wrapper for the specified |
|Returns the base name assigned to |
|bool||operator== (ObjectName a, ObjectName b)|
|Equality comparison. |
|bool||operator!= (ObjectName a, ObjectName b)|
|Inequality comparison. |
|bool||operator< (ObjectName a, ObjectName b)|
A common template for "named" objects like textures, buffers, etc.
This is a common template for all GL/AL/VG/etc. object wrappers which are identified by a (uint typed) name, i.e. object like Textures, Buffer, VAOs, Queries, etc. but also Shaders, Programs, and so on.
ObjectName adds static object type information and allows to distinguish between objects of different type with the same name value.