Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / RenderContext.cs / 1305600 / 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
- QueryOperationResponseOfT.cs
- ThemeDirectoryCompiler.cs
- TableLayoutPanel.cs
- UnauthorizedAccessException.cs
- Point3DCollection.cs
- Profiler.cs
- XmlSchemaAttributeGroupRef.cs
- ChtmlLinkAdapter.cs
- SchemaImporterExtension.cs
- SHA256Managed.cs
- SequentialOutput.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MouseGestureValueSerializer.cs
- XmlQuerySequence.cs
- IPipelineRuntime.cs
- DataDesignUtil.cs
- TagPrefixCollection.cs
- ButtonBaseAutomationPeer.cs
- FlowLayout.cs
- AppDomainProtocolHandler.cs
- filewebresponse.cs
- xdrvalidator.cs
- TextRange.cs
- ProcessModelInfo.cs
- DoubleLinkList.cs
- HostedBindingBehavior.cs
- PerformanceCounterPermission.cs
- templategroup.cs
- FlowNode.cs
- TdsParser.cs
- CalendarAutomationPeer.cs
- ParagraphVisual.cs
- iisPickupDirectory.cs
- DBDataPermissionAttribute.cs
- QilStrConcatenator.cs
- ActivityFunc.cs
- CompareValidator.cs
- SoapTypeAttribute.cs
- Pair.cs
- ClrProviderManifest.cs
- CompilationRelaxations.cs
- LicenseException.cs
- Part.cs
- OutputCacheSettings.cs
- DataPagerFieldItem.cs
- EmbossBitmapEffect.cs
- PropertyItemInternal.cs
- XmlSchemaSimpleTypeUnion.cs
- ListViewHitTestInfo.cs
- XmlIgnoreAttribute.cs
- DataGridViewElement.cs
- EntitySetRetriever.cs
- DataGridViewBindingCompleteEventArgs.cs
- ScrollData.cs
- OracleTimeSpan.cs
- OrderToken.cs
- DiagnosticsConfiguration.cs
- FamilyMapCollection.cs
- SecurityListenerSettingsLifetimeManager.cs
- CommandManager.cs
- MsmqProcessProtocolHandler.cs
- FieldBuilder.cs
- GZipStream.cs
- BitmapPalettes.cs
- Site.cs
- SingleConverter.cs
- PopupRootAutomationPeer.cs
- SafeTimerHandle.cs
- LinkLabel.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- XmlUtilWriter.cs
- Events.cs
- Encoder.cs
- TextTreeTextBlock.cs
- ColumnBinding.cs
- BufferedMessageWriter.cs
- XmlChoiceIdentifierAttribute.cs
- HtmlInputPassword.cs
- TextDecorationLocationValidation.cs
- ItemsPanelTemplate.cs
- EncoderBestFitFallback.cs
- ControlBuilder.cs
- DesignerLabelAdapter.cs
- FieldBuilder.cs
- SoapIgnoreAttribute.cs
- ColumnResizeAdorner.cs
- SHA1CryptoServiceProvider.cs
- IDQuery.cs
- ContextMenuAutomationPeer.cs
- CodePrimitiveExpression.cs
- DesignerLoader.cs
- Control.cs
- ConfigDefinitionUpdates.cs
- InternalPermissions.cs
- StreamInfo.cs
- DemultiplexingClientMessageFormatter.cs
- DrawingImage.cs
- EtwTrackingBehaviorElement.cs
- clipboard.cs
- DummyDataSource.cs