#include <streakRender.h>
|
| | StreakRendererClass (void) |
| |
| | StreakRendererClass (const StreakRendererClass &that) |
| |
| StreakRendererClass & | operator= (const StreakRendererClass &that) |
| |
| | ~StreakRendererClass (void) |
| |
| void | Init (const W3dEmitterLinePropertiesStruct &props) |
| |
| TextureClass * | Get_Texture (void) const |
| |
| TextureClass * | Peek_Texture (void) const |
| |
| ShaderClass | Get_Shader (void) const |
| |
| float | Get_Width (void) const |
| |
| const Vector3 & | Get_Color (void) const |
| |
| float | Get_Opacity (void) const |
| |
| float | Get_Noise_Amplitude (void) const |
| |
| float | Get_Merge_Abort_Factor (void) const |
| |
| unsigned int | Get_Current_Subdivision_Level (void) const |
| |
| TextureMapMode | Get_Texture_Mapping_Mode (void) const |
| |
| int | Is_Merge_Intersections (void) const |
| |
| int | Is_Freeze_Random (void) const |
| |
| int | Is_Sorting_Disabled (void) const |
| |
| int | Are_End_Caps_Enabled (void) const |
| |
| void | Set_Texture (TextureClass *texture) |
| |
| void | Set_Shader (ShaderClass shader) |
| |
| void | Set_Width (float width) |
| |
| void | Set_Color (const Vector3 &color) |
| |
| void | Set_Opacity (float opacity) |
| |
| void | Set_Noise_Amplitude (float amplitude) |
| |
| void | Set_Merge_Abort_Factor (float factor) |
| |
| void | Set_Current_Subdivision_Level (unsigned int lv) |
| |
| void | Set_Texture_Mapping_Mode (TextureMapMode mode) |
| |
| void | Set_Merge_Intersections (int onoff) |
| |
| void | Set_Freeze_Random (int onoff) |
| |
| void | Set_Disable_Sorting (int onoff) |
| |
| void | Set_End_Caps (int onoff) |
| |
| void | Reset_Line (void) |
| |
| void | Render (RenderInfoClass &rinfo, const Matrix3D &transform, unsigned int point_count, Vector3 *points, const SphereClass &obj_sphere) |
| |
| void | RenderStreak (RenderInfoClass &rinfo, const Matrix3D &transform, unsigned int point_count, Vector3 *points, Vector4 *colors, float *widths, const SphereClass &obj_sphere, unsigned int *personalities) |
| |
StreakRendererClass This class implements the low-level line rendering functionality used by both SegmentedLineClass and ParticleBufferClass
Definition at line 64 of file streakRender.h.
◆ TextureMapMode
| Enumerator |
|---|
| UNIFORM_WIDTH_TEXTURE_MAP | |
| UNIFORM_LENGTH_TEXTURE_MAP | |
| TILED_TEXTURE_MAP | |
Definition at line 73 of file streakRender.h.
◆ StreakRendererClass() [1/2]
| StreakRendererClass::StreakRendererClass |
( |
void | | ) |
|
◆ StreakRendererClass() [2/2]
◆ ~StreakRendererClass()
| StreakRendererClass::~StreakRendererClass |
( |
void | | ) |
|
◆ Are_End_Caps_Enabled()
| int StreakRendererClass::Are_End_Caps_Enabled |
( |
void | | ) |
const |
|
inline |
◆ Get_Color()
| const Vector3 & StreakRendererClass::Get_Color |
( |
void | | ) |
const |
|
inline |
◆ Get_Current_Subdivision_Level()
| unsigned int StreakRendererClass::Get_Current_Subdivision_Level |
( |
void | | ) |
const |
|
inline |
◆ Get_Merge_Abort_Factor()
| float StreakRendererClass::Get_Merge_Abort_Factor |
( |
void | | ) |
const |
|
inline |
◆ Get_Noise_Amplitude()
| float StreakRendererClass::Get_Noise_Amplitude |
( |
void | | ) |
const |
|
inline |
◆ Get_Opacity()
| float StreakRendererClass::Get_Opacity |
( |
void | | ) |
const |
|
inline |
◆ Get_Shader()
| ShaderClass StreakRendererClass::Get_Shader |
( |
void | | ) |
const |
|
inline |
◆ Get_Texture()
| TextureClass * StreakRendererClass::Get_Texture |
( |
void | | ) |
const |
◆ Get_Texture_Mapping_Mode()
◆ Get_Width()
| float StreakRendererClass::Get_Width |
( |
void | | ) |
const |
|
inline |
◆ Init()
◆ Is_Freeze_Random()
| int StreakRendererClass::Is_Freeze_Random |
( |
void | | ) |
const |
|
inline |
◆ Is_Merge_Intersections()
| int StreakRendererClass::Is_Merge_Intersections |
( |
void | | ) |
const |
|
inline |
◆ Is_Sorting_Disabled()
| int StreakRendererClass::Is_Sorting_Disabled |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ Peek_Texture()
| TextureClass * StreakRendererClass::Peek_Texture |
( |
void | | ) |
const |
|
inline |
◆ Render()
◆ RenderStreak()
NEW ///// // TODO: Does not work correctly when subdivision are not 0
- Parameters
-
| widths | //////////// DIFFERENT FROM RENDER( ) |
| obj_sphere | //////////// DIFFERENT FROM RENDER( ) |
| personalities | //////////// DIFFERENT FROM RENDER( ) |
Definition at line 307 of file streakRender.cpp.
◆ Reset_Line()
| void StreakRendererClass::Reset_Line |
( |
void | | ) |
|
|
inline |
◆ Set_Color()
| void StreakRendererClass::Set_Color |
( |
const Vector3 & | color | ) |
|
|
inline |
◆ Set_Current_Subdivision_Level()
| void StreakRendererClass::Set_Current_Subdivision_Level |
( |
unsigned int | lv | ) |
|
|
inline |
◆ Set_Disable_Sorting()
| void StreakRendererClass::Set_Disable_Sorting |
( |
int | onoff | ) |
|
|
inline |
◆ Set_End_Caps()
| void StreakRendererClass::Set_End_Caps |
( |
int | onoff | ) |
|
|
inline |
◆ Set_Freeze_Random()
| void StreakRendererClass::Set_Freeze_Random |
( |
int | onoff | ) |
|
|
inline |
◆ Set_Merge_Abort_Factor()
| void StreakRendererClass::Set_Merge_Abort_Factor |
( |
float | factor | ) |
|
|
inline |
◆ Set_Merge_Intersections()
| void StreakRendererClass::Set_Merge_Intersections |
( |
int | onoff | ) |
|
|
inline |
◆ Set_Noise_Amplitude()
| void StreakRendererClass::Set_Noise_Amplitude |
( |
float | amplitude | ) |
|
|
inline |
◆ Set_Opacity()
| void StreakRendererClass::Set_Opacity |
( |
float | opacity | ) |
|
|
inline |
◆ Set_Shader()
| void StreakRendererClass::Set_Shader |
( |
ShaderClass | shader | ) |
|
|
inline |
◆ Set_Texture()
| void StreakRendererClass::Set_Texture |
( |
TextureClass * | texture | ) |
|
◆ Set_Texture_Mapping_Mode()
◆ Set_Width()
| void StreakRendererClass::Set_Width |
( |
float | width | ) |
|
|
inline |
◆ SegmentedLineClass
The documentation for this class was generated from the following files: