Ejemplo n.º 1
0
 public CommandListSingleAllocationPolicy(CommandListType type, Device device)
 {
     var allocatorDesc = new CommandAllocator.Descriptor() {Type = type};
     Allocator = device.Create(ref allocatorDesc);
     Allocator.AddRef();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a CommandAllocator. Usually not needed, since this is done by the CommandListAllocaionPolicy.
 /// </summary>
 public abstract CommandAllocator Create(ref CommandAllocator.Descriptor desc, string label = "<unnamed commandAllocator>");