Compartilhar via


IDirect3DMobileDevice

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

A interface IDirect3DMobileDevice é usado para manipular um objeto Direct3D Mobile Device. Esses objetos representam um driver específico sobre o sistema. Essa interface contém a maior parte da funcionalidade da API. Isso inclui a capacidade para criar todos os outro objeto tipo, para definir e recuperar o estado de pipeline processamento do dispositivo de determinado e para realmente primitivos desenhar e para exibi-los para o usuário. IDirect3DMobileDevice é derivado de IUnknown.

O IDirect3DMobileDevice GUID é: {7A4475F8-D4AF-4fd6-95 D 7-8C8526F37C66}.

Métodos

A seguinte tabela mostra os métodos para esta interface por agrupamento funcional. Como todas as interfaces COM, essa interface herda os métodos para a IUnknown interface.

Agrupamento Método

Gerenciamento de dispositivos

GetCreationParameters

GetDeviceCaps

GetDirect3D

GetDisplayMode

GetInfo

ResourceManagerDiscardBytes

ValidateDevice

For Windows Embedded CE: TestCooperativeLevel

Desenho

ColorFill

CopyRects

DrawIndexedPrimitive

DrawPrimitive

GetClipStatus

GetPaletteEntries

SetClipStatus

SetPaletteEntries

StretchRect

Buffers de índice

CreateIndexBuffer

GetAvailableTextureMem

GetIndices

SetIndices

Iluminação

GetLight

GetLightEnable

GetMaterial

LightEnable

SetLight

SetMaterial

O processamento e apresentação

BeginScene

Clear

CreateRenderTarget

EndScene

GetRenderState

GetRenderTarget

GetTransform

GetViewport

Presente

ProcessVertices

Redefinir

SetRenderState

SetRenderTarget

SetTransform

SetViewport

Estênceis

CreateDepthStencilSurface

GetDepthStencilSurface

O gerenciamento de superfície

CreateAdditionalSwapChain

CreateImageSurface

GetBackBuffer

GetFrontBuffer

As texturas

CreateTexture

GetCurrentTexturePalette

GetTextureStageState

GetTexture

SetCurrentTexturePalette

SetTextureStageState

SetTexture

UpdateTexture

Buffers vértice

CreateVertexBuffer

GetStreamSource

SetStreamSource

Obtendo um ponteiro

Você pode obter um ponteiro para um IDirect3DMobileDevice interface por chamado de IDirect3DMobile::CreateDevice método.

Requisitos

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

See Also

Reference

Direct3D Mobile Interfaces