protected override void SetComputeResourceSetCore(uint slot, ResourceSet rs) { if (_currentComputeResourceSets[slot] != rs) { VkResourceSet vkRS = Util.AssertSubtype <ResourceSet, VkResourceSet>(rs); _currentComputeResourceSets[slot] = vkRS; _computeResourceSetsChanged[slot] = true; } }
public override void SetResourceSet(uint slot, ResourceSet rs) { if (_currentResourceSets[slot] != rs) { VkResourceSet vkRS = Util.AssertSubtype <ResourceSet, VkResourceSet>(rs); _currentResourceSets[slot] = vkRS; _resourceSetsChanged[slot] = true; } }
protected override void SetGraphicsResourceSetCore(uint slot, ResourceSet rs) { if (_currentGraphicsResourceSets[slot] != rs) { VkResourceSet vkRS = Util.AssertSubtype <ResourceSet, VkResourceSet>(rs); _currentGraphicsResourceSets[slot] = vkRS; _graphicsResourceSetsChanged[slot] = true; _newGraphicsResourceSets += 1; } }