Synced
IRenderResourceService.UpdateTexture
Section titled “IRenderResourceService.UpdateTexture”
- Updates a rectangular region of an active persistent texture without recreating it.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime
Declaration
Section titled “Declaration”void InnoEngine.Rendering.IRenderResourceService.UpdateTexture(InnoEngine.Rendering.PersistentTextureHandle texture, InnoEngine.Rendering.RenderTextureRegion region, System.ReadOnlyMemory<byte> data)Parameters
Section titled “Parameters”Parameter texture: Texture owned by the active device generation.
Parameter region: Destination mip, texel rectangle, and layer range.
Parameter data: Tightly packed region bytes.