Synced
ShaderSourceBundle.Read
Section titled “ShaderSourceBundle.Read”
- Reads an immutable function snapshot through its explicit artifact owner.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public static byte[] Inno.Rendering.Assets.Authoring.ShaderSourceBundle.Read(Inno.Rendering.Assets.Authoring.ShaderFunctionAsset function, Inno.Assets.IAssetArtifactLookup artifacts)Parameters
Section titled “Parameters”Parameter function: Stable function asset identity.
Parameter artifacts: Current authoring artifact lookup.
Returns
Section titled “Returns”Detached module bytes retained for the duration of reading.