|
virtual void | SetData (void *Buffer, const uint32_t Size, const uint32_t Offset=0)=0 |
|
virtual FBuffer | GetLocalData ()=0 |
|
virtual void | SetLayout (const FVertexBufferLayout &layout)=0 |
|
virtual void | SetIndexBuffer (const TObjectPtr< LIndexBuffer > indexBuffer)=0 |
|
virtual void | Bind () const =0 |
|
virtual uint32_t | GetSize () const =0 |
|
virtual TObjectPtr< LIndexBuffer > | GetIndexBuffer ()=0 |
|
virtual FVertexBufferLayout | GetLayout () const =0 |
|
virtual FVertexBufferLayout & | GetLayout ()=0 |
|
| LObject (const LObject &Other) |
|
virtual void | Initialize () |
| Initialize object.
|
|
virtual void | Destroy () |
| Destroy object, releasing all resources.
|
|
virtual FORCEINLINE bool | IsInitialized () const |
| Check if object is initialized.
|
|
FORCEINLINE FObjectHandle | GetObjectHandle () const |
| Get the object handle.
|
|
virtual FORCEINLINE bool | IsObjectValid () const |
| Check if object is valid for use.
|
|
virtual const LClass * | ObjectRegistration ()=0 |
| Register object class.
|
|
virtual FORCEINLINE const LClass * | GetClass () const |
| Get the class for this LObject.
|
|
virtual std::string | ClassName () const =0 |
| Get name of the LObject class.
|
|
LObject & | operator= (const LObject &Other) |
|
void | MarkAsGarbage () |
| Mark object as garbage.
|
|
template<typename T > |
T & | As () |
| Cast object to type T.
|
|
template<typename T > |
const T & | As () const |
| Cast object to type T.
|
|
template<typename T > |
bool | IsA () const |
| Check if the object is or is a derivation of type T.
|
|
virtual FORCEINLINE bool | IsAsset () const |
| Check if object is an asset.
|
|
FORCEINLINE uint32_t | GetReferenceCount () const |
| Return current reference count from all object pointers.
|
|
template<typename OtherClassType > |
FORCEINLINE bool | IsA (OtherClassType OtherObject) const |
| Check if the object is the same type as the passed object's.
|
|
◆ Create()
This function serves as a way to allow the creation of a LVertexBuffer with a const data structure such as an constexpr float array present in 'GeometryPool.h' without having to cast to void* beforehand.
The documentation for this class was generated from the following files:
- LkEngine/Source/LkEngine/Renderer/VertexBuffer.h
- LkEngine/Source/LkEngine/Renderer/VertexBuffer.cpp