Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- QilFactory.cs
- MsmqTransportSecurityElement.cs
- TableLayoutPanelCellPosition.cs
- ProvidePropertyAttribute.cs
- SelectionHighlightInfo.cs
- XPathParser.cs
- Utils.cs
- Oid.cs
- TextContainerChangeEventArgs.cs
- CqlWriter.cs
- SHA1.cs
- RoleGroupCollection.cs
- FixedHighlight.cs
- PassportAuthenticationModule.cs
- FileCodeGroup.cs
- WebCategoryAttribute.cs
- FlatButtonAppearance.cs
- URLIdentityPermission.cs
- SByteStorage.cs
- TableDetailsRow.cs
- MaterialGroup.cs
- SqlCommand.cs
- SQLInt16Storage.cs
- ConnectionInterfaceCollection.cs
- BitmapEffectGroup.cs
- MenuItemBinding.cs
- WebPartTracker.cs
- WebPartConnectionsConfigureVerb.cs
- RayMeshGeometry3DHitTestResult.cs
- MergeFailedEvent.cs
- CodeFieldReferenceExpression.cs
- TextEditorCharacters.cs
- SHA1CryptoServiceProvider.cs
- FontStretch.cs
- DrawTreeNodeEventArgs.cs
- DataObjectPastingEventArgs.cs
- ViewgenGatekeeper.cs
- ObjectItemAttributeAssemblyLoader.cs
- CookieProtection.cs
- UnSafeCharBuffer.cs
- FlagsAttribute.cs
- FillRuleValidation.cs
- OleDbEnumerator.cs
- SystemSounds.cs
- FontDialog.cs
- ReadOnlyDataSourceView.cs
- SqlXml.cs
- SQLDouble.cs
- GetPageCompletedEventArgs.cs
- PngBitmapDecoder.cs
- HMACSHA384.cs
- SmtpTransport.cs
- FileDataSourceCache.cs
- DataGridItemCollection.cs
- GcHandle.cs
- ExpressionPrinter.cs
- URL.cs
- panel.cs
- Stroke2.cs
- XmlNodeReader.cs
- SystemPens.cs
- SystemException.cs
- WorkflowQueueInfo.cs
- IconBitmapDecoder.cs
- PrivilegedConfigurationManager.cs
- UpdatePanelControlTrigger.cs
- ConfigurationStrings.cs
- GenerateScriptTypeAttribute.cs
- DataColumnMappingCollection.cs
- DBDataPermission.cs
- CryptoApi.cs
- PermissionAttributes.cs
- TimeZoneNotFoundException.cs
- BoundField.cs
- Validator.cs
- XmlILAnnotation.cs
- SrgsGrammarCompiler.cs
- WebPartCatalogAddVerb.cs
- NumericExpr.cs
- DataGridSortCommandEventArgs.cs
- Size3DValueSerializer.cs
- Converter.cs
- EditorPartCollection.cs
- SamlAttributeStatement.cs
- GroupItem.cs
- XmlAttributeCollection.cs
- CompilationUtil.cs
- TableProvider.cs
- HttpWebResponse.cs
- XmlChildEnumerator.cs
- SqlFactory.cs
- ToolStripActionList.cs
- DeviceSpecificChoiceCollection.cs
- XmlSerializableWriter.cs
- TextChange.cs
- SocketAddress.cs
- TagMapCollection.cs
- ExceptionHandlers.cs
- EventProviderWriter.cs
- ToRequest.cs