Synced
IRenderResourceService.TryResolveTexture
Section titled “IRenderResourceService.TryResolveTexture”
- Resolves an imported texture into a persistent sampled texture.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”bool Inno.Rendering.Runtime.IRenderResourceService.TryResolveTexture(Inno.Rendering.Assets.TextureAsset texture, out Inno.Rendering.PersistentTextureHandle resolvedTexture)Parameters
Section titled “Parameters”Parameter texture: Imported texture asset.
Parameter resolvedTexture: Receives a generation-scoped texture handle when successful.
Returns
Section titled “Returns”True when current or last-good texture content is usable.