FRHIBuffer

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

class FRHIBuffer : public FRHIResource

Constructors

Name Description

Public function

FRHIBuffer()

Public function

FRHIBuffer

(
    uint32 InSize,
    EBufferUsageFlags InUsage,
    uint32 InStride
)

Initialization constructor.

Functions

Name Description

Public function Const

FName

 

GetName()

Public function Virtual Const

uint32

 

GetParentGPUIndex()

Public function Const

uint32

 

GetSize()

Public function Const

uint32

 

GetStride()

Public function Const

EBufferUsage...

 

GetUsage()

Protected function

void

 

ReleaseUnderlyingResource()

Public function

void

 

SetName

(
    const FName& InName
)

Protected function

void

 

SetUsage

(
    EBufferUsageFlags InUsage
)

Used by RHI implementations that may adjust internal usage flags during object construction.

Protected function

void

 

Swap

(
    FRHIBuffer& Other
)