Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ConstructorBuilder.cs
- _OSSOCK.cs
- DynamicUpdateCommand.cs
- ValueUnavailableException.cs
- TaskbarItemInfo.cs
- RelatedImageListAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- ProcessHost.cs
- DrawingState.cs
- EntityProxyFactory.cs
- Shared.cs
- ReflectionUtil.cs
- DocumentSchemaValidator.cs
- SourceFileBuildProvider.cs
- BindingListCollectionView.cs
- DecoderFallbackWithFailureFlag.cs
- CookieProtection.cs
- StateWorkerRequest.cs
- BitmapScalingModeValidation.cs
- QueryStringParameter.cs
- PageThemeCodeDomTreeGenerator.cs
- CustomValidator.cs
- SqlUtils.cs
- DesignOnlyAttribute.cs
- MexNamedPipeBindingElement.cs
- HandleExceptionArgs.cs
- dataobject.cs
- DataGridPreparingCellForEditEventArgs.cs
- MeasureData.cs
- WizardSideBarListControlItem.cs
- FacetDescriptionElement.cs
- AssemblyBuilderData.cs
- LoadGrammarCompletedEventArgs.cs
- WindowsEditBoxRange.cs
- BmpBitmapDecoder.cs
- AssemblyBuilder.cs
- TabletCollection.cs
- HotSpotCollection.cs
- SatelliteContractVersionAttribute.cs
- EventProperty.cs
- AnnotationResource.cs
- _StreamFramer.cs
- TextLine.cs
- TypeConverter.cs
- EventLog.cs
- GenericAuthenticationEventArgs.cs
- WebPermission.cs
- Message.cs
- WindowsGraphics.cs
- Rotation3DAnimationBase.cs
- SignatureResourcePool.cs
- assemblycache.cs
- OnOperation.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SymbolTable.cs
- selecteditemcollection.cs
- TargetControlTypeCache.cs
- SimpleExpression.cs
- CharKeyFrameCollection.cs
- ValidatingReaderNodeData.cs
- DynamicUpdateCommand.cs
- PKCS1MaskGenerationMethod.cs
- SqlDataAdapter.cs
- MultiDataTrigger.cs
- PropertyFilterAttribute.cs
- CodeDirectionExpression.cs
- XmlIterators.cs
- COM2ColorConverter.cs
- IdnElement.cs
- UriSectionData.cs
- RuntimeTrackingProfile.cs
- IndentedWriter.cs
- MulticastNotSupportedException.cs
- UrlParameterReader.cs
- CTreeGenerator.cs
- ScriptControlDescriptor.cs
- InvokeMethod.cs
- GeneralEndpointIdentity.cs
- ContentPathSegment.cs
- Enum.cs
- _Connection.cs
- GeometryDrawing.cs
- GeneralTransformCollection.cs
- PenCursorManager.cs
- DataKeyCollection.cs
- QfeChecker.cs
- FormsAuthenticationConfiguration.cs
- ConsumerConnectionPointCollection.cs
- _ConnectionGroup.cs
- NameScope.cs
- _ConnectionGroup.cs
- StagingAreaInputItem.cs
- Stacktrace.cs
- RequestTimeoutManager.cs
- BitArray.cs
- ImageAutomationPeer.cs
- UnmanagedMarshal.cs
- TypeElementCollection.cs
- File.cs
- TypedReference.cs