Freigeben über


Direct3D Mobile Driver Structures (Windows CE 5.0)

Send Feedback

This section contains information about the structures used with drivers for Microsoft® Direct3D Mobile®.

The following table shows these structures.

Structure Description
D3DM_CLEAR Contains the contents of the D3DMOP_CLEAR command token, which instructs the driver to clear a render target, depth buffer, or index buffer.
D3DM_COLORFILL Contains the contents of the D3DMOP_COLORFILL command token, which instructs the driver to fill a rectangle on a surface with a color.
D3DM_COMMAND Contains the header data for a single command token in a command buffer.
D3DM_COPYRECT Contains the contents of the D3DMOP_COPYRECT command token, which instructs the driver to copy pixel data from one surface to another.
D3DM_CREATECONTEXT_DATA Contains information about a rendering context.
D3DM_CREATELIGHT Contains the contents of the D3DMOP_CREATELIGHT command token, which instructs the driver to create a light and assign an index number to it.
D3DM_CREATEPALETTE Contains the contents of the D3DMOP_CREATEPALETTE command token, which instructs the driver to create a palette and assign an index number to it.
D3DM_CREATESURFACE_DATA Contains data describing the properties of a surface that the Direct3D Mobile driver should create.
D3DM_DESTROYCONTEXT_DATA Identifies a rendering context that the driver should destroy.
D3DM_DESTROYSURFACE_DATA Identifies a surface that should be freed.
D3DM_DRAWINDEXEDPRIMITIVE Contains the contents of the D3DMOP_DRAWINDEXEDPRIMITIVE command token, which instructs the driver to draw a primitive using the current driver state and indices from the current index buffer.
D3DM_DRAWPRIMITIVE Contains the contents of the D3DMOP_DRAWPRIMITIVE command token, which instructs the driver to draw primitives using the current driver state and vertices from the current index buffer.
D3DM_DRAWPRIMITIVE_DATA Describes the properties of a command buffer.
D3DM_GETADAPTERINFO_DATA Describes the standard properties of a graphics device.
D3DM_GETINFO_DATA Describes a request for additional information from the driver beyond what it already provides with D3DM_GETADAPTERINFO_DATA.
D3DM_INDEXBUFFER Contains the contents of the D3DMOP_INDEXBUFFER command token, which instructs the driver to change the current index buffer to a new one.
D3DM_INITIALIZE_DATA Used to communicate the driver's support routines to the Direct3D Mobile middleware.
D3DM_LOCKSURFACE_DATA Describes the properties of a surface lock requested by the Direct3D Mobile middleware.
D3DM_MATERIAL Contains the contents of the D3DMOP_MATERIAL command token, which instructs the driver to update the current material properties.
D3DM_PRESENT Contains the contents of the D3DMOP_PRESENT command token, which informs the driver that the current surface is complete and must be rendered to the screen.
D3DM_PROCESSVERTICES Contains the contents of the D3DMOP_PROCESSVERTICES command token (see D3DM_OPERATION), which informs the driver that it should transform and light a series of vertices based on the current texture and lighting states.
D3DM_RENDERSTATE Contains the contents of the D3DMOP_RENDERSTATE command token, which informs the driver that it must change one of its render states.
D3DM_RENDERTARGET Contains the contents of the D3DMOP_RENDERTARGET command token, which informs the driver that it must switch its current render target or depth and stencil buffer.
D3DM_RESOURCEMANAGER_DATA Provides data that describes actions that the driver should perform on its managed memory pool.
D3DM_SETLIGHT Contains the contents of the D3DMOP_SETLIGHT command token, which is used to activate or deactivate a light.
D3DM_SETLIGHT_WITHDATA Contains the contents of a D3DMOP_SETLIGHT command token, which is used to provide a full light description for a light and activate or deactivate that light.
D3DM_SETPALETTE Contains the contents of a D3DMOP_SETPALETTE command token, which is used to activate a palette.
D3DM_SETPALETTE_WITHENTRIES Contains the contents of a D3DMOP_SETPALETTE command token, which is used to define a palette.
D3DM_STRETCHRECT Contains the contents of the D3DMOP_STRETCHRECT command token, which informs the driver that it should copy pixels from one surface to another and, if necessary, performing a stretch operation in the process.
D3DM_TEXTURESTAGESTATE Contains the contents of the D3DMOP_TEXTURESTAGESTATE command token, which informs the driver that it should set a new texture stage state value.
D3DM_TRANSFORM Contains the contents of the D3DMOP_TRANSFORM command token, which informs the driver that it should change one of the transformation matrices.
D3DM_UNLOCKSURFACE_DATA Describes a surface that is to be unlocked by the driver.
D3DM_VALIDATEDEVICE_DATA Used in calls to D3DM_ValidateDevice to record the number of passes the driver will need based on the current texture state.
D3DM_VERTEXBUFFER Contains the contents of the D3DMOP_VERTEXBUFFER command token, which informs the driver that it should change the current vertex buffer.
D3DM_VIEWPORT Contains the contents of the D3DMOP_VIEWPORT command token, which informs the driver that it should change the current viewport transformation.
D3DMDEVICEFORMAT Describes the properties of a format that the driver supports for a Direct3D Mobile resource.
D3DMTEXTURE_DESC Describes levels of a texture map.

See Also

Direct3D Mobile Driver Reference | D3DM_OPERATION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.