Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/Components
References
| Module | GeometryFramework |
| Header | /Engine/Source/Runtime/GeometryFramework/Public/Components/BaseDynamicMeshSceneProxy.h |
| Include | #include "Components/BaseDynamicMeshSceneProxy.h" |
Syntax
class FMeshRenderBufferSet
Remarks
FMeshRenderBufferSet stores a set of RenderBuffers for a mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableRaytracing | Configure whether raytracing should be enabled for this RenderBufferSet | |
| bool | bEnableSecondaryIndexBuffer | If secondary index buffer is enabled, we populate this index buffer with additional triangles indexing into the same vertex buffers | |
| FCriticalSection | BuffersLock | In situations where we want to update the existing Vertex or Index buffers, we need to synchronize access between the Game and Render threads. | |
| FColorVertexBuffer | ColorVertexBuffer | The buffer containing the vertex color data. | |
| FDynamicMeshIndexBuffer32 | IndexBuffer | Triangle indices | |
| UMaterialInterface * | Material | Material to draw this mesh with | |
| FPositionVertexBuffer | PositionVertexBuffer | The buffer containing the position vertex data. | |
| FDynamicMeshIndexBuffer32 | SecondaryIndexBuffer | Partition or subset of IndexBuffer that indexes into same vertex buffers | |
| FStaticMeshVertexBuffer | StaticMeshVertexBuffer | The buffer containing vertex data. | |
| int | TriangleCount | Number of triangles in this renderbuffer set. | |
| TOptional< TArray< int > > | Triangles | Optional list of triangles stored in this buffer. | |
| FLocalVertexFactory | VertexFactory | Vertex factory |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshRenderBufferSet
(
ERHIFeatureLevel::Type FeatureLevelType |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyRenderBufferSet
(
FMeshRenderBufferSet* BufferSet |
Enqueue a command on the Render Thread to destroy the passed in buffer set. | |
| void | InitOrUpdateResource
(
FRenderResource* Resource |
Initializes a render resource, or update it if already initialized. | |
| void | |||
| void | TransferVertexUpdateToGPU
(
FRHICommandListBase& RHICmdList, |
Fast path to update various vertex buffers. | |
| void | Rebuild raytracing data for current buffers | ||
| void | Upload () |
Upload initialized mesh buffers. This can only be called on the Rendering Thread. | |
| void | Fast path to only update the primary and secondary index buffers. | ||
| void | UploadVertexUpdate
(
bool bPositions, |
Fast path to only update vertex buffers. | |
| void | Verify that valid raytracing data is available. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | TransferVertexUpdateToGPU
(
bool bPositions, |
TransferVertexUpdateToGPU now requires a command list |