Navigation
API > API/Plugins > API/Plugins/GeometryCache
Inheritance Hierarchy
- FRenderResource
- FVertexBuffer
- FGeomCacheVertexBuffer
- FGeomCacheColorBuffer
- FGeomCacheTangentBuffer
References
| Module | GeometryCache |
| Header | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheSceneProxy.h |
| Include | #include "GeometryCacheSceneProxy.h" |
Syntax
class FGeomCacheVertexBuffer : public FVertexBuffer
Remarks
Resource array to pass
Variables
| Type | Name | Description | |
|---|---|---|---|
| FShaderResourceViewRHIRef | BufferSRV | ||
| int32 | SizeInBytes |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRHIShaderResourceView * | GetBufferSRV () |
||
| unsigned | Get the current size of the buffer | ||
| void | Init
(
int32 InSizeInBytes |
||
| void | Sugar function to update from a typed array. | ||
| void | UpdateExceptPositions
(
const TArray< FDynamicMeshVertex >& Vertices |
||
| void | UpdatePositionsOnly
(
const TArray< FDynamicMeshVertex >& Vertices |
||
| void | UpdateRaw
(
const void* Data, |
Update the raw contents of the buffer, possibly reallocate if needed. | |
| void | UpdateSize
(
int32 NewSizeInBytes |
Resize the buffer but don't initialize it with any data. | |
| void | UpdateSizeTyped
(
int32 NewSizeInElements |
Resize the buffer but don't initialize it with any data. |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Create on rhi thread. Uninitialized with NumVertices space. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |