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 AmtCommandPool( IMTLCommandQueue queue, MgCommandPoolCreateInfo pCreateInfo, IAmtCmdDepthStencilCache depthCache) { mQueue = queue; CanIndividuallyReset = (pCreateInfo.Flags & MgCommandPoolCreateFlagBits.RESET_COMMAND_BUFFER_BIT) == MgCommandPoolCreateFlagBits.RESET_COMMAND_BUFFER_BIT; mBuffers = new List <AmtCommandBuffer>(); DepthCache = depthCache; }
public Result CreateCommandPool(MgCommandPoolCreateInfo pCreateInfo, IMgAllocationCallbacks allocator, out IMgCommandPool pCommandPool) { throw new NotImplementedException(); }
public Result CreateCommandPool(MgCommandPoolCreateInfo pCreateInfo, IMgAllocationCallbacks allocator, out IMgCommandPool pCommandPool) { pCommandPool = new GLCommandPool(pCreateInfo.Flags); return(Result.SUCCESS); }