[ TDx_Draw_Library ]
[ next: TDDVideoPortBandwidth ]
[ prev: TDDSCaps ]
class TDDSurfaceDesc : public TComponent
class PACKAGE TDDSurfaceDesc : public TComponent
class type : Wrapper
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Properties
Methods
Events
See Also
The TDDSurfaceDesc component wraps the DirectX DDSURFACEDESC2 structure, which describes the properties of a surface.
It is used in TDx_Draw::CreateSurface(), TDx_Draw::EnumDisplayModes(), TDx_Draw::EnumSurfaces() and TDx_Draw::GetDisplayMode(). Also in TDx_DrawSurface::GetSurfaceDesc(), TDx_DrawSurface::Initialize(), TDx_DrawSurface::Lock() and TDx_DrawSurface::SetSurfaceDesc(). The TDx_Draw::OnEnumModesCallback() and TDx_Draw::OnEnumSurfacesCallback events also utilize this component.
The relevant properties that need to be set may differ for each potential type of surface that can be created.
When calling TDx_DrawSurface::GetSurfaceDesc(), the Pitch and Surface properties are output values.
When creating or modifying surfaces in memory allocated by the calling application, these properties should contain the pitch and location of that memory.
PROPERTIES
Top
Properties
Methods
Events
See Also
AlphaBitDepth
BackBufferCount
CKDestBlt
CKDestOverlay
CKSrcBlt
CKSrcOverlay
EmptyFaceColor
ErrorValue
Flags
Height
LinearSize
MipMapCount
Pitch
PixelFormat
RefreshRate
SCaps
Size
Surface
TextureStage
Width
METHODS
Top
Properties
Methods
Events
See Also
Clear
EVENTS
Top
Properties
Methods
Events
See Also
OnError
SEE ALSO
Top
Properties
Methods
Events
See Also
TDx_Draw::CreateSurface()
TDx_Draw::EnumDisplayModes()
TDx_Draw::GetDisplayMode()
TDx_DrawSurface::GetSurfaceDesc()
TDx_DrawSurface::Lock()
TDx_DrawSurface::SetSurfaceDesc()
TDDColorKey
TDDPixelFormat
TDDSCaps
TDx_Draw::EnumSurfaces()