FHairMeshesRestResource

Render buffers that will be used for rendering

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FHairMeshesRestResource

References

Module

HairStrandsCore

Header

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

Include

#include "GroomResources.h"

Syntax

struct FHairMeshesRestResource : public FRenderResource

Remarks

Render buffers that will be used for rendering

Variables

Constructors

Name Description

Public function

FHairMeshesRestResource

(
    const FHairMeshesDatas::FRenderData...,
    uint32 VertexCount,
    uint32 PrimitiveCount
)

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

 

InitResource()

Initializes the resource. This is only called by the rendering thread.

Public function Virtual

void

 

InitRHI()

Init the buffer

Public function Virtual

void

 

ReleaseResource()

Prepares the resource for deletion. This is only called by the rendering thread.

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