![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StaticMeshVertexData.h>
Inheritance diagram for TStaticMeshVertexData< VertexDataType >:Public Member Functions | |
| TStaticMeshVertexData (bool InNeedsCPUAccess=false) | |
| void | ResizeBuffer (uint32 NumVertices, EResizeBufferFlags BufferFlags=EResizeBufferFlags::None) override |
| void | Empty (uint32 NumVertices) override |
| bool | IsValidIndex (uint32 Index) override |
| uint32 | GetStride () const override |
| uint8 * | GetDataPointer () override |
| FResourceArrayInterface * | GetResourceArray () override |
| const FResourceArrayInterface * | GetResourceArray () const |
| void | Serialize (FArchive &Ar, bool bForcePerElementSerialization=false) override |
| void | Assign (const TArray< VertexDataType > &Other) |
| SIZE_T | GetResourceSize () const override |
| virtual int32 | Num () const override |
| bool | GetAllowCPUAccess () const override |
| void | OverrideFreezeSizeAndAlignment (int64 &Size, int32 &Alignment) const override |
Public Member Functions inherited from FStaticMeshVertexDataInterface | |
| virtual | ~FStaticMeshVertexDataInterface () |
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 |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
inline |
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Helper function to return the amount of memory allocated by this container.
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Helper function to return the number of elements by this container.
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Implements FStaticMeshVertexDataInterface.
|
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 |
Implements FStaticMeshVertexDataInterface.
|
inlineoverridevirtual |
Serializer for this class
| Ar | - archive to serialize to |
| B | - data to serialize |
Implements FStaticMeshVertexDataInterface.