Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced

RenderTextureArtifactReference.Constructor

Section titled “RenderTextureArtifactReference.Constructor”
  • Creates a reference to one texture slot owned by an imported asset generation.

API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime

public InnoEngine.Rendering.RenderTextureArtifactReference.RenderTextureArtifactReference(System.Guid assetId, long contentRevision, InnoEngine.Rendering.RenderTextureArtifactSlot slot)

Parameter assetId: Persistent identity of the asset that owns the named source artifact.

Parameter contentRevision: Current committed content revision of the owning asset.

Parameter slot: Stable texture slot declaration.

Exception T:System.ArgumentException: Thrown when assetId is empty or contentRevision is negative.