Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDDSCaps::Caps2 ]
[ next: ErrorValue ]
[ prev: Caps ]
public:
__property dword Caps2 = { read=FGetCaps2, write=FSetCaps2, default=0 };
TDDSCAPS::CAPS2
[ component property ]
- Description
The Caps2 property defines flags indicating more surface capabilities as well as some usage hints for the driver.
The described effect applies when the flag is set.
- Flags
DDSCAPS2_CUBEMAP
The surface is a cubic environment map.
The various DDSCAPS2_CUBEMAP_???? flags can be used to indicate which face or faces of the cubemap to create or access.
DDSCAPS2_CUBEMAP_ALLFACES
Create or access all the faces of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_NEGATIVEX
Create or access the negative X face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_NEGATIVEY
Create or access the negative Y face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_NEGATIVEZ
Create or access the negative Z face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_POSITIVEX
Create or access the positive X face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_POSITIVEY
Create or access the positive Y face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_CUBEMAP_POSITIVEZ
Create or access the positive Z face of a cubic environment map.
DDSCAPS2_CUBEMAP must also be set.
DDSCAPS2_D3DTEXTUREMANAGE
The surface this component describes will be automatically managed by the driver or the TDx_3D texture manager.
This setting will only be valid if DDSCAPS_TEXTURE is set in TDDSCaps::Caps.
This flag should not be set when using TDx_3DR.
DDSCAPS2_DONOTPERSIST
Indicates that the managed surface can be lost without causing problems.
DDSCAPS2_HARDWAREDEINTERLACE
The surface this component describes will receive de-interlaced video port data.
To utilize this capability DDSCAPS_VIDEOPORT and DDSCAPS_OVERLAY must be set in TDDSCaps::Caps.
DDSCAPS2_HINTANTIALIASING
The surface this component describes will use antialiasing.
This setting will only be valid if DDSCAPS_3DDEVICE is set in TDDSCaps::Caps.
DDSCAPS2_HINTDYNAMIC
The surface this component describes will be be locked frequently.
This setting will only be valid if DDSCAPS_TEXTURE is set in TDDSCaps::Caps.
The DDSCAPS2_HINTSTATIC and DDSCAPS2_OPAQUE flags must not be set.
DDSCAPS2_HINTSTATIC
The surface this component describes can be retiled or reordered when loading.
This setting will only be valid if DDSCAPS_TEXTURE is set in TDDSCaps::Caps.
The DDSCAPS2_HINTDYNAMIC and DDSCAPS2_OPAQUE flags must not be set.
DDSCAPS2_MIPMAPSUBLEVEL
All sub level surfaces of a complex construct such as a mipmapped cube map should have this flag set.
This allows TDx_DrawSurface::GetAttachedSurface() to distinguish between the top level faces and the attached mipmap levels, allowing retrieval via that method rather than relying on TDx_DrawSurface::EnumAttachedSurfaces().
DDSCAPS2_OPAQUE
The surface this component describes will never be locked again.
This setting will only be valid if DDSCAPS_TEXTURE flag is set in TDDSCaps::Caps.
The DDSCAPS2_HINTDYNAMIC and DDSCAPS2_HINTSTATIC flags must not be set.
The driver may optimize this surface as desired.
Any attempts to lock or blit a surface with this flag set will fail.
DDSCAPS2_STEREOSURFACELEFT
The surface is part of a stereo flipping chain.
Creating surfaces using this flag will result in a pair of stereo surfaces to be created for each buffer in the primary flipping chain.
Since TDx_DrawSurface::Flip() requires back buffers, this means that at least four surfaces must be created.
If this flag is set in the TDDSurfaceDesc component returned by TDx_Draw::EnumDisplayModes() or TDx_Draw::GetDisplayMode(), it indicates that stereo is supported for that mode.
DDSCAPS2_TEXTUREMANAGE
The surface this component describes is to be automatically managed by the TDx_3D texture manager.
This setting will only be valid if DDSCAPS_TEXTURE is set in DDSCaps::Caps.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|