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