![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
A no-operation effect that leaves pixel groups unchanged. More...
#include <Passthrough.h>
Public Member Functions | |
Passthrough () | |
Constructs a Passthrough effect instance. | |
void | ApplyEffect (IPixelGroup *pixelGroup) override |
Applies the passthrough effect to the given pixel group. | |
![]() | |
Effect () | |
Default constructor for the Effect class. | |
void | SetRatio (float ratio) |
Sets the scaling ratio for the effect. | |
Additional Inherited Members | |
![]() | |
float | ratio = 0.0f |
A scaling ratio used for dynamic effect adjustments. | |
A no-operation effect that leaves pixel groups unchanged.
The Passthrough
effect is used when no transformations or modifications are required for a pixel group.
Definition at line 24 of file Passthrough.h.
Passthrough | ( | ) |
Constructs a Passthrough
effect instance.
This constructor initializes the Passthrough
effect without requiring any parameters.
Definition at line 3 of file Passthrough.cpp.
|
overridevirtual |
Applies the passthrough effect to the given pixel group.
This method leaves the pixel group unchanged, effectively acting as a no-op.
pixelGroup | Pointer to the IPixelGroup to which the effect will be applied. |
Implements Effect.
Definition at line 5 of file Passthrough.cpp.