Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticMeshVertexBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const FConstMeshBuildVertexView& InVertices, |
Initializes the buffer with the given vertex view. | Rendering/StaticMeshVertexBuffer.h | |
void Init
(
const FConstMeshBuildVertexView& InVertices, |
Initializes the buffer with the given vertices. | Rendering/StaticMeshVertexBuffer.h | |
void Init
(
const FStaticMeshVertexBuffer& InVertexBuffer, |
Initializes this vertex buffer with the contents of the given vertex buffer. | Rendering/StaticMeshVertexBuffer.h | |
void Init
(
uint32 InNumVertices, |
Rendering/StaticMeshVertexBuffer.h | ||
void Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
Initializes the buffer with the given vertices. Initializes the buffer with the given vertices. | Rendering/StaticMeshVertexBuffer.h | |
void Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
Rendering/StaticMeshVertexBuffer.h |
Init(const FConstMeshBuildVertexView &, const FStaticMeshVertexBufferFlags &)
Description
Initializes the buffer with the given vertex view.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
(
const FConstMeshBuildVertexView & InVertices,
const FStaticMeshVertexBufferFlags & InInitFlags
)
Parameters
| Name | Remarks |
|---|---|
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |
Init(const FConstMeshBuildVertexView &, bool)
Description
Initializes the buffer with the given vertices.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
void Init
(
const FConstMeshBuildVertexView & InVertices,
bool bNeedsCPUAccess
)
Parameters
| Name | Remarks |
|---|---|
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |
| bNeedsCPUAccess | Whether the vertex data needs to be accessed by the CPU after creation (default true) |
Init(const FStaticMeshVertexBuffer &, bool)
Description
Initializes this vertex buffer with the contents of the given vertex buffer. Initializes this vertex buffer with the contents of the given vertex buffer.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
(
const FStaticMeshVertexBuffer & InVertexBuffer,
bool bNeedsCPUAccess
)
Parameters
| Name | Remarks |
|---|---|
| InVertexBuffer | The vertex buffer to initialize from. |
| bNeedsCPUAccess | Whether the vertex data needs to be accessed by the CPU after creation (default true) |
| InVertexBuffer | The vertex buffer to initialize from. |
Init(uint32, uint32, bool)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
(
uint32 InNumVertices,
uint32 InNumTexCoords,
bool bNeedsCPUAccess
)
Init(const TArray< FStaticMeshBuildVertex > &, uint32, const FStaticMeshVertexBufferFlags &)
Description
Initializes the buffer with the given vertices. Initializes the buffer with the given vertices.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
(
const TArray < FStaticMeshBuildVertex > & InVertices,
uint32 InNumTexCoords,
const FStaticMeshVertexBufferFlags & InInitFlags
)
Parameters
| Name | Remarks |
|---|---|
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |
| Flags | Options for Init ; FStaticMeshVertexBufferFlags can be default constructed for default options |
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |
Init(const TArray< FStaticMeshBuildVertex > &, uint32, bool)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include Path | #include "Rendering/StaticMeshVertexBuffer.h" |
void Init
(
const TArray < FStaticMeshBuildVertex > & InVertices,
uint32 InNumTexCoords,
bool bNeedsCPUAccess
)