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: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.RenderTextureArtifactReference.RenderTextureArtifactReference(System.Guid assetId, long contentRevision, Inno.Rendering.Assets.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.