FGeomCacheVertexBuffer

Resource array to pass

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GeometryCache

Header

/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Public/GeometryCacheSceneProxy.h

Include

#include "GeometryCacheSceneProxy.h"

Syntax

class FGeomCacheVertexBuffer : public FVertexBuffer

Remarks

Resource array to pass

Variables

Name Description

Protected variable

FShaderResource...

 

BufferSRV

Protected variable

int32

 

SizeInBytes

Functions

Name Description

Public function Const

FRHIShaderRe...

 

GetBufferSRV()

Public function

unsigned

 

GetSizeInBytes()

Get the current size of the buffer

Public function

void

 

Init

(
    int32 InSizeInBytes
)

Public function

void

 

Update

(
    const TArray< DataType >& Vertices
)

Sugar function to update from a typed array.

Public function

void

 

UpdateExceptPositions

(
    const TArray< FDynamicMeshVertex > ...
)

Public function

void

 

UpdatePositionsOnly

(
    const TArray< FDynamicMeshVertex > ...
)

Public function

void

 

UpdateRaw

(
    const void* Data,
    int32 NumItems,
    int32 ItemSizeBytes,
    int32 ItemStrideBytes
)

Update the raw contents of the buffer, possibly reallocate if needed.

Public function

void

 

UpdateSize

(
    int32 NewSizeInBytes
)

Resize the buffer but don't initialize it with any data.

Public function

void

 

UpdateSizeTyped

(
    int32 NewSizeInElements
)

Resize the buffer but don't initialize it with any data.

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

InitRHI()

Create on rhi thread. Uninitialized with NumVertices space.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss