Open 3D Engine GradientSignal Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Tracks all of the data that's specific to a paint stroke. More...
#include <ImageGradientModification.h>
Public Attributes | |
AZStd::shared_ptr< ImageTileBuffer > | m_strokeBuffer |
Tracks all of the data that's specific to a paint stroke.
AZStd::shared_ptr<ImageTileBuffer> GradientSignal::PaintStrokeData::m_strokeBuffer |
A buffer to accumulate a single paint stroke into. This buffer is used to ensure that within a single paint stroke, we only perform an operation on a pixel once, not multiple times. After the paint stroke is complete, this buffer is handed off to the undo/redo batch so that we can undo/redo each stroke.