Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditorAttribute.cs
- PrivilegeNotHeldException.cs
- TouchesCapturedWithinProperty.cs
- FlagsAttribute.cs
- PackageRelationshipSelector.cs
- UnhandledExceptionEventArgs.cs
- UpdatableWrapper.cs
- TraceHandler.cs
- _Win32.cs
- OperationAbortedException.cs
- TemplateBamlTreeBuilder.cs
- WindowsTokenRoleProvider.cs
- HtmlInputControl.cs
- XmlBaseReader.cs
- XmlNotation.cs
- ScriptMethodAttribute.cs
- PartitionResolver.cs
- UIElement3D.cs
- RawAppCommandInputReport.cs
- SignatureGenerator.cs
- bindurihelper.cs
- ImageMapEventArgs.cs
- securitycriticaldataClass.cs
- EditorAttribute.cs
- PrimitiveType.cs
- DecoderNLS.cs
- OleDbErrorCollection.cs
- InfoCardSymmetricCrypto.cs
- ConfigXmlCDataSection.cs
- XmlSchemaSimpleTypeRestriction.cs
- AssemblyName.cs
- ExpressionBuilderContext.cs
- GridViewPageEventArgs.cs
- DateTimeFormatInfo.cs
- WebConfigurationHost.cs
- SpecularMaterial.cs
- HttpSessionStateWrapper.cs
- FileDataSourceCache.cs
- PagedDataSource.cs
- DetailsViewInsertedEventArgs.cs
- XPathSingletonIterator.cs
- CFStream.cs
- CommandBinding.cs
- TransformGroup.cs
- XmlSchemaInclude.cs
- FieldNameLookup.cs
- DesignerTextViewAdapter.cs
- AuthenticatedStream.cs
- activationcontext.cs
- SQLGuidStorage.cs
- EntityContainerRelationshipSet.cs
- ReflectionTypeLoadException.cs
- CmsUtils.cs
- InstallerTypeAttribute.cs
- ActivationArguments.cs
- JobPageOrder.cs
- ProtectedConfiguration.cs
- GZipDecoder.cs
- Win32Native.cs
- ErrorInfoXmlDocument.cs
- DesignerAdapterUtil.cs
- HMACSHA256.cs
- XmlIncludeAttribute.cs
- ExternalException.cs
- HMACSHA512.cs
- Calendar.cs
- StylusPointProperties.cs
- FileDetails.cs
- TrustLevelCollection.cs
- PageRanges.cs
- DayRenderEvent.cs
- SqlDataSourceEnumerator.cs
- OleDbRowUpdatingEvent.cs
- CommonServiceBehaviorElement.cs
- TickBar.cs
- ToolboxItemLoader.cs
- XsltCompileContext.cs
- Int64Storage.cs
- MethodToken.cs
- EventHandlingScope.cs
- MouseGestureConverter.cs
- ProfileProvider.cs
- SqlBuilder.cs
- DocumentSequenceHighlightLayer.cs
- TabControlCancelEvent.cs
- LayoutTable.cs
- UnsafeNativeMethods.cs
- Popup.cs
- ParagraphResult.cs
- LZCodec.cs
- DataExpression.cs
- Highlights.cs
- SqlBuilder.cs
- XmlSiteMapProvider.cs
- ComponentDispatcher.cs
- InternalPermissions.cs
- SamlAttribute.cs
- SqlException.cs
- WebPartDisplayMode.cs
- PointLight.cs