internal CommandCache(IProcLookup host, string type, CommandCache parent) { this.host = host; this.type = type; this.parent = parent; this.cache = parent?.cache ?? default; }
/// <summary> /// Creates a new instance of CommandCache using the given IProcLookup /// instance to load unmanaged Vulkan function pointers. /// </summary> /// <param name="procLookup"> /// An implementation of IProcLookup that can load the core Vulkan /// commands. /// </param> public CommandCache(IProcLookup procLookup) : this(procLookup, "", null) { }