次の方法で共有


IDirect3DMobileDevice (Windows Embedded CE 6.0)

1/6/2010

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

ValidateDevice

TestCooperativeLevel

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

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Direct3D Mobile Interfaces