Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingService.cs
- MetadataCacheItem.cs
- PropertyRef.cs
- HttpInputStream.cs
- XmlNamespaceMappingCollection.cs
- ConfigurationManagerInternal.cs
- IndexedSelectQueryOperator.cs
- Line.cs
- CaseExpr.cs
- CompleteWizardStep.cs
- TabControlCancelEvent.cs
- StoragePropertyMapping.cs
- MruCache.cs
- ValueTypeFixupInfo.cs
- XhtmlStyleClass.cs
- ValidatorCollection.cs
- CommandValueSerializer.cs
- XNodeValidator.cs
- BitmapDecoder.cs
- TableMethodGenerator.cs
- AvTraceDetails.cs
- CultureInfoConverter.cs
- SQLByte.cs
- Encoding.cs
- HttpDictionary.cs
- StreamGeometry.cs
- XmlChildEnumerator.cs
- PeoplePickerWrapper.cs
- BinaryReader.cs
- LongValidatorAttribute.cs
- OleDbErrorCollection.cs
- CalendarDesigner.cs
- ExceptionUtil.cs
- Polygon.cs
- MemberListBinding.cs
- Figure.cs
- ToolStripProgressBar.cs
- XmlAttributeHolder.cs
- EntityViewGenerator.cs
- RegistryKey.cs
- XmlIterators.cs
- XsltFunctions.cs
- ProcessHostMapPath.cs
- MediaEntryAttribute.cs
- GlyphCache.cs
- NativeMethods.cs
- DummyDataSource.cs
- AutomationPropertyInfo.cs
- ParseHttpDate.cs
- UiaCoreApi.cs
- XmlSerializerFactory.cs
- TableMethodGenerator.cs
- CodeTypeMember.cs
- ActionMessageFilter.cs
- SelectionRange.cs
- HttpModulesSection.cs
- EntityDataSourceSelectedEventArgs.cs
- UnicodeEncoding.cs
- WindowsTokenRoleProvider.cs
- PasswordBox.cs
- EntityDataSourceUtil.cs
- Marshal.cs
- XmlExtensionFunction.cs
- MultiSelector.cs
- SqlEnums.cs
- DBSqlParser.cs
- PageAsyncTask.cs
- ParseHttpDate.cs
- LinkLabel.cs
- BamlTreeNode.cs
- AutomationElement.cs
- WebBrowser.cs
- GetIsBrowserClientRequest.cs
- RSAOAEPKeyExchangeDeformatter.cs
- safelinkcollection.cs
- RenderData.cs
- WebRequest.cs
- LookupBindingPropertiesAttribute.cs
- HybridDictionary.cs
- MimeMapping.cs
- PropertyStore.cs
- ContextStaticAttribute.cs
- ExpressionBindings.cs
- XamlTreeBuilderBamlRecordWriter.cs
- LightweightEntityWrapper.cs
- GridErrorDlg.cs
- ThousandthOfEmRealDoubles.cs
- StatusBarDrawItemEvent.cs
- CompModSwitches.cs
- HttpModuleCollection.cs
- XPathNodePointer.cs
- WorkerRequest.cs
- Debugger.cs
- OperationResponse.cs
- SvcFileManager.cs
- InvokePatternIdentifiers.cs
- RubberbandSelector.cs
- CmsInterop.cs
- DeclarativeConditionsCollection.cs
- HostProtectionException.cs