While writing a standalone utility to convert all D3D enum members to their string representations, I came across the following bugs in the SDK documentation (version used: March 2008; currently downloading latest version to double-check if they have been fixed; will update status later).
- D3DDECLMETHOD does not include a FORCE_DWORD
- D3DDECLTYPE does not include a FORCE_DWORD
- D3DDECLUSAGE does not include a FORCE_DWORD
- D3DDISPLAYROTATION does not include a FORCE_DWORD
- D3DERR is not an enum
- D3DQUERYTYPE_ResourceManager should be all upper-case
- D3DQUERYTYPE does not include a FORCE_DWORD
- D3DRTYPE_CubeTexture should be all upper-case
- D3DSTT_1D is not a member of D3DSAMPLER_TEXTURE_TYPE
- D3DSAMPLER_TEXTURE_TYPE is not documented as having a FORCE_DWORD value of 0x7fffffff
- D3DSCANLINEORDERING does not include a FORCE_DWORD
- D3DVERTEXBLENDFLAGS does not include a FORCE_DWORD
Update:
In the August 2009 SDK (latest version) the only one of these that is kinda fixed is D3DERR. It's still included in the "Enumerations" section in the Reference, but is at least documented as if it were no longer an enum.
0 comments:
Post a Comment