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: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”void Inno.Rendering.Runtime.IRenderResourceService.UpdateTexture(Inno.Rendering.PersistentTextureHandle texture, Inno.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.