Language:
Discover
By Skill Level
By Category

FPackedUniformBuffers

Choose your OS:

Syntax

class FPackedUniformBuffers

Remarks

This class holds the staging area for packed global uniform buffers for a given shader.

Variables

Name Description

Protected variable

TArray < CrossCo ...

 

EmulatedUBsCopyInfo

Copies to Shader Code Header (shaders may be deleted when we use this object again)

Protected variable

TArray < uint32 ...

 

EmulatedUBsCopyRanges

Protected variable

TArray < FPacked ...

 

PackedUniformBuffers

Functions

Name Description

Public function

const FPacke ...

 

GetBuffer

(
    int32 Index
)

Public function

void

 

Init

(
    const FVulkanShaderHeader & InCodeH...,
    uint64 & OutPackedUniformBufferStag...
)

Public function

void

 

SetEmulatedUniformBufferIntoPacked

(
    uint32 BindPoint,
    const TArray < uint8 >& ConstantDat...,
    uint64 & NEWPackedUniformBufferStag...
)

Copies a 'real' constant buffer into the packed globals uniform buffer (only the used ranges)

Public function

void

 

SetPackedGlobalParameter

(
    uint32 BufferIndex,
    uint32 ByteOffset,
    uint32 NumBytes,
    const void*__restrict NewValue,
    uint64 & InOutPackedUniformBufferSt...
)

Typedefs

Name

Description

FPackedBuffer

One buffer is a chunk of bytes.

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanResources.h