src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (158)
115DUCE.ResourceType resourceType,
116ref DUCE.ResourceHandle hResource
122DUCE.ResourceHandle original,
124ref DUCE.ResourceHandle duplicate
195DUCE.ResourceHandle hResource,
227DUCE.ResourceHandle hResource,
459internal bool CreateOrAddRefOnChannel(object instance, ref DUCE.ResourceHandle handle, DUCE.ResourceType resourceType)
493internal DUCE.ResourceHandle DuplicateHandle(
494DUCE.ResourceHandle original,
495DUCE.Channel targetChannel
498DUCE.ResourceHandle duplicate = DUCE.ResourceHandle.Null;
520internal bool ReleaseOnChannel(DUCE.ResourceHandle handle)
550internal uint GetRefCount(DUCE.ResourceHandle handle)
764DUCE.ResourceHandle imageHandle,
781DUCE.ResourceHandle mediaHandle,
886public static readonly Resource Null = new Resource(DUCE.ResourceHandle.Null);
888private DUCE.ResourceHandle _handle;
898public Resource(DUCE.ResourceHandle h)
909public bool CreateOrAddRefOnChannel(object instance, Channel channel, DUCE.ResourceType type)
937_handle = DUCE.ResourceHandle.Null;
962public DUCE.ResourceHandle Handle { get { return _handle; } }
1248public Entry(object k, DUCE.ResourceHandle v)
1255public DUCE.ResourceHandle _value;
1310public void Set(object key, DUCE.ResourceHandle value)
1343_head._value = DUCE.ResourceHandle.Null;
1407public bool Get(object key, out DUCE.ResourceHandle value)
1411value = DUCE.ResourceHandle.Null;
1499public bool CreateOrAddRefOnChannel(object instance, Channel channel, DUCE.ResourceType type)
1502DUCE.ResourceHandle handle;
1524public DUCE.ResourceHandle DuplicateHandle(Channel sourceChannel, Channel targetChannel)
1527DUCE.ResourceHandle duplicate = DUCE.ResourceHandle.Null;
1529DUCE.ResourceHandle handle = DUCE.ResourceHandle.Null;
1566DUCE.ResourceHandle handle;
1585public DUCE.ResourceHandle GetHandle(Channel channel)
1587DUCE.ResourceHandle h;
1624public DUCE.Channel GetChannel(int index)
1626return _map.Get(index) as DUCE.Channel;
1634DUCE.ResourceHandle handle;
1649DUCE.ResourceHandle hCompositionNode,
1650DUCE.ResourceHandle hTransform,
1653DUCE.MILCMD_VISUAL_SETTRANSFORM command;
1663sizeof(DUCE.MILCMD_VISUAL_SETTRANSFORM)
1670DUCE.ResourceHandle hCompositionNode,
1671DUCE.ResourceHandle hEffect,
1674DUCE.MILCMD_VISUAL_SETEFFECT command;
1684sizeof(DUCE.MILCMD_VISUAL_SETEFFECT)
1691DUCE.ResourceHandle hCompositionNode,
1692DUCE.ResourceHandle hCacheMode,
1695DUCE.MILCMD_VISUAL_SETCACHEMODE command;
1705sizeof(DUCE.MILCMD_VISUAL_SETCACHEMODE)
1711DUCE.ResourceHandle hCompositionNode,
1716DUCE.MILCMD_VISUAL_SETOFFSET command;
1726sizeof(DUCE.MILCMD_VISUAL_SETOFFSET)
1732DUCE.ResourceHandle hCompositionNode,
1733DUCE.ResourceHandle hContent,
1736DUCE.MILCMD_VISUAL_SETCONTENT command;
1746sizeof(DUCE.MILCMD_VISUAL_SETCONTENT)
1752DUCE.ResourceHandle hCompositionNode,
1756DUCE.MILCMD_VISUAL_SETALPHA command;
1766sizeof(DUCE.MILCMD_VISUAL_SETALPHA)
1772DUCE.ResourceHandle hCompositionNode,
1773DUCE.ResourceHandle hAlphaMaskBrush,
1776DUCE.MILCMD_VISUAL_SETALPHAMASK command;
1786sizeof(DUCE.MILCMD_VISUAL_SETALPHAMASK)
1792DUCE.ResourceHandle hCompositionNode,
1796DUCE.MILCMD_VISUAL_SETSCROLLABLEAREACLIP command;
1815sizeof(DUCE.MILCMD_VISUAL_SETSCROLLABLEAREACLIP)
1821DUCE.ResourceHandle hCompositionNode,
1822DUCE.ResourceHandle hClip,
1825DUCE.MILCMD_VISUAL_SETCLIP command;
1835sizeof(DUCE.MILCMD_VISUAL_SETCLIP)
1841DUCE.ResourceHandle hCompositionNode,
1845DUCE.MILCMD_VISUAL_SETRENDEROPTIONS command;
1855sizeof(DUCE.MILCMD_VISUAL_SETRENDEROPTIONS)
1861DUCE.ResourceHandle hCompositionNode,
1862DUCE.ResourceHandle hChild,
1865DUCE.MILCMD_VISUAL_REMOVECHILD command;
1875sizeof(DUCE.MILCMD_VISUAL_REMOVECHILD)
1881DUCE.ResourceHandle hCompositionNode,
1884DUCE.MILCMD_VISUAL_REMOVEALLCHILDREN command;
1893sizeof(DUCE.MILCMD_VISUAL_REMOVEALLCHILDREN)
1899DUCE.ResourceHandle hCompositionNode,
1900DUCE.ResourceHandle hChild,
1904DUCE.MILCMD_VISUAL_INSERTCHILDAT command;
1916sizeof(DUCE.MILCMD_VISUAL_INSERTCHILDAT)
1922DUCE.ResourceHandle hCompositionNode,
1930DUCE.MILCMD_VISUAL_SETGUIDELINECOLLECTION command;
1948sizeof(DUCE.MILCMD_VISUAL_SETGUIDELINECOLLECTION)
1978sizeof(DUCE.MILCMD_VISUAL_SETGUIDELINECOLLECTION),
2000DUCE.ResourceHandle hCompositionNode,
2001DUCE.ResourceHandle hCamera,
2006DUCE.MILCMD_VIEWPORT3DVISUAL_SETCAMERA command;
2014sizeof(DUCE.MILCMD_VIEWPORT3DVISUAL_SETCAMERA)
2020DUCE.ResourceHandle hCompositionNode,
2026DUCE.MILCMD_VIEWPORT3DVISUAL_SETVIEWPORT command;
2034sizeof(DUCE.MILCMD_VIEWPORT3DVISUAL_SETVIEWPORT)
2040DUCE.ResourceHandle hCompositionNode,
2041DUCE.ResourceHandle hVisual3D,
2046DUCE.MILCMD_VIEWPORT3DVISUAL_SET3DCHILD command;
2054sizeof(DUCE.MILCMD_VIEWPORT3DVISUAL_SET3DCHILD)
2063DUCE.ResourceHandle hCompositionNode,
2064DUCE.ResourceHandle hChild,
2069DUCE.MILCMD_VISUAL3D_REMOVECHILD command;
2077sizeof(DUCE.MILCMD_VISUAL3D_REMOVECHILD)
2083DUCE.ResourceHandle hCompositionNode,
2088DUCE.MILCMD_VISUAL3D_REMOVEALLCHILDREN command;
2095sizeof(DUCE.MILCMD_VISUAL3D_REMOVEALLCHILDREN)
2101DUCE.ResourceHandle hCompositionNode,
2102DUCE.ResourceHandle hChild,
2108DUCE.MILCMD_VISUAL3D_INSERTCHILDAT command;
2118sizeof(DUCE.MILCMD_VISUAL3D_INSERTCHILDAT)
2124DUCE.ResourceHandle hCompositionNode,
2125DUCE.ResourceHandle hContent,
2130DUCE.MILCMD_VISUAL3D_SETCONTENT command;
2138sizeof(DUCE.MILCMD_VISUAL3D_SETCONTENT)
2144DUCE.ResourceHandle hCompositionNode,
2145DUCE.ResourceHandle hTransform,
2150DUCE.MILCMD_VISUAL3D_SETTRANSFORM command;
2158sizeof(DUCE.MILCMD_VISUAL3D_SETTRANSFORM)
2170DUCE.ResourceHandle hCompositionTarget,
2180DUCE.MILCMD_HWNDTARGET_CREATE command;
2242command.hBitmap = DUCE.ResourceHandle.Null;
2256sizeof(DUCE.MILCMD_HWNDTARGET_CREATE),
2263DUCE.ResourceHandle hCompositionTarget,
2269DUCE.MILCMD_HWNDTARGET_DPICHANGED command;
2281sizeof(DUCE.MILCMD_HWNDTARGET_DPICHANGED),
2287DUCE.ResourceHandle hCompositionTarget,
2294DUCE.MILCMD_GENERICTARGET_CREATE command;
2308sizeof(DUCE.MILCMD_GENERICTARGET_CREATE),
2315DUCE.ResourceHandle hCompositionTarget,
2320DUCE.MILCMD_TARGET_SETCLEARCOLOR command;
2333sizeof(DUCE.MILCMD_TARGET_SETCLEARCOLOR)
2339DUCE.ResourceHandle hCompositionTarget,
2344DUCE.MILCMD_TARGET_SETFLAGS command;
2354sizeof(DUCE.MILCMD_TARGET_SETFLAGS)
2361DUCE.ResourceHandle hCompositionTarget,
2362DUCE.ResourceHandle hRoot,
2366DUCE.MILCMD_TARGET_SETROOT command;
2376sizeof(DUCE.MILCMD_TARGET_SETROOT)
2396DUCE.MILCMD_TARGET_UPDATEWINDOWSETTINGS command;
2422sizeof(DUCE.MILCMD_TARGET_UPDATEWINDOWSETTINGS)
2428DUCE.ResourceHandle hCompositionTarget,
2433DUCE.MILCMD_TARGET_INVALIDATE command;
2443sizeof(DUCE.MILCMD_TARGET_INVALIDATE),
2462var command = new DUCE.MILCMD_PARTITION_NOTIFYPOLICYCHANGEFORNONINTERACTIVEMODE
2472sizeof(DUCE.MILCMD_PARTITION_NOTIFYPOLICYCHANGEFORNONINTERACTIVEMODE),
2483DUCE.ResourceHandle hEtwEvent,
2488DUCE.MILCMD_ETWEVENTRESOURCE command;
2498sizeof(DUCE.MILCMD_ETWEVENTRESOURCE)
2510DUCE.ResourceHandle AddRefOnChannel(Channel channel);
2514DUCE.Channel GetChannel(int index);
2518DUCE.ResourceHandle GetHandle(Channel channel);
2526DUCE.ResourceHandle Get3DHandle(Channel channel);
2534DUCE.Channel channel);
System\Windows\Media\HostVisual.cs (28)
102internal override void FreeContent(DUCE.Channel channel)
204DUCE.ResourceHandle targetsHandle = DUCE.ResourceHandle.Null;
208targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel);
233private void EnsureHostedVisualConnected(DUCE.Channel channel)
248DUCE.ResourceHandle targetsHandle = DUCE.ResourceHandle.Null;
293targetsHandle = (DUCE.ResourceHandle)returnValue;
308DUCE.CompositionNode.InsertChildAt(
368(DUCE.Channel)ide.Key,
380DUCE.Channel channel,
433DoPendingDisconnect((DUCE.Channel)arg);
449private bool DoPendingDisconnect(DUCE.Channel channel)
497private void Disconnect(DUCE.Channel channel,
499DUCE.ResourceHandle hostHandle,
500DUCE.ResourceHandle targetHandle,
501DUCE.MultiChannelResource contentRoot)
505DUCE.CompositionNode.RemoveChild(
557private Dictionary<DUCE.Channel, Dispatcher> _connectedChannels = new Dictionary<DUCE.Channel, Dispatcher>();
573public DUCE.Channel Channel { get; private set; }
576public DUCE.ResourceHandle HostHandle { get; private set; }
577public DUCE.ResourceHandle TargetHandle { get; private set; }
578public DUCE.MultiChannelResource ContentRoot { get; private set; }
582DUCE.Channel channel,
585DUCE.ResourceHandle hostHandle,
586DUCE.ResourceHandle targetHandle,
587DUCE.MultiChannelResource contentRoot,
System\Windows\Media\LinearGradientBrush.cs (20)
118private void ManualUpdateResource(DUCE.Channel channel, bool skipOnChannelCheck)
129DUCE.ResourceHandle hTransform;
134hTransform = DUCE.ResourceHandle.Null;
138hTransform = ((DUCE.IResource)vTransform).GetHandle(channel);
140DUCE.ResourceHandle hRelativeTransform;
145hRelativeTransform = DUCE.ResourceHandle.Null;
149hRelativeTransform = ((DUCE.IResource)vRelativeTransform).GetHandle(channel);
151DUCE.ResourceHandle hOpacityAnimations = GetAnimationResourceHandle(OpacityProperty, channel);
152DUCE.ResourceHandle hStartPointAnimations = GetAnimationResourceHandle(StartPointProperty, channel);
153DUCE.ResourceHandle hEndPointAnimations = GetAnimationResourceHandle(EndPointProperty, channel);
157DUCE.MILCMD_LINEARGRADIENTBRUSH data;
161DUCE.CopyBytes((byte*)&data.Opacity, (byte*)&tempOpacity, 8);
170DUCE.CopyBytes((byte*)&data.StartPoint, (byte*)&tempStartPoint, 16);
173DUCE.CopyBytes((byte*)&data.EndPoint, (byte*)&tempEndPoint, 16);
179data.GradientStopsSize = (UInt32)(sizeof(DUCE.MIL_GRADIENTSTOP)*count);
183sizeof(DUCE.MILCMD_LINEARGRADIENTBRUSH),
184sizeof(DUCE.MIL_GRADIENTSTOP)*count
189DUCE.MIL_GRADIENTSTOP stopCmd;
193DUCE.CopyBytes((byte*)&stopCmd.Position,(byte*)&temp, sizeof(double));
198sizeof(DUCE.MIL_GRADIENTSTOP)
System\Windows\Media\RadialGradientBrush.cs (24)
59private void ManualUpdateResource(DUCE.Channel channel, bool skipOnChannelCheck)
70DUCE.ResourceHandle hTransform;
75hTransform = DUCE.ResourceHandle.Null;
79hTransform = ((DUCE.IResource)vTransform).GetHandle(channel);
81DUCE.ResourceHandle hRelativeTransform;
86hRelativeTransform = DUCE.ResourceHandle.Null;
90hRelativeTransform = ((DUCE.IResource)vRelativeTransform).GetHandle(channel);
92DUCE.ResourceHandle hOpacityAnimations = GetAnimationResourceHandle(OpacityProperty, channel);
93DUCE.ResourceHandle hCenterAnimations = GetAnimationResourceHandle(CenterProperty, channel);
94DUCE.ResourceHandle hRadiusXAnimations = GetAnimationResourceHandle(RadiusXProperty, channel);
95DUCE.ResourceHandle hRadiusYAnimations = GetAnimationResourceHandle(RadiusYProperty, channel);
96DUCE.ResourceHandle hGradientOriginAnimations = GetAnimationResourceHandle(GradientOriginProperty, channel);
98DUCE.MILCMD_RADIALGRADIENTBRUSH data;
104DUCE.CopyBytes((byte*)&data.Opacity, (byte*)&tempOpacity, 8);
113DUCE.CopyBytes((byte*)&data.Center, (byte*)&tempCenter, 16);
116DUCE.CopyBytes((byte*)&data.RadiusX, (byte*)&tempRadiusX, 8);
119DUCE.CopyBytes((byte*)&data.RadiusY, (byte*)&tempRadiusY, 8);
122DUCE.CopyBytes((byte*)&data.GradientOrigin, (byte*)&tempGradientOrigin, 16);
128data.GradientStopsSize = (UInt32)(sizeof(DUCE.MIL_GRADIENTSTOP)*count);
132sizeof(DUCE.MILCMD_RADIALGRADIENTBRUSH),
133sizeof(DUCE.MIL_GRADIENTSTOP)*count
138DUCE.MIL_GRADIENTSTOP stopCmd;
142DUCE.CopyBytes((byte*)&stopCmd.Position,(byte*)&temp, sizeof(double));
147sizeof(DUCE.MIL_GRADIENTSTOP)
System\Windows\Media\Visual.cs (118)
54_map_ofBrushes = new DUCE.Map<bool>();
65public DUCE.Map<bool> _map_ofBrushes;
77public abstract partial class Visual : DependencyObject, DUCE.IResource
139internal Visual(DUCE.ResourceType resourceType)
147case DUCE.ResourceType.TYPE_VISUAL:
151case DUCE.ResourceType.TYPE_VIEWPORT3DVISUAL:
175protected Visual() : this(DUCE.ResourceType.TYPE_VISUAL)
196internal bool IsOnChannel(DUCE.Channel channel)
206DUCE.ResourceHandle DUCE.IResource.GetHandle(DUCE.Channel channel)
217DUCE.ResourceHandle DUCE.IResource.Get3DHandle(DUCE.Channel channel)
228DUCE.ResourceHandle DUCE.IResource.AddRefOnChannel(DUCE.Channel channel)
233internal virtual DUCE.ResourceHandle AddRefOnChannelCore(DUCE.Channel channel)
235DUCE.ResourceType resourceType = DUCE.ResourceType.TYPE_VISUAL;
239resourceType = DUCE.ResourceType.TYPE_VIEWPORT3DVISUAL;
253internal virtual void ReleaseOnChannelCore(DUCE.Channel channel)
263void DUCE.IResource.RemoveChildFromParent(
264DUCE.IResource parent,
265DUCE.Channel channel)
267DUCE.CompositionNode.RemoveChild(
273int DUCE.IResource.GetChannelCount()
278DUCE.Channel DUCE.IResource.GetChannel(int index)
636internal virtual void FreeContent(DUCE.Channel channel)
645private bool IsCyclicBrushRootOnChannel(DUCE.Channel channel)
649Dictionary<DUCE.Channel, int> channelsToCyclicBrushMap =
671void DUCE.IResource.ReleaseOnChannel(DUCE.Channel channel)
748((DUCE.IResource)transform).ReleaseOnChannel(channel);
755((DUCE.IResource)effect).ReleaseOnChannel(channel);
762((DUCE.IResource)clip).ReleaseOnChannel(channel);
769((DUCE.IResource)opacityMask).ReleaseOnChannel(channel);
776((DUCE.IResource)cacheMode).ReleaseOnChannel(channel);
795((DUCE.IResource)visual).ReleaseOnChannel(channel);
815DUCE.Channel channel)
821Dictionary<DUCE.Channel, int> channelsToCyclicBrushMap =
825channelsToCyclicBrushMap = new Dictionary<DUCE.Channel, int>();
885DUCE.Channel channel)
911Dictionary<DUCE.Channel, int> channelsToCyclicBrushMap =
946((DUCE.IResource)this).ReleaseOnChannel(channel);
1146DUCE.Channel channel = ctx.Channel;
1170DUCE.CompositionNode.InsertChildAt(
1195DUCE.Channel channel = ctx.Channel;
1196DUCE.ResourceHandle handle = DUCE.ResourceHandle.Null;
1227handle = ((DUCE.IResource)this).AddRefOnChannel(channel);
1301private void UpdateOpacity(DUCE.Channel channel,
1302DUCE.ResourceHandle handle,
1317DUCE.CompositionNode.SetAlpha(
1333private void UpdateOpacityMask(DUCE.Channel channel,
1334DUCE.ResourceHandle handle,
1353DUCE.CompositionNode.SetAlphaMask(
1355((DUCE.IResource)opacityMask).AddRefOnChannel(channel),
1360DUCE.CompositionNode.SetAlphaMask(
1362DUCE.ResourceHandle.Null,
1376private void UpdateTransform(DUCE.Channel channel,
1377DUCE.ResourceHandle handle,
1396DUCE.CompositionNode.SetTransform(
1398((DUCE.IResource)transform).AddRefOnChannel(channel),
1403DUCE.CompositionNode.SetTransform(
1405DUCE.ResourceHandle.Null,
1418private void UpdateEffect(DUCE.Channel channel,
1419DUCE.ResourceHandle handle,
1438DUCE.CompositionNode.SetEffect(
1440((DUCE.IResource)effect).AddRefOnChannel(channel),
1445DUCE.CompositionNode.SetEffect(
1447DUCE.ResourceHandle.Null,
1457private void UpdateCacheMode(DUCE.Channel channel,
1458DUCE.ResourceHandle handle,
1477DUCE.CompositionNode.SetCacheMode(
1479((DUCE.IResource)cacheMode).AddRefOnChannel(channel),
1484DUCE.CompositionNode.SetCacheMode(
1486DUCE.ResourceHandle.Null,
1500private void UpdateClip(DUCE.Channel channel,
1501DUCE.ResourceHandle handle,
1520DUCE.CompositionNode.SetClip(
1522((DUCE.IResource)clip).AddRefOnChannel(channel),
1527DUCE.CompositionNode.SetClip(
1529DUCE.ResourceHandle.Null,
1544private void UpdateScrollableAreaClip(DUCE.Channel channel,
1545DUCE.ResourceHandle handle,
1555DUCE.CompositionNode.SetScrollableAreaClip(
1572private void UpdateOffset(DUCE.Channel channel,
1573DUCE.ResourceHandle handle,
1587DUCE.CompositionNode.SetOffset(
1604private void UpdateGuidelines(DUCE.Channel channel,
1605DUCE.ResourceHandle handle,
1622DUCE.CompositionNode.SetGuidelineCollection(
1639private void UpdateRenderOptions(DUCE.Channel channel,
1640DUCE.ResourceHandle handle,
1697DUCE.CompositionNode.SetRenderOptions(
1741DUCE.ResourceHandle handle)
1743DUCE.Channel channel = ctx.Channel;
1766DUCE.CompositionNode.RemoveAllChildren(
1797DUCE.CompositionNode.InsertChildAt(
1799((DUCE.IResource)child).GetHandle(channel),
2667DUCE.Channel channel = _proxy.GetChannel(i);
2672DUCE.IResource childResource = (DUCE.IResource)child;
2838((DUCE.IResource)transform));
2948((DUCE.IResource)imageEffect));
3369((DUCE.IResource)cacheMode));
3468((DUCE.IResource)oldClip));
3749((DUCE.IResource)opacityMask));
3855DUCE.IResource attachedResource)
3872DUCE.Channel channel = _proxy.GetChannel(i);
4921DUCE.Channel channel,
4997DUCE.Channel channel,
5022DUCE.Channel channel,
5330private static readonly UncommonField<Dictionary<DUCE.Channel, int>> ChannelsToCyclicBrushMapField
5331= new UncommonField<Dictionary<DUCE.Channel, int>>();
System\Windows\Media3D\Generated\SpotLight.cs (26)
165internal override void UpdateResource(DUCE.Channel channel, bool skipOnChannelCheck)
178DUCE.ResourceHandle hTransform;
183hTransform = DUCE.ResourceHandle.Null;
187hTransform = ((DUCE.IResource)vTransform).GetHandle(channel);
191DUCE.ResourceHandle hColorAnimations = GetAnimationResourceHandle(ColorProperty, channel);
192DUCE.ResourceHandle hPositionAnimations = GetAnimationResourceHandle(PositionProperty, channel);
193DUCE.ResourceHandle hRangeAnimations = GetAnimationResourceHandle(RangeProperty, channel);
194DUCE.ResourceHandle hConstantAttenuationAnimations = GetAnimationResourceHandle(ConstantAttenuationProperty, channel);
195DUCE.ResourceHandle hLinearAttenuationAnimations = GetAnimationResourceHandle(LinearAttenuationProperty, channel);
196DUCE.ResourceHandle hQuadraticAttenuationAnimations = GetAnimationResourceHandle(QuadraticAttenuationProperty, channel);
197DUCE.ResourceHandle hDirectionAnimations = GetAnimationResourceHandle(DirectionProperty, channel);
198DUCE.ResourceHandle hOuterConeAngleAnimations = GetAnimationResourceHandle(OuterConeAngleProperty, channel);
199DUCE.ResourceHandle hInnerConeAngleAnimations = GetAnimationResourceHandle(InnerConeAngleProperty, channel);
202DUCE.MILCMD_SPOTLIGHT data;
257sizeof(DUCE.MILCMD_SPOTLIGHT));
261internal override DUCE.ResourceHandle AddRefOnChannelCore(DUCE.Channel channel)
264if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_SPOTLIGHT))
267if (vTransform != null) ((DUCE.IResource)vTransform).AddRefOnChannel(channel);
278internal override void ReleaseOnChannelCore(DUCE.Channel channel)
286if (vTransform != null) ((DUCE.IResource)vTransform).ReleaseOnChannel(channel);
293internal override DUCE.ResourceHandle GetHandleCore(DUCE.Channel channel)
303internal override DUCE.Channel GetChannelCore(int index)
359internal System.Windows.Media.Composition.DUCE.MultiChannelResource _duceResource = new System.Windows.Media.Composition.DUCE.MultiChannelResource();
System\Windows\Media3D\Viewport3DVisual.cs (32)
20public sealed class Viewport3DVisual : Visual, DUCE.IResource, IVisual3DContainer
31public Viewport3DVisual() : base(DUCE.ResourceType.TYPE_VIEWPORT3DVISUAL)
210((DUCE.IResource) e.OldValue));
392DUCE.Channel channel = _proxy3D.GetChannel(i);
397DUCE.IResource childResource = (DUCE.IResource)child;
629internal override DUCE.ResourceHandle AddRefOnChannelCore(DUCE.Channel channel)
631DUCE.ResourceHandle handle =
634bool created = _proxy3D.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_VISUAL3D);
645DUCE.Viewport3DVisualNode.Set3DChild(
654internal override void ReleaseOnChannelCore(DUCE.Channel channel)
665int DUCE.IResource.GetChannelCount()
670DUCE.Channel DUCE.IResource.GetChannel(int index)
702DUCE.Channel channel = ctx.Channel;
723DUCE.Viewport3DVisualNode.SetCamera(
724((DUCE.IResource)this).GetHandle(channel),
725((DUCE.IResource)camera).AddRefOnChannel(channel),
730DUCE.Viewport3DVisualNode.SetCamera(
731((DUCE.IResource)this).GetHandle(channel),
732DUCE.ResourceHandle.Null,
745DUCE.Viewport3DVisualNode.SetViewport(
746((DUCE.IResource)this).GetHandle(channel),
779DUCE.Visual3DNode.InsertChildAt(
781((DUCE.IResource)child).GetHandle(channel),
797internal override void FreeContent(DUCE.Channel channel)
806((DUCE.IResource)camera).ReleaseOnChannel(channel);
817((DUCE.IResource)visual).ReleaseOnChannel(channel);
841DUCE.ResourceHandle DUCE.IResource.Get3DHandle(DUCE.Channel channel)
System\Windows\Media3D\Visual3D.cs (57)
15public abstract partial class Visual3D : DependencyObject, DUCE.IResource, IVisual3DContainer
67internal bool IsOnChannel(DUCE.Channel channel)
77DUCE.ResourceHandle DUCE.IResource.GetHandle(DUCE.Channel channel)
86DUCE.ResourceHandle DUCE.IResource.Get3DHandle(DUCE.Channel channel)
97DUCE.ResourceHandle DUCE.IResource.AddRefOnChannel(DUCE.Channel channel)
99_proxy.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_VISUAL3D);
108void DUCE.IResource.RemoveChildFromParent(
109DUCE.IResource parent,
110DUCE.Channel channel)
112DUCE.Visual3DNode.RemoveChild(
118int DUCE.IResource.GetChannelCount()
123DUCE.Channel DUCE.IResource.GetChannel(int index)
160((DUCE.IResource) e.OldValue));
304DUCE.Channel channel = _proxy.GetChannel(i);
309DUCE.IResource childResource = (DUCE.IResource)child;
354((DUCE.IResource)_zeroScale));
364((DUCE.IResource)transform));
1135DUCE.Channel channel = ctx.Channel;
1136DUCE.ResourceHandle handle = DUCE.ResourceHandle.Null;
1161handle = ((DUCE.IResource)this).AddRefOnChannel(channel);
1188DUCE.Visual3DNode.SetTransform(
1190((DUCE.IResource)transform).AddRefOnChannel(channel),
1195DUCE.Visual3DNode.SetTransform(
1197((DUCE.IResource)_zeroScale).AddRefOnChannel(channel),
1202DUCE.Visual3DNode.SetTransform(
1204DUCE.ResourceHandle.Null,
1230DUCE.Visual3DNode.InsertChildAt(
1232((DUCE.IResource)child).GetHandle(channel),
1257DUCE.Channel channel = ctx.Channel;
1272DUCE.Visual3DNode.SetContent(
1273((DUCE.IResource)this).GetHandle(channel),
1274((DUCE.IResource)_visual3DModel).AddRefOnChannel(channel),
1281DUCE.Visual3DNode.SetContent(
1282((DUCE.IResource)this).GetHandle(channel),
1283DUCE.ResourceHandle.Null,
1427internal void FreeDUCEResources(DUCE.Channel channel)
1436((DUCE.IResource)transform).ReleaseOnChannel(channel);
1441((DUCE.IResource)_zeroScale).ReleaseOnChannel(channel);
1448((DUCE.IResource)model).ReleaseOnChannel(channel);
1457void DUCE.IResource.ReleaseOnChannel(DUCE.Channel channel)
1462internal void ReleaseOnChannelCore(DUCE.Channel channel)
1477((DUCE.IResource)child).ReleaseOnChannel(channel);
1486DUCE.IResource attachedResource)
1498DUCE.Channel channel = _proxy.GetChannel(i);
1886DUCE.Channel channel,
1927DUCE.Channel channel,
1980DUCE.Channel channel,