private void Recreate() { NativeDescriptorPool = GraphicsDevice.DescriptorPools.GetObject(); allocatedTypeCounts = new uint[DescriptorSetLayout.DescriptorTypeCount]; allocatedSetCount = 0; }
private void Recreate() { NativeDescriptorPool = GraphicsDevice.descriptorPools.GetObject(); allocatedTypeCounts = new uint[DescriptorSetLayout.DescriptorTypeCount]; allocatedSetCount = 0; }
public void Reset() { GraphicsDevice.DescriptorPools.RecycleObject(GraphicsDevice.NextFenceValue, NativeDescriptorPool); NativeDescriptorPool = GraphicsDevice.DescriptorPools.GetObject(); allocatedSetCount = 0; for (int i = 0; i < DescriptorSetLayout.DescriptorTypeCount; i++) { allocatedTypeCounts[i] = 0; } }
public void Reset() { GraphicsDevice.descriptorPools.RecycleObject(GraphicsDevice.NextFenceValue, NativeDescriptorPool); NativeDescriptorPool = GraphicsDevice.descriptorPools.GetObject(); allocatedSetCount = 0; for (int i = 0; i < DescriptorSetLayout.DescriptorTypeCount; i++) { allocatedTypeCounts[i] = 0; } }