|
virtual | ~ezRefCounted ()=default |
| Adds a virtual destructor.
|
|
| ezRefCountingImpl ()=default |
| Constructor.
|
|
| ezRefCountingImpl (const ezRefCountingImpl &rhs) |
|
void | operator= (const ezRefCountingImpl &rhs) |
|
ezInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count.
|
|
ezInt32 | ReleaseRef () const |
| Decrements the reference counter. Returns the new reference count.
|
|
bool | IsReferenced () const |
| Returns true if the reference count is greater than 0, false otherwise.
|
|
ezInt32 | GetRefCount () const |
| Returns the current reference count.
|
|
◆ CreateMesh()
Creates an object with the given geometry. If an object with the same name was created before, that pointer is returned instead.
It is assumed that the same name will only be used for identical geometry.
◆ GetObject()
If an object with the given name has been created before, it is returned, otherwise nullptr is returned.
Use this to quickly query for an existing object. Call CreateMesh() in case the object doesn't exist yet.
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Rasterizer/RasterizerObject.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Rasterizer/Implementation/RasterizerObject.cpp