public void FreeCommandBuffers(IMgCommandPool commandPool, IMgCommandBuffer[] pCommandBuffers) { foreach (var item in pCommandBuffers) { var cmdBuf = (IGLCommandBuffer)item; cmdBuf.ResetAllData(); } }
public MgThreadPartition( IMgPhysicalDevice physicalDevice, IMgDevice device, IMgQueue queue, IMgCommandPool commandPool, MgPhysicalDeviceMemoryProperties deviceMemoryProperties) { mPhysicalDevice = physicalDevice; mDevice = device; this.Queue = queue; this.CommandPool = commandPool; mDeviceMemoryProperties = deviceMemoryProperties; }
public void FreeCommandBuffers(IMgCommandPool commandPool, IMgCommandBuffer[] pCommandBuffers) { }
public Result CreateCommandPool(MgCommandPoolCreateInfo pCreateInfo, IMgAllocationCallbacks allocator, out IMgCommandPool pCommandPool) { var queue = mDevice.CreateCommandQueue(mQuery.NoOfCommandBufferSlots); var depthCache = new AmtCmdDepthStencilCache(); pCommandPool = new AmtCommandPool(queue, pCreateInfo, depthCache); return(Result.SUCCESS); }
public Result CreateCommandPool(MgCommandPoolCreateInfo pCreateInfo, IMgAllocationCallbacks allocator, out IMgCommandPool pCommandPool) { throw new NotImplementedException(); }
public void FreeCommandBuffers(IMgCommandPool commandPool, IMgCommandBuffer[] pCommandBuffers) { throw new NotImplementedException(); }
public Result CreateCommandPool(MgCommandPoolCreateInfo pCreateInfo, IMgAllocationCallbacks allocator, out IMgCommandPool pCommandPool) { pCommandPool = new GLCommandPool(pCreateInfo.Flags); return(Result.SUCCESS); }