Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine
Floating point GPU buffer.
| Name | FFloatArrayBufferWithSRV |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosFlesh/ChaosDeformableGPUBuffers.h |
| Include Path | #include "ChaosFlesh/ChaosDeformableGPUBuffers.h" |
Syntax
class FFloatArrayBufferWithSRV : public FVertexBufferWithSRV
Inheritance Hierarchy
- FRenderResource → FVertexBuffer → FVertexBufferWithSRV → FFloatArrayBufferWithSRV
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Array | TArray< float > | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| bEmptyArray | bool | End FRenderResource overrides | ChaosFlesh/ChaosDeformableGPUBuffers.h | |
| BufferName | FString | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| NumValues | int32 | ChaosFlesh/ChaosDeformableGPUBuffers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetBufferSize() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
int32 GetNumValues() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| ChaosFlesh/ChaosDeformableGPUBuffers.h | |||
| ChaosFlesh/ChaosDeformableGPUBuffers.h | |||
void Init
(
const float* InArray, |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
void RetainLocalMemory() |
Retain local memory buffer for reuse, rather than reallocating. | ChaosFlesh/ChaosDeformableGPUBuffers.h | |
void SetBufferName
(
const FString& InBufferName |
ChaosFlesh/ChaosDeformableGPUBuffers.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetFriendlyName() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
FRenderResource overrides | ChaosFlesh/ChaosDeformableGPUBuffers.h |