#include <d3drmdef.h>
◆ alpha_mask
unsigned long _D3DRMIMAGE::alpha_mask |
if rgb is true, these are masks for the red, green and blue parts of a pixel. Otherwise, these are masks for the significant bits of the red, green and blue elements in the palette. For instance, most SVGA displays use 64 intensities of red, green and blue, so the masks should all be set to 0xfc.
◆ aspectx
◆ aspecty
aspect ratio for non-square pixels
◆ blue_mask
unsigned long _D3DRMIMAGE::blue_mask |
◆ buffer1
void* _D3DRMIMAGE::buffer1 |
memory to render into (first buffer).
◆ buffer2
void* _D3DRMIMAGE::buffer2 |
second rendering buffer for double buffering, set to NULL for single buffering.
◆ bytes_per_line
int _D3DRMIMAGE::bytes_per_line |
number of bytes of memory for a scanline. This must be a multiple of 4.
◆ depth
◆ green_mask
unsigned long _D3DRMIMAGE::green_mask |
◆ height
width and height in pixels
◆ palette
description of the palette (only if rgb is false). Must be (1<<depth) elements.
◆ palette_size
int _D3DRMIMAGE::palette_size |
number of entries in palette
◆ red_mask
unsigned long _D3DRMIMAGE::red_mask |
◆ rgb
if false, pixels are indices into a palette otherwise, pixels encode RGB values.
◆ width
The documentation for this struct was generated from the following file: