CopyTextureData2D

Copies the data for a 2D texture between two buffers with potentially different strides.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h

Include

#include "RenderUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp

Syntax

void CopyTextureData2D
(
    const void * Source,
    void * Dest,
    uint32 SizeY,
    EPixelFormat Format,
    uint32 SourceStride,
    uint32 DestStride
)

Remarks

Copies the data for a 2D texture between two buffers with potentially different strides.

Parameters

Parameter

Description

Source

The source buffer

Dest

The destination buffer.

SizeY

The height of the texture data to copy in pixels.

Format

The format of the texture being copied.

SourceStride

The stride of the source buffer.

DestStride

The stride of the destination buffer.

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