internal override void Draw(Display.DisplayPipeline pipeline, System.Drawing.Color color, int density) { IntPtr pDisplayPipeline = pipeline.NonConstPointer(); IntPtr ptr = ConstPointer(); int argb = color.ToArgb(); UnsafeNativeMethods.CRhinoDisplayPipeline_DrawNurbsSurface(pDisplayPipeline, ptr, argb, density); }
internal Light(Display.DisplayPipeline parentPipeline, int index) : base(IntPtr.Zero, parentPipeline, index) { }
/// <summary> /// Get CRhinoDisplayPipeline* for a DisplayPipeline instance /// </summary> /// <param name="pipeline"></param> /// <returns></returns> /// <since>6.0</since> public static IntPtr NativeNonConstPointer(Display.DisplayPipeline pipeline) { return(pipeline.NonConstPointer()); }