OGRE-Next: Ogre::ImageCodec2::ImageData2 Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::ImageCodec2::ImageData2 Class Reference

Codec return class for images. More...

`#include <OgreImageCodec2.h>`

Inheritance diagram for Ogre::ImageCodec2::ImageData2:
[legend]

## Public Member Functions
| ImageData2 ()
| ~ImageData2 () override
String | dataType () const override
| Returns the type of the data.
Public Member Functions inherited from Ogre::Codec::CodecData
virtual | ~CodecData ()

## Public Attributes
TextureBox | box
PixelFormatGpu | format
bool | freeOnDestruction
uint8 | numMipmaps
TextureTypes::TextureTypes | textureType

## Detailed Description

Codec return class for images.

Has information about the size and the pixel format of the image.

## Constructor & Destructor Documentation

## ◆ ImageData2()

Ogre::ImageCodec2::ImageData2::ImageData2 | ( |  | ) |
| inline

References format, freeOnDestruction, numMipmaps, Ogre::PFG_UNKNOWN, and textureType.

## ◆ ~ImageData2()

Ogre::ImageCodec2::ImageData2::~ImageData2 | ( |  | ) |
| inlineoverride

References box, freeOnDestruction, Ogre::MEMCATEGORY_RESOURCE, and OGRE_FREE_SIMD.

## Member Function Documentation

## ◆ dataType()

String Ogre::ImageCodec2::ImageData2::dataType | ( |  | ) | const
| inlineoverridevirtual

Returns the type of the data.

Reimplemented from Ogre::Codec::CodecData.

## Member Data Documentation

## ◆ box

TextureBox Ogre::ImageCodec2::ImageData2::box

Referenced by ~ImageData2().

## ◆ format

PixelFormatGpu Ogre::ImageCodec2::ImageData2::format

Referenced by ImageData2().

## ◆ freeOnDestruction

bool Ogre::ImageCodec2::ImageData2::freeOnDestruction

Referenced by ImageData2(), and ~ImageData2().

## ◆ numMipmaps

uint8 Ogre::ImageCodec2::ImageData2::numMipmaps

Referenced by ImageData2().

## ◆ textureType

TextureTypes::TextureTypes Ogre::ImageCodec2::ImageData2::textureType

Referenced by ImageData2().

The documentation for this class was generated from the following file:

- OgreImageCodec2.h