Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine
Integral GPU buffer compacting int32 to the smallest possible of uint8, uint16, or uint32.
| Name | FIndexArrayBufferWithSRV |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosFlesh/ChaosDeformableGPUBuffers.h |
| Include Path | #include "ChaosFlesh/ChaosDeformableGPUBuffers.h" |
Syntax
class FIndexArrayBufferWithSRV : public FVertexBufferWithSRV
Inheritance Hierarchy
- FRenderResource → FVertexBuffer → FVertexBufferWithSRV → FIndexArrayBufferWithSRV
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Array | TArray< uint32 > | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| bForce32 | bool | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| BufferName | FString | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| bUint16 | bool | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| bUint8 | bool | End FRenderResource overrides | ChaosFlesh/ChaosDeformableGPUBuffers.h | |
| NumValues | int32 | ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| Offset | int32 | ChaosFlesh/ChaosDeformableGPUBuffers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Force32BitPacking() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
uint32 GetBufferSize() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
int32 GetDataStride() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
int32 GetNumValues() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
int32 GetOffset() |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
| ChaosFlesh/ChaosDeformableGPUBuffers.h | |||
| ChaosFlesh/ChaosDeformableGPUBuffers.h | |||
void Init
(
const int32* InArray, |
Convert float to uint8 with clamping, and optionaly shifting via `MultOffset_. | ChaosFlesh/ChaosDeformableGPUBuffers.h | |
void Init
(
const uint32* InArray, |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
void Init
(
const FIntVector2* InArray, |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
void Init
(
const FIntVector3* InArray, |
ChaosFlesh/ChaosDeformableGPUBuffers.h | ||
void Init
(
const FIntVector4* InArray, |
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 |