Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.Multivendor.PhysicalDeviceLineRasterizationFeatures *pointer)
 {
     pointer->SType                    = StructureType.PhysicalDeviceLineRasterizationFeatures;
     pointer->Next                     = null;
     pointer->RectangularLines         = this.RectangularLines;
     pointer->BresenhamLines           = this.BresenhamLines;
     pointer->SmoothLines              = this.SmoothLines;
     pointer->StippledRectangularLines = this.StippledRectangularLines;
     pointer->StippledBresenhamLines   = this.StippledBresenhamLines;
     pointer->StippledSmoothLines      = this.StippledSmoothLines;
 }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        internal static unsafe PhysicalDeviceLineRasterizationFeatures MarshalFrom(SharpVk.Interop.Multivendor.PhysicalDeviceLineRasterizationFeatures *pointer)
        {
            PhysicalDeviceLineRasterizationFeatures result = default(PhysicalDeviceLineRasterizationFeatures);

            result.RectangularLines         = pointer->RectangularLines;
            result.BresenhamLines           = pointer->BresenhamLines;
            result.SmoothLines              = pointer->SmoothLines;
            result.StippledRectangularLines = pointer->StippledRectangularLines;
            result.StippledBresenhamLines   = pointer->StippledBresenhamLines;
            result.StippledSmoothLines      = pointer->StippledSmoothLines;
            return(result);
        }