14 references to _duceResource
PresentationCore (14)
System\Windows\Media\Effects\Generated\ShaderEffect.cs (7)
170if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_SHADEREFFECT)) 181return _duceResource.GetHandle(channel); 187Debug.Assert(_duceResource.IsOnChannel(channel)); 189if (_duceResource.ReleaseOnChannel(channel)) 202return _duceResource.GetHandle(channel); 207return _duceResource.GetChannelCount(); 212return _duceResource.GetChannel(index);
System\Windows\Media\Effects\ShaderEffect.cs (7)
554Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 556if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 567data.Handle = _duceResource.GetHandle(channel); 752if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_SHADEREFFECT)) 780return _duceResource.GetHandle(channel); 787Debug.Assert(_duceResource.IsOnChannel(channel)); 789if (_duceResource.ReleaseOnChannel(channel))