Freigeben über


IDirect3DMobileDevice (Windows CE 5.0)

Send Feedback

The IDirect3DMobileDevice interface is used to manipulate a Direct3D Mobile Device object. These objects represent a particular driver on the system. This interface contains most of the functionality of the API. This includes the ability to create every other object type, to set and retrieve the state of the given device's rendering pipeline, and to actually draw primitives and to display them to the user. IDirect3DMobileDevice is derived from IUnknown.

The IDirect3DMobileDevice GUID is: {7A4475F8-D4AF-4fd6-95D7-8C8526F37C66}.

Methods

The following table shows the methods for this interface by functional grouping. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Grouping Method
Device Management GetCreationParameters

GetDeviceCaps

GetDirect3D

GetDisplayMode

GetInfo

ResourceManagerDiscardBytes

TestCooperativeLevel

ValidateDevice

Drawing ColorFill

CopyRects

DrawIndexedPrimitive

DrawPrimitive

GetClipStatus

GetPaletteEntries

SetClipStatus

SetPaletteEntries

StretchRect

Index Buffers CreateIndexBuffer

GetAvailableTextureMem

GetIndices

SetIndices

Lighting GetLight

GetLightEnable

GetMaterial

LightEnable

SetLight

SetMaterial

Rendering and Presentation BeginScene

Clear

CreateRenderTarget

EndScene

GetRenderState

GetRenderTarget

GetTransform

GetViewport

Present

ProcessVertices

Reset

SetRenderState

SetRenderTarget

SetTransform

SetViewport

Stencils CreateDepthStencilSurface

GetDepthStencilSurface

Surface Management CreateAdditionalSwapChain

CreateImageSurface

GetBackBuffer

GetFrontBuffer

Textures CreateTexture

GetCurrentTexturePalette

GetTextureStageState

GetTexture

SetCurrentTexturePalette

SetTextureStageState

SetTexture

UpdateTexture

Vertex Buffers CreateVertexBuffer

GetStreamSource

SetStreamSource

Obtaining a Pointer

You can obtain a pointer to an IDirect3DMobileDevice interface by calling the IDirect3DMobile::CreateDevice method.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dm.h.
Link Library: D3dm.lib, D3dmguid.lib

See Also

Direct3D Mobile Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.