FHairCardsProceduralResource

Render buffers that will be used for rendering

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FHairCardsProceduralResource

References

Module

HairStrandsCore

Header

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

Include

#include "GroomResources.h"

Syntax

struct FHairCardsProceduralResource : public FRenderResource

Remarks

Render buffers that will be used for rendering

Variables

Name Description

Public variable

FRDGExternalBuf...

 

AtlasRectBuffer

Public variable

FIntPoint

 

AtlasResolution

Public variable

uint32

 

CardBoundCount

Strand hair rest position buffer

Public variable

FRDGExternalBuf...

 

CardItToClusterBuffer

Public variable

FRDGExternalBuf...

 

CardsStrandsAttributes

Public variable

FRDGExternalBuf...

 

CardsStrandsPositions

Public variable

FHairCardsVoxel

 

CardVoxel

Public variable

FRDGExternalBuf...

 

ClusterBoundBuffer

Public variable

FRDGExternalBuf...

 

ClusterIdToVerticesBuffer

Public variable

FRDGExternalBuf...

 

LengthBuffer

Public variable

const FHairCard...

 

RenderData

FVector PositionOffset = FVector::ZeroVector;.

Constructors

Name Description

Public function

FHairCardsProceduralResource

(
    const FHairCardsProceduralDatas::FR...,
    const FIntPoint& AtlasResolution,
    const FHairCardsVoxel& InVoxel
)

Build the hair strands resource

Functions

Name Description

Public function Const

uint32

 

GetResourcesSize()

Return the memory size for GPU resources

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

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