Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

IRenderTargetArtifactProvider.GetTextureArtifact

Section titled “IRenderTargetArtifactProvider.GetTextureArtifact”
  • Resolves the portable KTX artifact for one imported runtime texture.

API: engine
Project: Inno.Rendering.Runtime

Inno.Rendering.Runtime.RenderTargetArtifactStatus Inno.Rendering.Runtime.IRenderTargetArtifactProvider.GetTextureArtifact(Inno.Rendering.Assets.RenderTextureArtifactReference texture, out System.ReadOnlyMemory<byte> artifact)

Parameter texture: Stable reference to the imported texture slot.

Parameter artifact: Receives immutable KTX bytes when the artifact exists and is non-empty.

The current artifact availability. F:Inno.Rendering.Runtime.RenderTargetArtifactStatus.Ready guarantees that artifact is non-empty.

Exception T:System.ArgumentNullException: Thrown when texture is invalid.