PostEffectChannel

References

Finalizer

~PostEffectChannel

#
~PostEffectChannel()

Fields

m_cpp

#
protected nint m_cpp

Properties

Id

#Since v7.0
public virtual Guid Id { get; }
Return the channel id which indicates what type of data is used in this channel.

PixelSize

#Since v7.0
public int PixelSize { get; }
Return the pixel size in bytes for this channel.

Methods

Clone

#Since v7.0
public PostEffectChannel Clone()
Return a clone of this channel.

Commit

#Since v7.0
public void Commit()
Commit changes to the channel so that those changes can be used by subsequent post effects in the chain. Only valid for channels that were obtained by calling GetChannelForWrite(). If the channel has the same id as an existing channel, the existing channel will be replaced by the new one. If the existing channel was created by a previous post effect in the chain, it will be deleted. Changes to channels that are not commited simply get ignored. Note: This call merely sets a flag. The process is deferred until after the post effect has finished executing.

CPU

#Since v7.0
public RenderWindow.Channel CPU()
Return an interface to this channel for doing channel operations on the CPU.

Dispose

#Since v7.0
public void Dispose()

GPU

#Since v7.0
Return an interface to this channel for doing channel operations on the GPU.