Пример #1
0
 internal unsafe void MarshalTo(SharpVk.Interop.QueryPoolCreateInfo *pointer)
 {
     pointer->SType = StructureType.QueryPoolCreateInfo;
     pointer->Next  = null;
     if (this.Flags != null)
     {
         pointer->Flags = this.Flags.Value;
     }
     else
     {
         pointer->Flags = default(SharpVk.QueryPoolCreateFlags);
     }
     pointer->QueryType  = this.QueryType;
     pointer->QueryCount = this.QueryCount;
     if (this.PipelineStatistics != null)
     {
         pointer->PipelineStatistics = this.PipelineStatistics.Value;
     }
     else
     {
         pointer->PipelineStatistics = default(SharpVk.QueryPipelineStatisticFlags);
     }
 }
Пример #2
0
 public static extern SharpVk.Result vkCreateQueryPool(SharpVk.Interop.Device device, SharpVk.Interop.QueryPoolCreateInfo *createInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.QueryPool *queryPool);