|
| void | changeBindingPoint (int theBindingPoint) |
| |
|
void | setSubData (size_t offset, const void *data, size_t length) const override |
| | Set a subset of the data, which is more efficient than setData();.
|
| |
|
void | setData (size_t length, const RenderBasin::Buffer::StorageFlags &SF) const |
| | Reserve data only.
|
| |
|
bool | activate (const Anemone &) override |
| | Activate this tentacle.
|
| |
|
bool | deactivate (const Anemone &) override |
| | Deactivate this tentacle.
|
| |
|
virtual const char * | getSamplerType () const |
| | If this tentacle refers to some texture sampler in a shader, then hereby return the type of this sampler is it occurs in the code.
|
| |
|
virtual int | getTextureUnit () const |
| | Get the texture unit number which was specified during construction, if positive then it refers to some texture unit that is used in an associated shader.
|
| |
|
virtual size_t | memsize () const |
| | Return the memory occupied by this buffer if it occupies memory at all. Otherwise, returns 0 (default).
|
| |
| virtual size_t | NumberOfElements () const |
| | Returns the number of elements provided and used by this object, if it refers to countable elements.
|
| |
| virtual bool | updateValue (VRenderContext &Context) |
| | Possibly update a tentacle from settings in a context.
|
| |
| auto | getObjectCountID () const noexcept |
| | Get a unique ID for this object in the given domain.
|
| |
|
bool | isIdentical (const WeakPtr< Tentacle, Tentacle > &PossibleSelf) const noexcept |
| | Check if this object is identical to the one used by the given pointer.
|
| |
| void | mkAutoDestructive () |
| | Marks this object as being automatically destructed, e.g.
|
| |
|
refcount_t | refcount () const noexcept |
| | The strong reference count.
|
| |
|
| ReferenceBase (Tentacle *that) noexcept |
| | Constructor, initializes reference counter to zero.
|
| |
| const auto & | self () const |
| | Return weak pointer to the object self.
|
| |
|
refcount_t | wrefcount () const noexcept |
| | The weak reference count.
|
| |
|
|
using | reference_domain_t = Tentacle |
| | The type of the base class.
|
| |
|
using | SelfPtr_t = WeakPtr< Tentacle, Tentacle > |
| | Type for a pointer to this object itself.
|
| |
|
Activity_t | Activity |
| | A bit mask telling whether this tentacle should participate in the waving of an Anemone.
|
| |
| enum | type |
| | Possible types of buffer ID's. More...
|
| |
| bool | bindBuffer () const |
| | const version of bind(), does not create a buffer ID.
|
| |
| bool | bindBufferWithPossibleCreation () |
| | Non-const version of bind().
|
| |
| | BufferID (const type bufferType) noexcept |
| | The constructor does not yet create openGL buffers yet.
|
| |
| GLuint | createId () noexcept |
| | If no valid ID yet, call glCreateBuffers().
|
| |
| GLuint | getId () const noexcept |
| | Get an Id without attempting to generate it.
|
| |
|
bool | isbound () const throw () |
| | Verification function: buffer is bound?
|
| |
|
bool | isIndexBuffer () const |
| | Check whether this is an index buffer.
|
| |
|
bool | isVertexArray () const |
| | Check whether this is a vertex array.
|
| |
|
GLuint | makeId () |
| | On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
|
| |
|
GLuint | operator() () |
| | On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
|
| |
| | ~BufferID () noexcept |
| | Deletion of created OpenGL buffers. Note that this might be problematic here if called outside a valid OpenGL context.
|
| |
| virtual void | extremeUnction () |
| | A virtual function that will be called just before the object is destroyed.
|
| |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| | Protected assignment operator (should not be called).
|
| |
|
void | suicide () |
| | Delete this.
|
| |
|
virtual | ~ReferenceBase () |
| | Virtual destructor.
|
| |
|
const type | target |
| | The target type of this buffer ID.
|
| |