FOpenGLDynamicRHI::RHIUpdateTexture3D

FlushType: Flush RHI Thread.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIUpdateTexture3D()

FOpenGLDynamicRHI::RHIUpdateTexture3D()

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp

Syntax

virtual void RHIUpdateTexture3D
(
    FRHITexture3D * Texture,
    uint32 MipIndex,
    const struct FUpdateTextureRegion3D & UpdateRegion,
    uint32 SourceRowPitch,
    uint32 SourceDepthPitch,
    const uint8 * SourceData
)

Remarks

Updates a region of a 3D texture from system memory

Parameters

Parameter

Description

Texture

the RHI texture resource to update

MipIndex

mip level index to be modified

UpdateRegion

The rectangle to copy source image data from

SourceRowPitch

size in bytes of each row of the source image, usually Bpp * SizeX

SourceDepthPitch

size in bytes of each depth slice of the source image, usually Bpp SizeX SizeY

SourceData

source image data, starting at the upper left corner of the source rectangle (in same pixel format as texture)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback