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
- DesignerCapabilities.cs
- EntityTypeEmitter.cs
- PieceDirectory.cs
- EventRoute.cs
- Rect3D.cs
- XslVisitor.cs
- CheckStoreFileValidityRequest.cs
- EventArgs.cs
- PartitionResolver.cs
- SafeHandles.cs
- AdRotatorDesigner.cs
- MouseEventArgs.cs
- DeflateStreamAsyncResult.cs
- iisPickupDirectory.cs
- MaterialGroup.cs
- NamespaceMapping.cs
- CompilationUtil.cs
- Typeface.cs
- Section.cs
- SoapFormatter.cs
- BuildProvidersCompiler.cs
- XmlNode.cs
- StagingAreaInputItem.cs
- WebPartAuthorizationEventArgs.cs
- sqlser.cs
- Matrix.cs
- DeflateStream.cs
- TriggerAction.cs
- FixedTextSelectionProcessor.cs
- SchemaImporterExtensionsSection.cs
- MultiPropertyDescriptorGridEntry.cs
- XmlNavigatorFilter.cs
- FileLevelControlBuilderAttribute.cs
- RightsManagementInformation.cs
- SatelliteContractVersionAttribute.cs
- QuaternionRotation3D.cs
- ListItemParagraph.cs
- SerTrace.cs
- TextViewDesigner.cs
- RepeatInfo.cs
- DES.cs
- X509SecurityTokenProvider.cs
- ItemsChangedEventArgs.cs
- LineInfo.cs
- TimeSpanOrInfiniteValidator.cs
- PerformanceCounterPermissionEntry.cs
- QuotedPrintableStream.cs
- SqlCachedBuffer.cs
- NoClickablePointException.cs
- TextServicesContext.cs
- EntryWrittenEventArgs.cs
- TextBlock.cs
- UIElement.cs
- SchemaCollectionPreprocessor.cs
- EndpointBehaviorElementCollection.cs
- ErrorEventArgs.cs
- XslTransform.cs
- SystemColors.cs
- StackOverflowException.cs
- TransactionChannelFaultConverter.cs
- SplitContainer.cs
- PageHandlerFactory.cs
- FormatException.cs
- MessageFilterException.cs
- EncoderParameters.cs
- TextRangeProviderWrapper.cs
- MemoryMappedView.cs
- PointAnimationClockResource.cs
- GraphicsState.cs
- XmlElementCollection.cs
- MergePropertyDescriptor.cs
- OrderedDictionary.cs
- CodeAttributeDeclaration.cs
- Attributes.cs
- BooleanConverter.cs
- SqlVisitor.cs
- TextSerializer.cs
- MsdtcClusterUtils.cs
- DataGridItemCollection.cs
- FileFormatException.cs
- WrapPanel.cs
- SerializationUtility.cs
- Perspective.cs
- AspNetSynchronizationContext.cs
- BinaryConverter.cs
- SerializationStore.cs
- AuthenticationModuleElement.cs
- OperatingSystem.cs
- AliasGenerator.cs
- WorkflowDebuggerSteppingAttribute.cs
- DataGridCellEditEndingEventArgs.cs
- ContextMarshalException.cs
- DateTimeHelper.cs
- CaseCqlBlock.cs
- DataGridTextBox.cs
- SocketException.cs
- XamlPoint3DCollectionSerializer.cs
- IncrementalCompileAnalyzer.cs
- RsaKeyIdentifierClause.cs
- AppDomain.cs