Facebook Twitter YouTube

class Process

Defined in:  TSProcesses.h
The Process class represents an operation performed on data in a shader graph.
Definition

class Process : public GraphElement<Process, Route>, public ListElement<Process>, public Packable,

public Configurable, public Registrable<Process, ProcessRegistration>, public Memory<Process>

Member Functions
Process::GetProcessType Returns the type of a process.
Process::GetProcessFlags Returns the process flags.
Process::SetProcessFlags Sets the process flags.
Process::GetPortRoute Returns the route connected to an input port.
Process::GetPortCount Returns the number of input ports for a process.
Process::GetPortFlags Returns the port flags for a specific input port.
Constructor

Process(ProcessType type);

Parameters
type The type of the process.
Description
A Process object is a node in a shader graph that represents some kind of operation or data source. Each type of process has between 0 and 4 input ports through which data can be received from other processes. Most types of processes generate an output value that can be sent to the input ports of other processes.
Base Classes
GraphElement<Process, Route> A process is an element in a graph.
ListElement<Process> Used internally by the Graphics Manager.
Packable Processes can be packed for storage in resources.
Configurable Processes can be configured by the user in the Shader Editor.
Registrable<Process, ProcessRegistration> Process types are registered for display in the Shader Editor.
Memory<Process> Components of a shader graph are stored in a dedicated heap.
See Also

Route

Wiki Articles

Shader Editor

List of Basic Shader Processes

List of Mathematical Shader Processes

List of Complex Shader Processes

List of Interpolant Shader Processes