Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Material.cs / 1 / Material.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D material implementation. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/25/2003 : [....] - Created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; namespace System.Windows.Media.Media3D { ////// Material is the abstract base class for materials /// [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string public abstract partial class Material : Animatable { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors // Prevent 3rd parties from extending this abstract base class. internal Material() {} #endregion Constructors //------------------------------------------------------ // // Internal Methods // //----------------------------------------------------- #region Internal Methods // internal abstract bool PreCompute(); internal static bool PreCompute(Brush brush) { bool requiresRealization = false; if (brush != null) { brush.Precompute(); requiresRealization = brush.RequiresRealizationUpdates; } return requiresRealization; } internal abstract void UpdateRealizations( RealizationContext ctx, ref Rect bounds); internal static void UpdateRealizations( Brush brush, RealizationContext ctx, ref Rect bounds ) { if (brush != null) { brush.UpdateRealizations(bounds, ctx); } } #endregion Internal Methods //------------------------------------------------------ // // Internal Properties // //------------------------------------------------------ #region Internal Properties // internal abstract bool RequiresRealization { get; } #endregion Internal Properties } } // 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
- Predicate.cs
- CrossSiteScriptingValidation.cs
- ThicknessAnimationUsingKeyFrames.cs
- SqlAggregateChecker.cs
- XmlSchemaNotation.cs
- PartEditor.cs
- Misc.cs
- BinaryReader.cs
- DetailsViewPageEventArgs.cs
- CheckBox.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DataGridViewLinkCell.cs
- ListViewItem.cs
- ListMarkerSourceInfo.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- DataSourceIDConverter.cs
- DocumentViewerHelper.cs
- SqlProcedureAttribute.cs
- ConnectionManagementSection.cs
- CodeExporter.cs
- SoapServerMessage.cs
- ConnectionInterfaceCollection.cs
- InvalidOperationException.cs
- XsltFunctions.cs
- StaticFileHandler.cs
- ToolTipService.cs
- OdbcConnectionPoolProviderInfo.cs
- AuthenticationServiceManager.cs
- SoapObjectInfo.cs
- SqlUserDefinedTypeAttribute.cs
- PixelFormats.cs
- FixedPageStructure.cs
- NativeMethods.cs
- X500Name.cs
- EnterpriseServicesHelper.cs
- SolidBrush.cs
- PrivilegeNotHeldException.cs
- ComponentConverter.cs
- WebServiceEndpoint.cs
- StateMachineDesignerPaint.cs
- MergeFailedEvent.cs
- ClientUIRequest.cs
- MobileContainerDesigner.cs
- GcSettings.cs
- HttpCookieCollection.cs
- PopupRoot.cs
- TemplateManager.cs
- ConfigurationSchemaErrors.cs
- ElementProxy.cs
- RNGCryptoServiceProvider.cs
- FormViewUpdatedEventArgs.cs
- OverflowException.cs
- ArgumentsParser.cs
- ExpressionBuilder.cs
- ObjectDataSourceStatusEventArgs.cs
- MessageSmuggler.cs
- DependencyPropertyKey.cs
- GradientBrush.cs
- ItemsChangedEventArgs.cs
- ExtenderControl.cs
- DbDeleteCommandTree.cs
- NativeCppClassAttribute.cs
- IsolatedStorageFileStream.cs
- QuaternionValueSerializer.cs
- UInt32Converter.cs
- _LoggingObject.cs
- TypeToken.cs
- namescope.cs
- NamedElement.cs
- SynchronizedChannelCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- UdpDiscoveryEndpointElement.cs
- BatchStream.cs
- DocumentApplication.cs
- ValueSerializerAttribute.cs
- _ListenerAsyncResult.cs
- SqlConnectionManager.cs
- URL.cs
- HtmlElementErrorEventArgs.cs
- SharedStatics.cs
- InputLanguageSource.cs
- SessionStateModule.cs
- HierarchicalDataSourceControl.cs
- RepeaterCommandEventArgs.cs
- UnicastIPAddressInformationCollection.cs
- SecurityRuntime.cs
- Solver.cs
- WindowsGraphics2.cs
- ButtonChrome.cs
- Scene3D.cs
- DoubleCollectionConverter.cs
- UInt64Converter.cs
- ServiceDiscoveryBehavior.cs
- WindowsNonControl.cs
- DbParameterHelper.cs
- KeyGesture.cs
- Image.cs
- Shape.cs
- RenderOptions.cs
- BmpBitmapDecoder.cs