public DredAutoBreadcrumbsOutput1
 (
     AutoBreadcrumbNode1 *pHeadAutoBreadcrumbNode = null
 ) : this()
 {
     if (pHeadAutoBreadcrumbNode is not null)
     {
         PHeadAutoBreadcrumbNode = pHeadAutoBreadcrumbNode;
     }
 }
示例#2
0
        public AutoBreadcrumbNode1
        (
            byte *pCommandListDebugNameA            = null,
            char *pCommandListDebugNameW            = null,
            byte *pCommandQueueDebugNameA           = null,
            char *pCommandQueueDebugNameW           = null,
            ID3D12GraphicsCommandList *pCommandList = null,
            ID3D12CommandQueue *pCommandQueue       = null,
            uint?breadcrumbCount                       = null,
            uint *pLastBreadcrumbValue                 = null,
            AutoBreadcrumbOp *pCommandHistory          = null,
            AutoBreadcrumbNode1 *pNext                 = null,
            uint?breadcrumbContextsCount               = null,
            DredBreadcrumbContext *pBreadcrumbContexts = null
        ) : this()
        {
            if (pCommandListDebugNameA is not null)
            {
                PCommandListDebugNameA = pCommandListDebugNameA;
            }

            if (pCommandListDebugNameW is not null)
            {
                PCommandListDebugNameW = pCommandListDebugNameW;
            }

            if (pCommandQueueDebugNameA is not null)
            {
                PCommandQueueDebugNameA = pCommandQueueDebugNameA;
            }

            if (pCommandQueueDebugNameW is not null)
            {
                PCommandQueueDebugNameW = pCommandQueueDebugNameW;
            }

            if (pCommandList is not null)
            {
                PCommandList = pCommandList;
            }

            if (pCommandQueue is not null)
            {
                PCommandQueue = pCommandQueue;
            }

            if (breadcrumbCount is not null)
            {
                BreadcrumbCount = breadcrumbCount.Value;
            }

            if (pLastBreadcrumbValue is not null)
            {
                PLastBreadcrumbValue = pLastBreadcrumbValue;
            }

            if (pCommandHistory is not null)
            {
                PCommandHistory = pCommandHistory;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (breadcrumbContextsCount is not null)
            {
                BreadcrumbContextsCount = breadcrumbContextsCount.Value;
            }

            if (pBreadcrumbContexts is not null)
            {
                PBreadcrumbContexts = pBreadcrumbContexts;
            }
        }