FD3D12ConstantBuffer::UpdateConstant

Updates a variable in the constant buffer.

Choose your operating system:

Windows

macOS

Linux

References

Module

D3D12RHI

Header

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

Include

#include "D3D12ConstantBuffer.h"

Syntax

FORCEINLINE_DEBUGGABLEvoid 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