FHairCardsDeformedResource

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FHairCardsDeformedResource

References

Module

HairStrandsCore

Header

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h

Include

#include "GroomResources.h"

Syntax

struct FHairCardsDeformedResource : public FRenderResource

Variables

Name Description

Public variable

const bool

 

bDynamic

Public variable

const bool

 

bInitializedData

Whether the GPU data should be initialized with the asset data or not

Public variable

uint32

 

CurrentIndex

Whether the GPU data should be initialized with the asset data or not

Public variable

FRDGExternalBuf...

 

DeformedPositionBuffer

Strand hair deformed position buffer (previous and current)

Public variable

const FHairCard...

 

RenderData

Reference to the hair strands render data

Constructors

Name Description

Public function

FHairCardsDeformedResource

(
    const FHairCardsDatas::FRenderData ...,
    bool bInitializeData,
    bool bDynamic
)

Build the hair strands resource

Functions

Name Description

Public function

FRDGExternal...

 

GetBuffer

(
    EFrameType T
)

Public function

uint32

 

GetIndex

(
    EFrameType T
)

Helper accessors.

Public function Const

uint32

 

GetResourcesSize()

Return the memory size for GPU resources

Public function

void

 

SwapBuffer()

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Get the resource name

Public function Virtual

void

 

InitRHI()

Init the buffer

Public function Virtual

void

 

ReleaseRHI()

Release the buffer

Enums

Name

Description

Public enum

EFrameType

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