VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtBitmapData Struct Reference

Simple pixel buffer for rasterized image data.

Stores width, height, channel count, and a contiguous RGBA pixel buffer. Constructing with dimensions pre-allocates the pixel vector to the required size (zero-filled).

Note
Member names intentionally omit the standard my prefix for backwards compatibility with existing callers that referenced the original definition in DtMilStdTypes.h.

Public Member Functions

 DtBitmapData ()
 
 DtBitmapData (int w, int h, int ch=4)
 

Public Attributes

std::vector< uint8_t > pixels
 
int width
 
int height
 
int channels
 

Constructor & Destructor Documentation

makVrv::DtBitmapData::DtBitmapData ( )
inline

Default constructor. Initializes to zero-size with 4 channels.

makVrv::DtBitmapData::DtBitmapData ( int  w,
int  h,
int  ch = 4 
)
inline

Construct with dimensions, pre-allocating the pixel buffer.

Parameters
wWidth in pixels.
hHeight in pixels.
chChannels (bytes per pixel). Defaults to 4 (RGBA).

Member Data Documentation

std::vector<uint8_t> makVrv::DtBitmapData::pixels

Pixel buffer in RGBA format.

int makVrv::DtBitmapData::width

Image width in pixels.

int makVrv::DtBitmapData::height

Image height in pixels.

int makVrv::DtBitmapData::channels

Bytes per pixel; typically 4 (RGBA).


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)