Synced
IRenderDevice.UpdateTextureRegion
Section titled “IRenderDevice.UpdateTextureRegion”
- Replaces a tightly packed rectangular region in one persistent texture subresource.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”void Inno.Rendering.IRenderDevice.UpdateTextureRegion(Inno.Rendering.PersistentTextureHandle texture, Inno.Rendering.RenderTextureRegion region, System.ReadOnlySpan<byte> data)Parameters
Section titled “Parameters”Parameter texture: Texture owned by this device generation.
Parameter region: Destination mip, texel rectangle, and layer range.
Parameter data: Tightly packed region bytes.