B3DImage Class Referenceabstract

#include <b3d_file.h>

Public Member Functions

virtual Bool Init (Int32 w, Int32 h, Int32 colormode)=0
 
virtual Bool InitAlphaChannel (Int32 w, Int32 h, Int32 colormode)
 
virtual Bool SetPixelCount (Int32 x, Int32 y, Int32 numx, UChar *buf, Int32 channels)
 
virtual Bool SetAlphaPixel (Int32 channel, Int32 x, Int32 y, Int32 numx, UChar *c_buf)
 
virtual Int32 GetBw ()=0
 
virtual Int32 GetBh ()=0
 
virtual COLORMODE GetColorMode ()=0
 
virtual void GetPixelCount (Int32 x, Int32 y, Int32 cnt, UChar *data)=0
 
virtual Int32 GetAlphaCount ()=0
 
virtual void GetAlphaPixel (Int32 channel, Int32 x, Int32 y, Int32 cnt, UChar *data)=0
 

Detailed Description

Private.

Member Function Documentation

◆ Init()

virtual Bool Init ( Int32  w,
Int32  h,
Int32  colormode 
)
pure virtual

◆ InitAlphaChannel()

virtual Bool InitAlphaChannel ( Int32  w,
Int32  h,
Int32  colormode 
)
virtual

◆ SetPixelCount()

virtual Bool SetPixelCount ( Int32  x,
Int32  y,
Int32  numx,
UChar buf,
Int32  channels 
)
virtual

◆ SetAlphaPixel()

virtual Bool SetAlphaPixel ( Int32  channel,
Int32  x,
Int32  y,
Int32  numx,
UChar c_buf 
)
virtual

◆ GetBw()

virtual Int32 GetBw ( )
pure virtual

◆ GetBh()

virtual Int32 GetBh ( )
pure virtual

◆ GetColorMode()

virtual COLORMODE GetColorMode ( )
pure virtual

◆ GetPixelCount()

virtual void GetPixelCount ( Int32  x,
Int32  y,
Int32  cnt,
UChar data 
)
pure virtual

◆ GetAlphaCount()

virtual Int32 GetAlphaCount ( )
pure virtual

◆ GetAlphaPixel()

virtual void GetAlphaPixel ( Int32  channel,
Int32  x,
Int32  y,
Int32  cnt,
UChar data 
)
pure virtual