Added comments
This commit is contained in:
parent
72fedd4f3c
commit
8e746deb78
@ -44,7 +44,7 @@ namespace hgl
|
|||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
constexpr size_t TGAHeaderSize=sizeof(TGAHeader);
|
constexpr size_t TGAHeaderSize=sizeof(TGAHeader); ///<TGA文件头,必须等于18
|
||||||
|
|
||||||
bool FillTGAHeader(TGAHeader *header,const uint16 width,const uint16 height,const uint8 channels,const uint8 single_channel_bits=8);
|
bool FillTGAHeader(TGAHeader *header,const uint16 width,const uint16 height,const uint8 channels,const uint8 single_channel_bits=8);
|
||||||
}//namespace imgfmt
|
}//namespace imgfmt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user