Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Updates a rectangular region of an active persistent texture without recreating it.

API: engine
Project: Inno.Rendering.Runtime

void Inno.Rendering.Runtime.IRenderResourceService.UpdateTexture(Inno.Rendering.PersistentTextureHandle texture, Inno.Rendering.RenderTextureRegion region, System.ReadOnlyMemory<byte> data)

Parameter texture: Texture owned by the active device generation.

Parameter region: Destination mip, texel rectangle, and layer range.

Parameter data: Tightly packed region bytes.