Lines Matching defs:const
57 const char* name;
62 const ObjectTraits& objectTraits (ObjectType type);
67 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits);
68 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object);
71 inline deUint32 get (void) const { return m_object; }
72 inline deUint32 operator* (void) const { return m_object; }
75 const glw::Functions& m_gl;
76 const ObjectTraits& m_traits;
80 ObjectWrapper (const ObjectWrapper& other);
81 ObjectWrapper& operator= (const ObjectWrapper& other);
90 TypedObjectWrapper (const glw::Functions& gl, deUint32 object) : ObjectWrapper(gl, objectTraits(Type), object) {}
91 explicit TypedObjectWrapper (const RenderContext& context) : ObjectWrapper(context.getFunctions(), objectTraits(Type)) {}
92 explicit TypedObjectWrapper (const glw::Functions& gl) : ObjectWrapper(gl, objectTraits(Type)) {}
101 ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects = 0);
104 size_t size (void) const { return m_objects.size(); }
109 bool empty (void) const { return m_objects.empty(); }
111 deUint32 get (size_t ndx) const { return m_objects[ndx]; }
112 deUint32 operator[] (size_t ndx) const { return get(ndx); }
115 ObjectVector (const ObjectVector& other);
116 ObjectVector& operator= (const ObjectVector& other);
118 const glw::Functions& m_gl;
119 const ObjectTraits& m_traits;
126 explicit TypedObjectVector (const RenderContext& context, size_t numObjects = 0) : ObjectVector(context.getFunctions(), objectTraits(Type), numObjects) {}
127 explicit TypedObjectVector (const glw::Functions& gl, size_t numObjects = 0) : ObjectVector(gl, objectTraits(Type), numObjects) {}