Surface Members

Queries and prepares surfaces.

The following tables list the members exposed by the Surface type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework Surface Initializes a new instance of the Surface class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Description Gets the description of a surface.
Public property Supported by the .NET Compact Framework Device Retrieves the Direct3D device associated with the surface.
Public property Supported by the .NET Compact Framework Disposed Gets a value that indicates whether the object is disposed.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by the Surface.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetGraphics Retrieves a device context.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework LockRectangle Locks a rectangle on a surface.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ReleaseGraphics Releases the device context obtained by calling GetGraphics.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework UnlockRectangle Unlocks a rectangle on a surface.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize Overridden.  
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

Public Events

  Name Description
Public event Supported by the .NET Compact Framework Disposing Occurs when the Dispose method is called or when the Surface object is finalized and collected by the garbage collector,

Top

See Also

Reference

Surface Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming