Synced
IRenderResourceService.AcquireKtxTexture
Section titled “IRenderResourceService.AcquireKtxTexture”
- Acquires or atomically replaces a sampled texture from a portable KTX container.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”Inno.Rendering.PersistentTextureHandle Inno.Rendering.Runtime.IRenderResourceService.AcquireKtxTexture(Inno.Rendering.Runtime.RenderPersistentResourceId id, long revision, System.ReadOnlyMemory<byte> containerData, bool sRgb, string name)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”A handle owned by the active device generation.