Language:
Discover
By Skill Level
By Category

FRHIUniformBufferLayout

Choose your OS:

Syntax

struct FRHIUniformBufferLayout

Remarks

BuffersThe layout of a uniform buffer in memory.

Variables

Name Description

Public variable

uint32

 

ConstantBufferSize

The size of the constant buffer in bytes.

Public variable

TArray < uint16 ...

 

ResourceOffsets

Byte offset to each resource in the uniform buffer memory.

Public variable

TArray < uint8 >

 

Resources

The type of each resource (EUniformBufferBaseType).

Constructors

Name Description

Public function

FRHIUniformBufferLayout

(
    FName InName
)

Public function

FRHIUniformBufferLayout

(
    EInit
)

Functions

Name Description

Public function

void

 

ComputeHash()

Public function

void

 

CopyFrom

(
    const FRHIUniformBufferLayout & Sou...
)

Public function

const FName

 

GetDebugName()

Public function

uint32

 

GetHash()

Enums

Name

Description

Public enum

EInit

References

Module

RHI

Header

Runtime/RHI/Public/RHIResources.h