예제 #1
0
 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;
     }
 }
예제 #2
0
 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;
     }
 }
예제 #3
0
 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;
     }
 }