Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // //// 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
- SqlDataSourceTableQuery.cs
- CookieProtection.cs
- DataGridViewTopLeftHeaderCell.cs
- RecordManager.cs
- FocusChangedEventArgs.cs
- DbInsertCommandTree.cs
- TreeView.cs
- ParameterBuilder.cs
- TemplateBuilder.cs
- ReferenceService.cs
- FileClassifier.cs
- TransportOutputChannel.cs
- ILGenerator.cs
- HelpKeywordAttribute.cs
- AnchoredBlock.cs
- DocComment.cs
- XmlSchemaSimpleContent.cs
- UrlMappingsSection.cs
- UrlAuthFailedErrorFormatter.cs
- NumericUpDownAccelerationCollection.cs
- ServiceOperationParameter.cs
- SchemaMapping.cs
- TrustLevel.cs
- TreeBuilder.cs
- SimpleHandlerFactory.cs
- PartialList.cs
- FacetValueContainer.cs
- Compiler.cs
- StylusSystemGestureEventArgs.cs
- ReceiveSecurityHeader.cs
- DbReferenceCollection.cs
- DbConnectionInternal.cs
- XmlSerializerVersionAttribute.cs
- GeometryDrawing.cs
- DataList.cs
- ImplicitInputBrush.cs
- FontConverter.cs
- TextLine.cs
- CurrentChangedEventManager.cs
- VectorConverter.cs
- SiteMapSection.cs
- JournalEntry.cs
- NonBatchDirectoryCompiler.cs
- SafeViewOfFileHandle.cs
- ForeignKeyFactory.cs
- UrlMappingsModule.cs
- DnsPermission.cs
- ConfigurationSchemaErrors.cs
- Int32CAMarshaler.cs
- Matrix3DStack.cs
- DataSourceProvider.cs
- GAC.cs
- InternalPermissions.cs
- HtmlForm.cs
- _AutoWebProxyScriptWrapper.cs
- IisTraceListener.cs
- TypeConverters.cs
- ConnectionManagementSection.cs
- Oid.cs
- FlowDocumentReader.cs
- DetailsViewDeleteEventArgs.cs
- _TimerThread.cs
- TracedNativeMethods.cs
- MailBnfHelper.cs
- AssemblyResolver.cs
- EventProviderWriter.cs
- ObjectQueryExecutionPlan.cs
- DetailsViewDeletedEventArgs.cs
- SQLInt16Storage.cs
- SerializerProvider.cs
- IdentityVerifier.cs
- EventLogStatus.cs
- PropertyAccessVisitor.cs
- hwndwrapper.cs
- EmptyCollection.cs
- BitmapEffectrendercontext.cs
- GradientBrush.cs
- Configuration.cs
- DataTableExtensions.cs
- ExpressionBindingCollection.cs
- ClientUrlResolverWrapper.cs
- EncryptedXml.cs
- SqlMethods.cs
- WindowsListViewScroll.cs
- HttpProfileGroupBase.cs
- CompositeScriptReferenceEventArgs.cs
- TypeInitializationException.cs
- WindowsRichEditRange.cs
- RequestCachePolicy.cs
- AmbientLight.cs
- DataGridViewRowsAddedEventArgs.cs
- RolePrincipal.cs
- PaperSource.cs
- PrimitiveXmlSerializers.cs
- Cursors.cs
- ContextMenu.cs
- WebProxyScriptElement.cs
- BorderGapMaskConverter.cs
- TreeViewImageIndexConverter.cs
- XmlSchemaSimpleContent.cs