CSLTexture2D Class Reference
#include <Texture2D.h>
Inheritance diagram for CSLTexture2D:
List of all members.
Detailed Description
Describes a 2D texture (see the SI_Texture2D template reference).
Member Enumeration Documentation
This enum lists all mapping type supported by the texture 2D.
This enum lists all blending type supported by the texture 2D.
Member Function Documentation
| SI_Char* GetImageFileName |
( |
|
) |
[inline] |
Return the name of the texture's image file.
- Returns:
- SI_Char* Image file name.
| SI_Void SetImageFileName |
( |
SI_Char * |
in_szValue |
) |
[inline] |
Change the name of the texture's image file.
- Parameters:
-
|
|
SI_Char* |
New image file name. |
- Returns:
- None
Return the mapping type of the texture.
- Returns:
- EMappingType Mapping type.
Change the mapping type of the texture.
- Parameters:
-
|
|
EMappingType |
New mapping type. |
- Returns:
- None
| SI_Int GetImageWidth |
( |
|
) |
[inline] |
Return the width in pixel of the image.
- Returns:
- SI_Int Image width.
| SI_Void SetImageWidth |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the width of the image.
- Parameters:
-
- Returns:
- None
| SI_Int GetImageHeight |
( |
|
) |
[inline] |
Return the height in pixel of the image.
- Returns:
- SI_Int Image height.
| SI_Void SetImageHeight |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the height of the image.
- Parameters:
-
- Returns:
- None
| SI_Int GetCropUMin |
( |
|
) |
[inline] |
Return the start of the cropping region in V.
- Returns:
- SI_Int Start of the cropping region in V.
| SI_Void SetCropUMin |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the start of the cropping region in V.
- Parameters:
-
|
|
SI_Int |
New start of the cropping region in V. |
- Returns:
- None
| SI_Int GetCropUMax |
( |
|
) |
[inline] |
Return the end of the cropping region in V.
- Returns:
- SI_Int End of the cropping region in V.
| SI_Void SetCropUMax |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the end of the cropping region in V.
- Parameters:
-
|
|
SI_Int |
New end of the cropping region in V. |
- Returns:
- None
| SI_Int GetCropVMin |
( |
|
) |
[inline] |
Return the start of the cropping region in V.
- Returns:
- SI_Int Start of the cropping region in V.
| SI_Void SetCropVMin |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the start of the cropping region in V.
- Parameters:
-
|
|
SI_Int |
New start of the cropping region in V. |
- Returns:
- None
| SI_Int GetCropVMax |
( |
|
) |
[inline] |
Return the end of the cropping region in V.
- Returns:
- SI_Int End of the cropping region in V.
| SI_Void SetCropVMax |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the end of the cropping region in V.
- Parameters:
-
|
|
SI_Int |
New end of the cropping region in V. |
- Returns:
- None
| SI_Bool GetUVSwapFlag |
( |
|
) |
[inline] |
Indicates if the U and V orientations are swapped.
- Returns:
- SI_Bool UV swap state.
| SI_Void SetUVSwapFlag |
( |
SI_Bool |
in_bState |
) |
[inline] |
Change the U and V orientations swapping state.
- Parameters:
-
|
|
SI_Bool |
New UV swap state. |
- Returns:
- None
| SI_Int GetURepeat |
( |
|
) |
[inline] |
Return the number of horizontal repetitions of the image.
- Returns:
- SI_Int Number of horizontal repetitions.
| SI_Void SetURepeat |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the number of horizontal repetitions of the image.
- Parameters:
-
|
|
SI_Int |
New number of horizontal repetitions. |
- Returns:
- None
| SI_Int GetVRepeat |
( |
|
) |
[inline] |
Return the number of vertical repetitions of the image.
- Returns:
- SI_Int Number of vertical repetitions.
| SI_Void SetVRepeat |
( |
SI_Int |
in_nValue |
) |
[inline] |
Change the number of vertical repetitions of the image.
- Parameters:
-
|
|
SI_Int |
New number of vertical repetitions. |
- Returns:
- None
| SI_Bool GetUAlternate |
( |
|
) |
[inline] |
Return the flag that indicates if the texture is mirrored horizontally.
- Returns:
- SI_Bool U alternate state.
| SI_Void SetUAlternate |
( |
SI_Bool |
in_bState |
) |
[inline] |
Change the flag that indicates if the texture is mirrored horizontally.
- Parameters:
-
|
|
SI_Bool |
New U alternate state. |
- Returns:
- None
| SI_Bool GetVAlternate |
( |
|
) |
[inline] |
Return the flag that indicates if the texture is mirrored horizontally.
- Returns:
- SI_Bool V alternate state.
| SI_Void SetVAlternate |
( |
SI_Bool |
in_bState |
) |
[inline] |
Change the flag that indicates if the texture is mirrored horizontally.
- Parameters:
-
|
|
SI_Bool |
New V alternate state. |
- Returns:
- None
| SI_Float GetUScale |
( |
|
) |
[inline] |
Return the scaling of image in U.
- Returns:
- SI_Float Scaling of image in U.
| SI_Void SetUScale |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the scaling of image in U.
- Parameters:
-
|
|
SI_Float |
New scaling of image in U. |
- Returns:
- None
| SI_Float GetVScale |
( |
|
) |
[inline] |
Return the scaling of image in V.
- Returns:
- SI_Float Scaling of image in V.
| SI_Void SetVScale |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the scaling of image in V.
- Parameters:
-
|
|
SI_Float |
New scaling of image in V. |
- Returns:
- None
| SI_Float GetUOffset |
( |
|
) |
[inline] |
Return the offset of image in U.
- Returns:
- SI_Float Offset of image in U.
| SI_Void SetUOffset |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the offset of image in U.
- Parameters:
-
|
|
SI_Float |
New offset of image in U. |
- Returns:
- None
| SI_Float GetVOffset |
( |
|
) |
[inline] |
Return the offset of image in V.
- Returns:
- SI_Float Offset of image in V.
| SI_Void SetVOffset |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the offset of image in V.
- Parameters:
-
|
|
SI_Float |
New offset of image in V. |
- Returns:
- None
Return the projection matrix of the texture.
- Returns:
- CSIBCMatrix4x4 projection matrix.
Change the projection matrix of the texture.
- Parameters:
-
|
|
CSIBCMatrix4x4& |
New projection matrix. |
- Returns:
- None
Return the type of blending between texture and material attributes.
- Returns:
- EBlendingType Blending type.
Change the type of blending between texture and material attributes.
- Parameters:
-
|
|
EBlendingType |
New blending type. |
- Returns:
- None
| SI_Float GetBlending |
( |
|
) |
[inline] |
Return the normalized contribution of texture attributes (ambient, diffuse, specular, transparency, reflectivity).
- Returns:
- SI_Float Contribution of texture attributes.
| SI_Void SetBlending |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture attributes.
- Parameters:
-
|
|
SI_Float |
New contribution of texture attributes. |
- Returns:
- None
| SI_Float GetAmbient |
( |
|
) |
[inline] |
Return the normalized contribution of texture pixel colors to the material ambient color.
- Returns:
- SI_Float Contribution of texture.
| SI_Void SetAmbient |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture pixel colors to the material ambient color.
- Parameters:
-
|
|
SI_Float |
New contribution of texture. |
- Returns:
- None
| SI_Float GetDiffuse |
( |
|
) |
[inline] |
Return the normalized contribution of texture pixel colors to the material diffuse color.
- Returns:
- SI_Float Contribution of texture.
| SI_Void SetDiffuse |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture pixel colors to the material diffuse color.
- Parameters:
-
|
|
SI_Float |
New contribution of texture. |
- Returns:
- None
| SI_Float GetSpecular |
( |
|
) |
[inline] |
Return the normalized contribution of texture pixel colors to the material specular color.
- Returns:
- SI_Float Contribution of texture.
| SI_Void SetSpecular |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture pixel colors to the material specular color.
- Parameters:
-
|
|
SI_Float |
New contribution of texture. |
- Returns:
- None
| SI_Float GetTransparency |
( |
|
) |
[inline] |
Return the normalized contribution of texture pixel colors to the material transparency level.
- Returns:
- SI_Float Contribution of texture.
| SI_Void SetTransparency |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture pixel colors to the material transparency level.
- Parameters:
-
|
|
SI_Float |
New contribution of texture. |
- Returns:
- None
| SI_Float GetReflectivity |
( |
|
) |
[inline] |
Return the normalized contribution of texture pixel colors to the material reflectivity level.
- Returns:
- SI_Float Contribution of texture.
| SI_Void SetReflectivity |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the normalized contribution of texture pixel colors to the material reflectivity level.
- Parameters:
-
|
|
SI_Float |
New contribution of texture. |
- Returns:
- None
| SI_Float GetRoughness |
( |
|
) |
[inline] |
Return the bump mapping intensity and/or displacement of geometry along surface normals.
- Returns:
- SI_Float Bump mapping intensity.
| SI_Void SetRoughness |
( |
SI_Float |
in_fValue |
) |
[inline] |
Change the bump mapping intensity.
- Parameters:
-
|
|
SI_Float |
New bump mapping intensity. |
- Returns:
- None
Indicate which dotXSI template this object describes.
- Returns:
- ETemplateType Type of template
Implements CSLTemplate.
The documentation for this class was generated from the following file: