Open 3D Engine GradientSignal Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GradientSignal::PaintStrokeData Struct Reference

Tracks all of the data that's specific to a paint stroke. More...

#include <ImageGradientModification.h>

Public Attributes

AZStd::shared_ptr< ImageTileBufferm_strokeBuffer
 

Detailed Description

Tracks all of the data that's specific to a paint stroke.

Member Data Documentation

◆ m_strokeBuffer

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.


The documentation for this struct was generated from the following file: