IDirect3DViewport

Applications use the methods of the IDirect3DViewport interface to retrieve and set the properties of viewports. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DViewport Interface.

The methods of the IDirect3DViewport interface can be organized into the following groups:

Backgrounds GetBackground

GetBackgroundDepth

SetBackground

SetBackgroundDepth

Initialization Initialize

Lights AddLight

DeleteLight

LightElements

NextLight

Materials and viewports Clear

GetViewport

SetViewport

Transformation TransformVertices

The IDirect3DViewport interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef

QueryInterface

Release