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
- ContainerSelectorActiveEvent.cs
- MenuStrip.cs
- ComponentTray.cs
- SerializationAttributes.cs
- LassoSelectionBehavior.cs
- AutomationElement.cs
- ResourcesBuildProvider.cs
- FrameAutomationPeer.cs
- DataGridHeaderBorder.cs
- SecureEnvironment.cs
- DefaultValueAttribute.cs
- DataTablePropertyDescriptor.cs
- XmlHierarchyData.cs
- Instrumentation.cs
- XmlSchemaImporter.cs
- TypeSemantics.cs
- HtmlLabelAdapter.cs
- GorillaCodec.cs
- KeyValueSerializer.cs
- ResourceDescriptionAttribute.cs
- PartitionResolver.cs
- WebPartConnection.cs
- DefaultTextStoreTextComposition.cs
- uribuilder.cs
- SqlOuterApplyReducer.cs
- PreviewPageInfo.cs
- PathFigure.cs
- RefExpr.cs
- PointUtil.cs
- SqlDataSourceStatusEventArgs.cs
- OracleTimeSpan.cs
- Mapping.cs
- basenumberconverter.cs
- KeyConstraint.cs
- SchemaAttDef.cs
- ScrollProperties.cs
- Update.cs
- DiscreteKeyFrames.cs
- LocalServiceSecuritySettings.cs
- EntityUtil.cs
- PropertyEmitter.cs
- ReliabilityContractAttribute.cs
- HttpSocketManager.cs
- SpeakCompletedEventArgs.cs
- KeyTime.cs
- SiteMembershipCondition.cs
- ButtonBase.cs
- TextContainerChangedEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- BridgeDataReader.cs
- ManualWorkflowSchedulerService.cs
- ConditionValidator.cs
- ExpandSegmentCollection.cs
- UnsafeNativeMethods.cs
- latinshape.cs
- EditorResources.cs
- UpDownEvent.cs
- Queue.cs
- UnsafeNativeMethods.cs
- Rect3DValueSerializer.cs
- StorageMappingItemCollection.cs
- SafeRightsManagementSessionHandle.cs
- CompilerState.cs
- AssociatedControlConverter.cs
- JapaneseLunisolarCalendar.cs
- ValueSerializer.cs
- XmlSerializerSection.cs
- ToolboxDataAttribute.cs
- DBDataPermissionAttribute.cs
- MetadataException.cs
- path.cs
- RequestCachePolicyConverter.cs
- DataServiceRequestOfT.cs
- InputMethodStateTypeInfo.cs
- XmlEncoding.cs
- OleDbParameterCollection.cs
- RelationalExpressions.cs
- Binding.cs
- SafeSecurityHandles.cs
- WindowExtensionMethods.cs
- CreatingCookieEventArgs.cs
- CodeExpressionCollection.cs
- TextRangeAdaptor.cs
- HtmlEmptyTagControlBuilder.cs
- PkcsUtils.cs
- GeneralTransform3DCollection.cs
- DecimalConstantAttribute.cs
- DiscoveryDefaults.cs
- DesignerHost.cs
- HMACSHA256.cs
- DataGridViewLayoutData.cs
- CodeTypeParameter.cs
- NegationPusher.cs
- ServiceOperationWrapper.cs
- GroupItemAutomationPeer.cs
- RemotingConfiguration.cs
- CodeObject.cs
- InputBuffer.cs
- Pair.cs
- ContextStack.cs