FHairStrandsDeformedResource

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FHairStrandsDeformedResource

References

Module

HairStrandsCore

Header

/Engine/Plugins/Experimental/HairStrands/Source/HairStrandsCore/Public/GroomAsset.h

Include

#include "GroomAsset.h"

Syntax

struct FHairStrandsDeformedResource : public FRenderResource

Variables

Name Description

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

FRWBuffer [2]

 

DeformedPositionBuffer

Strand hair deformed position buffer (previous and current)

Public variable

FVector

 

PositionOffset

Position offset as the deformed positions are expressed in relative coordinate (16bits)

Public variable

const FHairStra...

 

RenderData

Reference to the hair strands render data

Public variable

FRWBuffer

 

TangentBuffer

Strand hair tangent buffer

Constructors

Name Description

Public function

FHairStrandsDeformedResource

(
    const FHairStrandsDatas::FRenderDat...,
    bool bInitializeData
)

Build the hair strands resource

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback