Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
- FDynamicRHI::RHIUpdateTexture3D()
- FVulkanDynamicRHI::RHIUpdateTexture3D()
- FNullDynamicRHI::RHIUpdateTexture3D()
- FOpenGLDynamicRHI::RHIUpdateTexture3D()
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include | #include "DynamicRHI.h" |
void RHIUpdateTexture3D
&40;
FRHICommandListBase & RHICmdList,
FRHITexture3D &42; Texture,
uint32 MipIndex,
const struct FUpdateTextureRegion3D & UpdateRegion,
uint32 SourceRowPitch,
uint32 SourceDepthPitch,
const uint8 &42; SourceData
&41;
Remarks
Updates a region of a 3D 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 |
| 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) |