public BindSparseInfo ( StructureType sType = StructureType.BindSparseInfo, void *pNext = default, uint waitSemaphoreCount = default, Semaphore *pWaitSemaphores = default, uint bufferBindCount = default, SparseBufferMemoryBindInfo *pBufferBinds = default, uint imageOpaqueBindCount = default, SparseImageOpaqueMemoryBindInfo *pImageOpaqueBinds = default, uint imageBindCount = default, SparseImageMemoryBindInfo *pImageBinds = default, uint signalSemaphoreCount = default, Semaphore *pSignalSemaphores = default ) { SType = sType; PNext = pNext; WaitSemaphoreCount = waitSemaphoreCount; PWaitSemaphores = pWaitSemaphores; BufferBindCount = bufferBindCount; PBufferBinds = pBufferBinds; ImageOpaqueBindCount = imageOpaqueBindCount; PImageOpaqueBinds = pImageOpaqueBinds; ImageBindCount = imageBindCount; PImageBinds = pImageBinds; SignalSemaphoreCount = signalSemaphoreCount; PSignalSemaphores = pSignalSemaphores; }
unsafe public void Dispose() { if (mPtr != null) { Interlocked.Exchange(ref mPtr->Count, 0); mPtr = null; } }
unsafe public void Dispose() { if (mPtr != null) { mPtr->Free(); mPtr = null; } }
public SubmitInfo ( StructureType?sType = StructureType.SubmitInfo, void *pNext = null, uint?waitSemaphoreCount = null, Semaphore *pWaitSemaphores = null, PipelineStageFlags *pWaitDstStageMask = null, uint?commandBufferCount = null, CommandBuffer *pCommandBuffers = null, uint?signalSemaphoreCount = null, Semaphore *pSignalSemaphores = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (waitSemaphoreCount is not null) { WaitSemaphoreCount = waitSemaphoreCount.Value; } if (pWaitSemaphores is not null) { PWaitSemaphores = pWaitSemaphores; } if (pWaitDstStageMask is not null) { PWaitDstStageMask = pWaitDstStageMask; } if (commandBufferCount is not null) { CommandBufferCount = commandBufferCount.Value; } if (pCommandBuffers is not null) { PCommandBuffers = pCommandBuffers; } if (signalSemaphoreCount is not null) { SignalSemaphoreCount = signalSemaphoreCount.Value; } if (pSignalSemaphores is not null) { PSignalSemaphores = pSignalSemaphores; } }
public PresentInfoKHR ( StructureType?sType = StructureType.PresentInfoKhr, void *pNext = null, uint?waitSemaphoreCount = null, Semaphore *pWaitSemaphores = null, uint?swapchainCount = null, SwapchainKHR *pSwapchains = null, uint *pImageIndices = null, Result *pResults = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (waitSemaphoreCount is not null) { WaitSemaphoreCount = waitSemaphoreCount.Value; } if (pWaitSemaphores is not null) { PWaitSemaphores = pWaitSemaphores; } if (swapchainCount is not null) { SwapchainCount = swapchainCount.Value; } if (pSwapchains is not null) { PSwapchains = pSwapchains; } if (pImageIndices is not null) { PImageIndices = pImageIndices; } if (pResults is not null) { PResults = pResults; } }
public SemaphoreWaitInfo ( StructureType sType = StructureType.SemaphoreWaitInfo, void *pNext = default, SemaphoreWaitFlags flags = default, uint semaphoreCount = default, Semaphore *pSemaphores = default, ulong *pValues = default ) { SType = sType; PNext = pNext; Flags = flags; SemaphoreCount = semaphoreCount; PSemaphores = pSemaphores; PValues = pValues; }
public PresentInfoKHR ( StructureType sType = StructureType.PresentInfoKhr, void *pNext = default, uint waitSemaphoreCount = default, Semaphore *pWaitSemaphores = default, uint swapchainCount = default, SwapchainKHR *pSwapchains = default, uint *pImageIndices = default, Result *pResults = default ) { SType = sType; PNext = pNext; WaitSemaphoreCount = waitSemaphoreCount; PWaitSemaphores = pWaitSemaphores; SwapchainCount = swapchainCount; PSwapchains = pSwapchains; PImageIndices = pImageIndices; PResults = pResults; }
public SemaphoreWaitInfo ( StructureType?sType = StructureType.SemaphoreWaitInfo, void *pNext = null, SemaphoreWaitFlags?flags = null, uint?semaphoreCount = null, Semaphore *pSemaphores = null, ulong *pValues = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (flags is not null) { Flags = flags.Value; } if (semaphoreCount is not null) { SemaphoreCount = semaphoreCount.Value; } if (pSemaphores is not null) { PSemaphores = pSemaphores; } if (pValues is not null) { PValues = pValues; } }
public SubmitInfo ( StructureType sType = StructureType.SubmitInfo, void *pNext = default, uint waitSemaphoreCount = default, Semaphore *pWaitSemaphores = default, PipelineStageFlags *pWaitDstStageMask = default, uint commandBufferCount = default, CommandBuffer *pCommandBuffers = default, uint signalSemaphoreCount = default, Semaphore *pSignalSemaphores = default ) { SType = sType; PNext = pNext; WaitSemaphoreCount = waitSemaphoreCount; PWaitSemaphores = pWaitSemaphores; PWaitDstStageMask = pWaitDstStageMask; CommandBufferCount = commandBufferCount; PCommandBuffers = pCommandBuffers; SignalSemaphoreCount = signalSemaphoreCount; PSignalSemaphores = pSignalSemaphores; }
public BindSparseInfo ( StructureType?sType = StructureType.BindSparseInfo, void *pNext = null, uint?waitSemaphoreCount = null, Semaphore *pWaitSemaphores = null, uint?bufferBindCount = null, SparseBufferMemoryBindInfo *pBufferBinds = null, uint?imageOpaqueBindCount = null, SparseImageOpaqueMemoryBindInfo *pImageOpaqueBinds = null, uint?imageBindCount = null, SparseImageMemoryBindInfo *pImageBinds = null, uint?signalSemaphoreCount = null, Semaphore *pSignalSemaphores = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (waitSemaphoreCount is not null) { WaitSemaphoreCount = waitSemaphoreCount.Value; } if (pWaitSemaphores is not null) { PWaitSemaphores = pWaitSemaphores; } if (bufferBindCount is not null) { BufferBindCount = bufferBindCount.Value; } if (pBufferBinds is not null) { PBufferBinds = pBufferBinds; } if (imageOpaqueBindCount is not null) { ImageOpaqueBindCount = imageOpaqueBindCount.Value; } if (pImageOpaqueBinds is not null) { PImageOpaqueBinds = pImageOpaqueBinds; } if (imageBindCount is not null) { ImageBindCount = imageBindCount.Value; } if (pImageBinds is not null) { PImageBinds = pImageBinds; } if (signalSemaphoreCount is not null) { SignalSemaphoreCount = signalSemaphoreCount.Value; } if (pSignalSemaphores is not null) { PSignalSemaphores = pSignalSemaphores; } }