|
|
@ -9,9 +9,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
namespace nv
|
|
|
|
namespace nv
|
|
|
|
{
|
|
|
|
{
|
|
|
|
class Image;
|
|
|
|
|
|
|
|
class FloatImage;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Uncompressed 4x4 color block.
|
|
|
|
/// Uncompressed 4x4 color block.
|
|
|
|
struct ColorBlock
|
|
|
|
struct ColorBlock
|
|
|
@ -19,9 +16,7 @@ namespace nv
|
|
|
|
ColorBlock();
|
|
|
|
ColorBlock();
|
|
|
|
ColorBlock(const uint * linearImage);
|
|
|
|
ColorBlock(const uint * linearImage);
|
|
|
|
ColorBlock(const ColorBlock & block);
|
|
|
|
ColorBlock(const ColorBlock & block);
|
|
|
|
ColorBlock(const Image * img, uint x, uint y);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void init(const Image * img, uint x, uint y);
|
|
|
|
|
|
|
|
void init(uint w, uint h, const uint * data, uint x, uint y);
|
|
|
|
void init(uint w, uint h, const uint * data, uint x, uint y);
|
|
|
|
void init(uint w, uint h, const float * data, uint x, uint y);
|
|
|
|
void init(uint w, uint h, const float * data, uint x, uint y);
|
|
|
|
|
|
|
|
|
|
|
|