예제 #1
0
        public PipelineLibraryCreateInfoKHR
        (
            StructureType?sType  = StructureType.PipelineLibraryCreateInfoKhr,
            void *pNext          = null,
            uint?libraryCount    = null,
            Pipeline *pLibraries = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (libraryCount is not null)
            {
                LibraryCount = libraryCount.Value;
            }

            if (pLibraries is not null)
            {
                PLibraries = pLibraries;
            }
        }
예제 #2
0
 public PipelineLibraryCreateInfoKHR
 (
     StructureType sType  = StructureType.PipelineLibraryCreateInfoKhr,
     void *pNext          = default,
     uint libraryCount    = default,
     Pipeline *pLibraries = default
 )
 {
     SType        = sType;
     PNext        = pNext;
     LibraryCount = libraryCount;
     PLibraries   = pLibraries;
 }
 public GraphicsPipelineShaderGroupsCreateInfoNV
 (
     StructureType sType = StructureType.GraphicsPipelineShaderGroupsCreateInfoNV,
     void *pNext         = default,
     uint groupCount     = default,
     GraphicsShaderGroupCreateInfoNV *pGroups = default,
     uint pipelineCount   = default,
     Pipeline *pPipelines = default
 )
 {
     SType         = sType;
     PNext         = pNext;
     GroupCount    = groupCount;
     PGroups       = pGroups;
     PipelineCount = pipelineCount;
     PPipelines    = pPipelines;
 }
예제 #4
0
        public GraphicsPipelineShaderGroupsCreateInfoNV
        (
            StructureType?sType = StructureType.GraphicsPipelineShaderGroupsCreateInfoNV,
            void *pNext         = null,
            uint?groupCount     = null,
            GraphicsShaderGroupCreateInfoNV *pGroups = null,
            uint?pipelineCount   = null,
            Pipeline *pPipelines = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (groupCount is not null)
            {
                GroupCount = groupCount.Value;
            }

            if (pGroups is not null)
            {
                PGroups = pGroups;
            }

            if (pipelineCount is not null)
            {
                PipelineCount = pipelineCount.Value;
            }

            if (pPipelines is not null)
            {
                PPipelines = pPipelines;
            }
        }
예제 #5
0
 /// <summary>To be documented.</summary>
 public static unsafe Result CreateRayTracingPipelines(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(FlowDirection.In)] RayTracingPipelineCreateInfoNV *pCreateInfos, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Parameter = "createInfoCount"), Flow(FlowDirection.Out)] Pipeline *pPipelines)
 {
     // SpanOverloader
     return(thisApi.CreateRayTracingPipelines(device, pipelineCache, createInfoCount, pCreateInfos, in pAllocator.GetPinnableReference(), pPipelines));
 }
예제 #6
0
 public abstract unsafe Result CreateRayTracingPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Computed = "createInfoCount"), Flow(FlowDirection.In)] RayTracingPipelineCreateInfoNV *pCreateInfos, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks *pAllocator, [Count(Computed = "createInfoCount"), Flow(FlowDirection.Out)] Pipeline *pPipelines);
예제 #7
0
 /// <summary>To be documented.</summary>
 public static unsafe Result CreateRayTracingPipelines(this KhrRayTracingPipeline thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(FlowDirection.In)] ReadOnlySpan <RayTracingPipelineCreateInfoKHR> pCreateInfos, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks *pAllocator, [Count(Parameter = "createInfoCount"), Flow(FlowDirection.Out)] Pipeline *pPipelines)
 {
     // SpanOverloader
     return(thisApi.CreateRayTracingPipelines(device, deferredOperation, pipelineCache, createInfoCount, in pCreateInfos.GetPinnableReference(), pAllocator, pPipelines));
 }