Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pointer">
 /// </param>
 internal unsafe void MarshalTo(SharpVk.Interop.Multivendor.PhysicalDeviceSubgroupSizeControlFeatures *pointer)
 {
     pointer->SType = StructureType.PhysicalDeviceSubgroupSizeControlFeatures;
     pointer->Next  = null;
     pointer->SubgroupSizeControl  = this.SubgroupSizeControl;
     pointer->ComputeFullSubgroups = this.ComputeFullSubgroups;
 }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="pointer">
        /// </param>
        internal static unsafe PhysicalDeviceSubgroupSizeControlFeatures MarshalFrom(SharpVk.Interop.Multivendor.PhysicalDeviceSubgroupSizeControlFeatures *pointer)
        {
            PhysicalDeviceSubgroupSizeControlFeatures result = default(PhysicalDeviceSubgroupSizeControlFeatures);

            result.SubgroupSizeControl  = pointer->SubgroupSizeControl;
            result.ComputeFullSubgroups = pointer->ComputeFullSubgroups;
            return(result);
        }