Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

RenderTextureArtifactReference.Constructor

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

API: engine
Project: Inno.Rendering.Assets

public Inno.Rendering.Assets.RenderTextureArtifactReference.RenderTextureArtifactReference(System.Guid assetId, long contentRevision, Inno.Rendering.Assets.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.