Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / 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. //------------------------------------------------------------------------------ // //// 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
- AsyncStreamReader.cs
- PeerObject.cs
- WmlLabelAdapter.cs
- SiteMapNodeCollection.cs
- ExpressionBuilder.cs
- ContainerSelectorGlyph.cs
- CompositeKey.cs
- Missing.cs
- HtmlTitle.cs
- WebPartConnectionsConnectVerb.cs
- DocumentGridContextMenu.cs
- Enum.cs
- Application.cs
- WebPartExportVerb.cs
- CodeRemoveEventStatement.cs
- GeometryModel3D.cs
- DataGridViewRowEventArgs.cs
- StickyNote.cs
- LambdaCompiler.cs
- KnownIds.cs
- ExceptionUtility.cs
- ControlOperationInvoker.cs
- ClientEndpointLoader.cs
- GridViewAutomationPeer.cs
- BufferedReadStream.cs
- LinqDataSourceContextEventArgs.cs
- SendActivityDesignerTheme.cs
- SolidColorBrush.cs
- BitmapCodecInfo.cs
- SecurityHeaderLayout.cs
- UnSafeCharBuffer.cs
- RemotingClientProxy.cs
- CompensationToken.cs
- CmsInterop.cs
- BackgroundWorker.cs
- CommonDialog.cs
- BamlLocalizableResourceKey.cs
- RepeatInfo.cs
- WsatStrings.cs
- BuildDependencySet.cs
- Trace.cs
- TagPrefixAttribute.cs
- CounterCreationDataCollection.cs
- TextBlockAutomationPeer.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- EditorPartDesigner.cs
- PathFigure.cs
- ListViewSelectEventArgs.cs
- TextSpanModifier.cs
- SqlException.cs
- RankException.cs
- Camera.cs
- ControlOperationInvoker.cs
- SignatureGenerator.cs
- FixedSchema.cs
- StorageMappingFragment.cs
- BindingOperations.cs
- CultureTable.cs
- ElementAction.cs
- Script.cs
- DbProviderFactories.cs
- HostingPreferredMapPath.cs
- WindowsServiceCredential.cs
- XmlRawWriterWrapper.cs
- Matrix3DStack.cs
- ListControlDesigner.cs
- Rect3DConverter.cs
- Utils.cs
- SuppressIldasmAttribute.cs
- XmlKeywords.cs
- HandlerFactoryWrapper.cs
- StatusStrip.cs
- XmlHierarchyData.cs
- JoinGraph.cs
- ListViewGroupItemCollection.cs
- DataTableReader.cs
- Single.cs
- TypeValidationEventArgs.cs
- LambdaCompiler.Unary.cs
- GetImportFileNameRequest.cs
- CollectionChangedEventManager.cs
- TemplateControl.cs
- HttpRequest.cs
- ManagementDateTime.cs
- OleDbErrorCollection.cs
- FilterException.cs
- XmlSchemaComplexContent.cs
- httpstaticobjectscollection.cs
- DoubleAnimationUsingKeyFrames.cs
- BooleanExpr.cs
- HtmlEmptyTagControlBuilder.cs
- DesignTimeTemplateParser.cs
- TextElementEnumerator.cs
- TypeName.cs
- HttpCapabilitiesEvaluator.cs
- SqlTransaction.cs
- CompatibleIComparer.cs
- VersionPair.cs
- CodeVariableDeclarationStatement.cs
- DetailsViewUpdatedEventArgs.cs