The implementation of the static mesh vertex data storage type. 更多...
#include <StaticMeshVertexData.h>
类 TStaticMeshVertexData< VertexDataType > 继承关系图:Public 成员函数 | |
| void | Assign (const TArray< VertexDataType > &Other) |
| Assignment. 更多... | |
| uint8 * | GetDataPointer () override |
| FResourceArrayInterface * | GetResourceArray () override |
| SIZE_T | GetResourceSize () const override |
| Helper function to return the amount of memory allocated by this container. 更多... | |
| uint32 | GetStride () const override |
| virtual int32 | Num () const override |
| Helper function to return the number of elements by this container. 更多... | |
| void | ResizeBuffer (uint32 NumVertices, EResizeBufferFlags BufferFlags=EResizeBufferFlags::None) override |
| Resizes the vertex data buffer, discarding any data which no longer fits. 更多... | |
| void | Serialize (FArchive &Ar, bool bForcePerElementSerialization=false) override |
| Serializer for this class 更多... | |
| TStaticMeshVertexData (bool InNeedsCPUAccess=false) | |
| Constructor 更多... | |
Public 成员函数 继承自 FStaticMeshVertexDataInterface | |
| virtual uint8 * | GetDataPointer ()=0 |
| virtual FResourceArrayInterface * | GetResourceArray ()=0 |
| virtual uint32 | GetStride () const =0 |
| virtual int32 | Num () const =0 |
| virtual void | ResizeBuffer (uint32 NumVertices, EResizeBufferFlags BufferFlags=EResizeBufferFlags::None)=0 |
| Resizes the vertex data buffer, discarding any data which no longer fits. 更多... | |
| virtual void | Serialize (FArchive &Ar, bool bForcePerElementSerialization=false)=0 |
| Serializer. | |
| virtual | ~FStaticMeshVertexDataInterface () |
| Virtual destructor. | |
The implementation of the static mesh vertex data storage type.
|
inline |
Constructor
| InNeedsCPUAccess | - true if resource array data should be CPU accessible |
|
inline |
Assignment.
This is currently the only method which allows for modifying an existing resource array
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Helper function to return the amount of memory allocated by this container.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Helper function to return the number of elements by this container.
|
inlineoverridevirtual |
Resizes the vertex data buffer, discarding any data which no longer fits.
| NumVertices | - The number of vertices to allocate the buffer for. |
| BufferFlags | - Flags to define the expected behavior of the buffer |
|
inlineoverridevirtual |
Serializer for this class
| Ar | - archive to serialize to |
| B | - data to serialize |