Compartir a través de


Resource Class

Queries and prepares resources.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public MustInherit Class Resource
'Usage
Dim instance As Resource
public abstract class Resource
public ref class Resource abstract
public abstract class Resource
public abstract class Resource
Not applicable.

Remarks

To create a texture resource, use a Texture. To create a geometry-oriented resource, use a IndexBuffer or VertexBuffer.

Inheritance Hierarchy

System.Object
   Microsoft.WindowsMobile.DirectX.Direct3D.BaseMesh
    Microsoft.WindowsMobile.DirectX.Direct3D.Resource
       Derived Classes

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Resource Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming