Microsoft DirectX 8.1 (Visual Basic)

D3DSURFACE_DESC

Describes a surface.

Type D3DSURFACE_DESC
    format As CONST_D3DFORMAT
    Height As Long
    MultiSampleType As CONST_D3DMULTISAMPLE_TYPE
    Pool As CONST_D3DPOOL
    size As Long
    type As CONST_D3DRESOURCETYPE
    Usage As Long
    Width As Long
End Type

Members

format
A member of the CONST_D3DFORMAT enumeration, describing the surface format.
Height
The height of the surface, in pixels.
MultiSampleType
A member of the CONST_D3DMULTISAMPLE_TYPE enumeration, specifying the levels of full-scene multisampling supported by the surface.
Pool
A member of the CONST_D3DPOOL enumeration, specifying the class of memory allocated for this surface.
size
The size of the surface, in bytes.
type
A member of the CONST_D3DRESOURCETYPE enumerated type, identifying this resource as a surface.
Usage
A combination of one or more of the following flags defined by the CONST_D3DUSAGEFLAGS enumeration, specifying the usage for this resource.
D3DUSAGE_DEPTHSTENCIL
Set to indicate that the surface is to be used as a depth stencil surface.
D3DUSAGE_RENDERTARGET
Set to indicate that the surface is to be used as a render target.
Width
The width of the surface, in pixels.

See Also

Direct3DCubeTexture8.GetLevelDesc, Direct3DSurface8.GetDesc, Direct3DTexture8.GetLevelDesc.