SetStreamSource Method

PixelShader.SetStreamSource Method (Stream)

.NET Framework (current version)
 

Assigns the Stream to use as the source of HLSL bytecode.

Namespace:   System.Windows.Media.Effects
Assembly:  PresentationCore (in PresentationCore.dll)

public void SetStreamSource(
	Stream source
)

Parameters

source
Type: System.IO.Stream

The stream to read the HLSL bytecode from.

Exception Condition
ArgumentNullException

source is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft