コード例 #1
0
 public DredAutoBreadcrumbsOutput
 (
     AutoBreadcrumbNode *pHeadAutoBreadcrumbNode = null
 ) : this()
 {
     if (pHeadAutoBreadcrumbNode is not null)
     {
         PHeadAutoBreadcrumbNode = pHeadAutoBreadcrumbNode;
     }
 }
コード例 #2
0
        public DeviceRemovedExtendedData
        (
            DredFlags?flags = null,
            AutoBreadcrumbNode *pHeadAutoBreadcrumbNode = null
        ) : this()
        {
            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (pHeadAutoBreadcrumbNode is not null)
            {
                PHeadAutoBreadcrumbNode = pHeadAutoBreadcrumbNode;
            }
        }
コード例 #3
0
        public AutoBreadcrumbNode
        (
            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,
            AutoBreadcrumbNode *pNext         = 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;
            }
        }