FragmentLinker Class (Microsoft.DirectX.Direct3D)
Links shader fragments at runtime.
Definition
Visual Basic NotInheritable Public Class FragmentLinker
Inherits MarshalByRefObject
Implements IDisposableC# public sealed class FragmentLinker : MarshalByRefObject, IDisposable C++ public ref class FragmentLinker sealed : MarshalByRefObject, IDisposable JScript public final class FragmentLinker extends MarshalByRefObject implements IDisposable
Members Table
The following table lists the members exposed by the object.
Events
Event Description Disposing Occurs when the Dispose method is called or when the FragmentLinker object is finalized and collected by the garbage collector of the .NET common language runtime. Methods
Method Description AddFragments Adds fragments to the existing fragment linker. ClearCache Clears the fragment linker cache. Dispose Immediately releases the unmanaged resources used by the FragmentLinker object. Equals Returns a value that indicates whether the current instance is equal to a specified object. Finalize Allows the FragmentLinker object to free resources before it is destroyed by the garbage collector. FragmentLinker Initializes a new instance of the FragmentLinker class. GatherFragmentsFromFile Assembles shader fragments and creates a new fragment linker object. GatherFragmentsFromStream Assembles shader fragments and creates a new fragment linker object. GatherFragmentsFromString Assembles shader fragments and creates a new fragment linker object. GetFragment Retrieves a GraphicsStream object that contains the compiled shader fragment. GetFragmentDescription Retrieves a FragmentDescription object. GetFragmentHandle Retrieves an EffectHandle object by name or by index. GetHashCode Returns the hash code for the current instance. GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code. LinkPixelShader Links a compiled pixel shader at run time. LinkShader Links a compiled shader at run time. LinkVertexShader Links a compiled shader at run time. op_Equality Compares the current instance of a class to another instance to determine whether they are the same. op_Inequality Compares the current instance of a class to another instance to determine whether they are different. raise_Disposing Raises the Microsoft.DirectX.Direct3D.FragmentLinker.Disposing event when called from within a derived class. UpdateUnmanagedPointer Updates the unmanaged pointer for this FragmentLinker object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code. Properties
Property Description AllFragments Retrieves a GraphicsStream object that contains the compiled linker fragments. Device Retrieves the Device for the current fragment linker. Disposed Gets a value that indicates whether the object is disposed. NumberOfFragments Retrieves the number of fragments in the linker. UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXFragmentLinker interface pointer.
Inheritance Hierarchy
FragmentLinker
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
See Also