Memory-based drawing device for 32-bit RGBA visuals. More...
#include <mi32/mg2mem32rgba.h>

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) |
Memory-based drawing device for 32-bit RGBA visuals.
| MGD::DEVICE_MEM32RGBA::DEVICE_MEM32RGBA | ( | ) |
constructor
| virtual MGD::DEVICE_MEM32RGBA::~DEVICE_MEM32RGBA | ( | ) | [virtual] |
Destructor.
| 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
| 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
| height | Height (number of rows) in pixels | |
| width | Width (number of columns) in pixels | |
| format | Memory format |
1.6.1