Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ModuleImageInfo Struct Reference

The structure stores information about an image. It is used by the ModuleImage class. More...

Public Types

enum  ModuleImageInfoDirtiness {
  DIRTINESS_NONE = 0,
  DIRTINESS_SRC = 1,
  DIRTINESS_POSITION = 2,
  DIRTINESS_ALL = 3
}
 This enumeration defines the values that can be used to describe the dirtiness state of an image. More...
 

Public Member Functions

bool is_dirty ()
 
unsigned char get_dirty () const
 
void set_dirty (unsigned char _dirtiness)
 
void modify_dirty (unsigned char _dirtiness)
 

Public Attributes

int offset_x
 
int offset_y
 
ImageHandleimage
 
GMathVec4f * region
 
bool image_is_ref
 

Detailed Description

The structure stores information about an image. It is used by the ModuleImage class.

Member Enumeration Documentation

This enumeration defines the values that can be used to describe the dirtiness state of an image.

Enumerator:
DIRTINESS_NONE 

No dirtiness, the image is ok.

DIRTINESS_SRC 

The source of the image is dirty, it need to be recomputed.

DIRTINESS_POSITION 

Image offsets have been modified, the image need to be shifted.

DIRTINESS_ALL 

Image needs recompute.