Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Acquires or atomically replaces a sampled texture from a portable KTX container.

API: engine
Project: Inno.Rendering.Runtime

Inno.Rendering.PersistentTextureHandle Inno.Rendering.Runtime.IRenderResourceService.AcquireKtxTexture(Inno.Rendering.Runtime.RenderPersistentResourceId id, long revision, System.ReadOnlyMemory<byte> containerData, bool sRgb, string name)

Parameter id: Globally stable provider-owned resource ID.

Parameter revision: Provider-controlled content revision.

Parameter containerData: Complete validated KTX bytes.

Parameter sRgb: Whether texture sampling performs sRGB decoding.

Parameter name: Diagnostic name.

A handle owned by the active device generation.