MGD::DEVICE_MEM32RGBA Class Reference

Memory-based drawing device for 32-bit RGBA visuals. More...

#include <mi32/mg2mem32rgba.h>

Inheritance diagram for MGD::DEVICE_MEM32RGBA:
Inheritance graph
[legend]

List of all members.

Classes

class  CONTEXT
 Context for 32-bit RGBA memory device. More...

Public Member Functions

 DEVICE_MEM32RGBA ()
virtual ~DEVICE_MEM32RGBA ()
ERRVALUE Create (INT32 height, INT32 width, UINT16 NumFrameBuffers, COLORSPACE ColorSpace=COLORSPACE_A8_R8_G8_B8, FORMAT format=FORMAT_Default)
ERRVALUE Create (INT32 height, INT32 width, COLORSPACE ColorSpace=COLORSPACE_A8_R8_G8_B8, FORMAT format=FORMAT_Default)

Detailed Description

Memory-based drawing device for 32-bit RGBA visuals.


Constructor & Destructor Documentation

MGD::DEVICE_MEM32RGBA::DEVICE_MEM32RGBA (  ) 

constructor

virtual MGD::DEVICE_MEM32RGBA::~DEVICE_MEM32RGBA (  )  [virtual]

Destructor.


Member Function Documentation

ERRVALUE MGD::DEVICE_MEM32RGBA::Create ( INT32  height,
INT32  width,
UINT16  NumFrameBuffers,
COLORSPACE  ColorSpace = COLORSPACE_A8_R8_G8_B8,
FORMAT  format = FORMAT_Default 
)

Create device with option for multiple frame buffers.

If the ColorSpace is provided, it must be one of the following: COLORSPACE_A8_R8_G8_B8 (the default), COLORSPACE_R8_G8_B8_A8 COLORSPACE_A8_B8_G8_R8 COLORSPACE_B8_G8_R8_A8 Any other colorspace will return an error

Parameters:
height Height (number of rows) in pixels
width Width (number of columns) in pixels
NumFrameBuffers Number of frame buffers
format Memory format
ERRVALUE MGD::DEVICE_MEM32RGBA::Create ( INT32  height,
INT32  width,
COLORSPACE  ColorSpace = COLORSPACE_A8_R8_G8_B8,
FORMAT  format = FORMAT_Default 
) [inline]

Create device with single frame buffer.

If the ColorSpace is provided, it must be one of the following: COLORSPACE_A8_R8_G8_B8 (the default), COLORSPACE_R8_G8_B8_A8 COLORSPACE_A8_B8_G8_R8 COLORSPACE_B8_G8_R8_A8 Any other colorspace will return an error

Parameters:
height Height (number of rows) in pixels
width Width (number of columns) in pixels
format Memory format

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

Generated on Sun Oct 7 21:35:15 2012 for TNTsdk 2012 by  doxygen 1.6.1