FD3D12ConstantBuffer::UpdateConstant

Updates a variable in the constant buffer.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12ConstantBuffer.h

Include

#include "D3D12ConstantBuffer.h"

Syntax

void UpdateConstant
(
    const uint8 * Data,
    uint16 Offset,
    uint16 InSize
)

Remarks

Updates a variable in the constant buffer.

Parameters

Parameter

Description

Data

The data to copy into the constant buffer

Offset

The offset in the constant buffer to place the data at

InSize

The size of the data being copied

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