Class PostProcessingOutputNodePort
Represents a single port (input/output) of a post-processing node.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class PostProcessingOutputNodePort : PostProcessingNodePort
  Constructors
PostProcessingOutputNodePort()
Initializes a new instance of the PostProcessingOutputNodePort class.
Declaration
public PostProcessingOutputNodePort()
  PostProcessingOutputNodePort(string, APostProcessingNodePortType)
Initializes a new instance of the PostProcessingOutputNodePort class.
Declaration
public PostProcessingOutputNodePort(string name, APostProcessingNodePortType type)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The port name.  | 
      
| APostProcessingNodePortType | type | The port type.  | 
      
Properties
ConnectedWith
Gets list port IDs.
Declaration
[EvergineMember]
public List<PostProcessingPortConnection> ConnectedWith { get; }
  Property Value
| Type | Description | 
|---|---|
| List<PostProcessingPortConnection> | 
FixedSize
Gets or sets output texture size. Shader tag [Output(Width, Height, PixelFormat)].
Declaration
public Vector2 FixedSize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector2 | 
ReferencedInput
Gets or sets referenced input. Shader tag [Output(ReferencedInput, ScaleFactor, PixelFormat)].
Declaration
[EvergineMember]
public string ReferencedInput { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ScaleFactor
Gets or sets output assigned scale factor. Reference input texture dimensions will be multipliers by it. (Default value: 1.0). Shader tag [Output(ReferencedInput, ScaleFactor, PixelFormat)].
Declaration
[EvergineMember]
public float ScaleFactor { get; set; }
  Property Value
| Type | Description | 
|---|---|
| float | 
pixelFormat
Gets or sets assigned pixel format. Shader tag [Output(..., ..., PixelFormat)].
Declaration
[EvergineMember]
public PixelFormat pixelFormat { get; set; }
  Property Value
| Type | Description | 
|---|---|
| PixelFormat | 
Methods
AddConnection(PostProcessingPortConnection)
Add new connection to the port.
Declaration
public PostProcessingOutputNodePort AddConnection(PostProcessingPortConnection connection)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PostProcessingPortConnection | connection | The new connection.  | 
      
Returns
| Type | Description | 
|---|---|
| PostProcessingOutputNodePort | The post-processing node port(fluent syntax).  | 
      
RemoveConnection(PostProcessingPortConnection)
Remove connection.
Declaration
public PostProcessingOutputNodePort RemoveConnection(PostProcessingPortConnection connection)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PostProcessingPortConnection | connection | The remove connection.  | 
      
Returns
| Type | Description | 
|---|---|
| PostProcessingOutputNodePort | The post-processing node port (fluent syntax).  |