Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / RenderContext.cs / 1 / RenderContext.cs
//------------------------------------------------------------------------------ // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Accumulates state during a render pass of the scene. // //----------------------------------------------------------------------------- namespace System.Windows.Media { using System; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Runtime.InteropServices; using MS.Internal; ////// This class accumulates state during a render pass of the scene. /// internal sealed class RenderContext { // ------------------------------------------------------------------- // // Internal Constructors // // ------------------------------------------------------------------- #region Internal Constructors ////// Constructor /// internal RenderContext() { // Do nothing. } #endregion Internal Constructors // -------------------------------------------------------------------- // // Internal Properties // // ------------------------------------------------------------------- #region Internal Properties ////// Returns the current channel. /// internal DUCE.Channel Channel { get { return _channel; } } ////// Returns a handle to the root node, which is attached /// directly to a composition target /// internal DUCE.ResourceHandle Root { get { return _root; } } #endregion Internal Properties // -------------------------------------------------------------------- // // Internal Methods // // -------------------------------------------------------------------- #region Internal Methods ////// Initialize must be called before a frame is rendered. /// internal void Initialize( DUCE.Channel channel, DUCE.ResourceHandle root) { Debug.Assert(channel != null); _channel = channel; _root = root; } #endregion Internal Methods // ------------------------------------------------------------------- // // Private Fields // // -------------------------------------------------------------------- #region Private Fields ////// The current channel. /// private DUCE.Channel _channel; ////// The root node, attached directly to a composition target. /// private DUCE.ResourceHandle _root; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AppDomainProtocolHandler.cs
- OleDbRowUpdatingEvent.cs
- Util.cs
- Debug.cs
- EmptyImpersonationContext.cs
- DataViewSetting.cs
- DataQuery.cs
- ScriptIgnoreAttribute.cs
- SamlSubject.cs
- DataSet.cs
- SamlNameIdentifierClaimResource.cs
- EmptyReadOnlyDictionaryInternal.cs
- ParameterCollectionEditor.cs
- ImportCatalogPart.cs
- SemanticBasicElement.cs
- PresentationSource.cs
- MbpInfo.cs
- UrlSyndicationContent.cs
- ObjectViewEntityCollectionData.cs
- EtwTrace.cs
- SortedDictionary.cs
- DictionaryTraceRecord.cs
- Vertex.cs
- COM2TypeInfoProcessor.cs
- MediaSystem.cs
- Emitter.cs
- RectKeyFrameCollection.cs
- UnaryQueryOperator.cs
- AccessDataSourceView.cs
- DataGridBoolColumn.cs
- DocumentViewer.cs
- SystemIPInterfaceProperties.cs
- SqlCacheDependencyDatabaseCollection.cs
- ReverseInheritProperty.cs
- PartialTrustHelpers.cs
- EpmContentDeSerializerBase.cs
- X509CertificateTrustedIssuerElementCollection.cs
- VersionPair.cs
- AppLevelCompilationSectionCache.cs
- AdornerLayer.cs
- QueryInterceptorAttribute.cs
- ControlBindingsCollection.cs
- ResourceReferenceExpressionConverter.cs
- __FastResourceComparer.cs
- ValidatedControlConverter.cs
- SafeBitVector32.cs
- TextCollapsingProperties.cs
- AppearanceEditorPart.cs
- FreezableCollection.cs
- ConsumerConnectionPoint.cs
- RequestCachingSection.cs
- ConfigurationValidatorBase.cs
- RequestStatusBarUpdateEventArgs.cs
- OrderedDictionaryStateHelper.cs
- LinearQuaternionKeyFrame.cs
- ConfigurationStrings.cs
- Color.cs
- TextRunCacheImp.cs
- remotingproxy.cs
- ToolStripProgressBar.cs
- CompModHelpers.cs
- WindowsSysHeader.cs
- FixedDSBuilder.cs
- Executor.cs
- DataDocumentXPathNavigator.cs
- UnsafeNativeMethods.cs
- XmlCountingReader.cs
- SettingsAttributeDictionary.cs
- Cursor.cs
- AnonymousIdentificationModule.cs
- CmsInterop.cs
- WsdlExporter.cs
- BitmapMetadataEnumerator.cs
- OracleInternalConnection.cs
- Native.cs
- hresults.cs
- ItemDragEvent.cs
- CTreeGenerator.cs
- ToolStripGripRenderEventArgs.cs
- RenderingBiasValidation.cs
- XXXOnTypeBuilderInstantiation.cs
- FlowNode.cs
- TakeOrSkipWhileQueryOperator.cs
- LicenseManager.cs
- GridViewRowPresenter.cs
- HitTestResult.cs
- TextEditorContextMenu.cs
- InternalReceiveMessage.cs
- XamlToRtfWriter.cs
- XpsFilter.cs
- TokenBasedSet.cs
- InkCanvasAutomationPeer.cs
- SolidBrush.cs
- XpsFilter.cs
- ObjectDataSourceView.cs
- CodeSubDirectory.cs
- ProjectedSlot.cs
- ValueTypeFixupInfo.cs
- CaseInsensitiveOrdinalStringComparer.cs
- InternalUserCancelledException.cs