Synced
IRenderDevice.UpdateTexture
Section titled “IRenderDevice.UpdateTexture”
- Replaces one complete mip and addressable layer, slice, or cubemap face.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”void Inno.Rendering.IRenderDevice.UpdateTexture(Inno.Rendering.PersistentTextureHandle texture, System.ReadOnlySpan<byte> data, int mipLevel = 0, int arrayLayer = 0)Parameters
Section titled “Parameters”Parameter texture: Texture owned by this device generation.
Parameter data: Tightly packed complete subresource bytes.
Parameter mipLevel: Zero-based mip level.
Parameter arrayLayer: Zero-based 2D array layer, 3D Z slice, or flattened cubemap face using cube-layer * 6 + face.