Navigation
Unreal Engine C++ API Reference > Runtime > NullDrv > FNullDynamicRHI
- FDynamicRHI::RHIUpdateTexture2D()
- FNullDynamicRHI::RHIUpdateTexture2D()
References
Module | NullDrv |
Header | /Engine/Source/Runtime/NullDrv/Public/NullRHI.h |
Include | #include "NullRHI.h" |
virtual void RHIUpdateTexture2D
&40;
FRHICommandListBase & RHICmdList,
FRHITexture2D &42; Texture,
uint32 MipIndex,
const struct FUpdateTextureRegion2D & UpdateRegion,
uint32 SourcePitch,
const uint8 &42; SourceData
&41;
Remarks
Updates a region of a 2D texture from system memory
Parameters
Name | Description |
---|---|
Texture | the RHI texture resource to update |
MipIndex | mip level index to be modified |
UpdateRegion | The rectangle to copy source image data from |
SourcePitch | size in bytes of each row of the source image |
SourceData | source image data, starting at the upper left corner of the source rectangle (in same pixel format as texture) |