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

API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime

void InnoEngine.Rendering.IRenderResourceService.UpdateTexture(InnoEngine.Rendering.PersistentTextureHandle texture, InnoEngine.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.