Synced
RenderTextureArtifactReference.Constructor
Section titled “RenderTextureArtifactReference.Constructor”
- Creates a reference to one texture slot owned by an imported asset generation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Rendering.RenderTextureArtifactReference.RenderTextureArtifactReference(System.Guid assetId, long contentRevision, InnoEngine.Rendering.RenderTextureArtifactSlot slot)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when assetId is empty or contentRevision is negative.