ddsformat
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | 最新のリビジョン両方とも次のリビジョン | ||
ddsformat [2015/05/26 16:43] – [ヘッダ設定コードの例] oga | ddsformat [2015/05/26 16:44] – [ヘッダ設定コードの例] oga | ||
---|---|---|---|
行 381: | 行 381: | ||
header.dwMipMapCount= 1; | header.dwMipMapCount= 1; | ||
header10.ArraySize= 1; | header10.ArraySize= 1; | ||
- | header10.Dimension= | + | header10.Dimension= DDS10_DIIMENSION_2D; |
if( 非圧縮時 ){ | if( 非圧縮時 ){ | ||
行 412: | 行 412: | ||
header.dwCaps2|= DDSCAPS2_VOLUME; | header.dwCaps2|= DDSCAPS2_VOLUME; | ||
header.dwDepth= depth; | header.dwDepth= depth; | ||
+ | header10.Dimension= DDS10_DIMENSION_3D; | ||
} | } | ||
行 445: | 行 446: | ||
} | } | ||
</ | </ | ||
- | |||
ddsformat.txt · 最終更新: 2015/05/26 16:45 by oga