Detailed Description
- See also:
- Class Texmap, Class
StdUVGen, Class
TextureOutput.
- Description:
- This class is an interface into the Bitmap texture. All methods of this class
are implemented by the system.
#include <stdmat.h>
List of all
members.
Member Function Documentation
BEGIN_FUNCTION_MAP VFN_0 |
( |
bitmaptex_reload |
, |
|
|
fnReload |
|
|
) |
|
|
VFN_0 |
( |
bitmaptex_crop |
, |
|
|
fnViewImage |
|
|
) |
|
|
virtual END_FUNCTION_MAP void
SetFilterType |
( |
int |
ft |
) |
[pure virtual] |
- Parameters:
- int ft
Image filtering types. One of the following values:
FILTER_PYR
Pyramidal.
FILTER_SAT
Summed Area.
FILTER_NADA
None.
virtual void SetAlphaSource |
( |
int |
as |
) |
[pure virtual] |
- Parameters:
- int as
Alpha source types. One of the following values:
ALPHA_FILE
Image alpha (if present).
ALPHA_RGB
RGB Intensity.
ALPHA_NONE
None (opaque).
virtual void SetEndCondition |
( |
int |
endcond |
) |
[pure virtual] |
- Parameters:
- int endcond
The end condition. One of the following values:
END_LOOP
END_PINGPONG
END_HOLD
virtual void SetAlphaAsMono |
( |
BOOL |
onoff |
) |
[pure virtual] |
- Parameters:
- BOOL onoff
TRUE for Alpha; FALSE for RGB Intensity.
virtual void SetAlphaAsRGB |
( |
BOOL |
onoff |
) |
[pure virtual] |
- Parameters:
- BOOL onoff
TRUE for RGB; FALSE for Alpha channel.
virtual void SetPremultAlpha |
( |
BOOL |
onoff |
) |
[pure virtual] |
virtual void SetMapName |
( |
const MCHAR * |
name, |
|
|
bool |
isUIAction =
false |
|
) |
|
[pure virtual] |
Changes the name of the bitmap file.
Changes the file name of the image to be used.
- Parameters:
-
[in] |
name |
- The new file name. |
[in] |
isUIAction |
- Should be set to true if and only if the renaming of the file
is the result of a UI action from the user. When this is set to
true, the bitmap texture may, for example, display a dialog asking
the user whether the map should be cached by the bitmap proxy
system. |
Change the bitmap file.
Changes the asset to be used.
- Parameters:
-
[in] |
asset |
- The new asset. |
[in] |
isUIAction |
- Should be set to true if and only if the renaming of the file
is the result of a UI action from the user. When this is set to
true, the bitmap texture may, for example, display a dialog asking
the user whether the map should be cached by the bitmap proxy
system. |
virtual void SetStartTime |
( |
TimeValue |
t |
) |
[pure virtual] |
- Parameters:
- TimeValue t
The new start time.
virtual void SetPlaybackRate |
( |
float |
r |
) |
[pure virtual] |
- Parameters:
- float r
The new playback rate. This is frames of the bitmap per frame of
rendering time. If the value is 1 then you are playing 1 frame for
every render frame. If it is 0.5 then the bitmap frame is held for
2 rendering frames.
virtual int GetFilterType |
( |
|
) |
[pure virtual] |
- Returns:
- One of the following values:
FILTER_PYR
Pyramidal.
FILTER_SAT
Summed Area Table.
FILTER_NADA
None.
virtual int GetAlphaSource |
( |
|
) |
[pure virtual] |
- Returns:
- One of the following values:
ALPHA_FILE
ALPHA_RGB
ALPHA_NONE
virtual int GetEndCondition |
( |
|
) |
[pure virtual] |
- Returns:
- One of the following values:
END_LOOP
END_PINGPONG
END_HOLD
virtual BOOL GetAlphaAsMono |
( |
BOOL |
onoff |
) |
[pure virtual] |
- Parameters:
- BOOL onoff
This parameter is ignored.
- Returns:
- TRUE if Alpha; FALSE if RGB Intensity.
virtual BOOL GetAlphaAsRGB |
( |
BOOL |
onoff |
) |
[pure virtual] |
- Parameters:
- BOOL onoff
This parameter is ignored.
- Returns:
- TRUE for RGB; FALSE for Image Alpha.
virtual BOOL GetPremultAlpha |
( |
BOOL |
onoff |
) |
[pure virtual] |
virtual MCHAR* GetMapName |
( |
|
) |
[pure virtual] |
virtual TimeValue GetStartTime |
( |
|
) |
[pure virtual] |
virtual float GetPlaybackRate |
( |
|
) |
[pure virtual] |
virtual StdUVGen* GetUVGen |
( |
|
) |
[pure virtual] |
virtual void SetBitmap |
( |
Bitmap * |
bm |
) |
[inline, virtual] |
- Parameters:
- Bitmap
*bm
A pointer to the bitmap.
- Default Implementation:
- { }
virtual Bitmap* GetBitmap |
( |
TimeValue |
t |
) |
[inline, virtual] |
- Parameters:
- TimeValue t
The time at which to return the bitmap.
virtual void BitmapLoadDlg |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return 0; }
virtual void ReloadBitmapAndUpdate |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return 0; }
virtual void fnReload |
( |
|
) |
[pure virtual] |
virtual void fnViewImage |
( |
|
) |
[pure virtual] |
virtual void SetBitmapInfo |
( |
const BitmapInfo & |
|
) |
[inline, virtual] |
BitmapTex BitmapTex BitmapTex BitmapTex
BitmapTex BitmapTex BitmapTex BitmapTex BitmapTex BitmapTex
BitmapTex BitmapTex BitmapTex BitmapTex
BitmapTex BitmapTex BitmapTex BitmapTex BitmapTex BitmapTex