TextureShader Class (Microsoft.DirectX.Direct3D)
Encapsulates the functionality of a texture shader.
Visual Basic NotInheritable Public Class TextureShader
Inherits MarshalByRefObject
Implements IDisposableC# public sealed class TextureShader : MarshalByRefObject , IDisposable
C++ public ref class TextureShader sealed : MarshalByRefObject , IDisposable
JScript public final class TextureShader extends MarshalByRefObject implements IDisposable
The following table lists the members exposed by the object.
Events
Event Description Disposing Occurs when the Dispose method is called or when the TextureShader object is finalized and collected by the garbage collector of the .NET common language runtime. Methods
Method Description Dispose Immediately releases the unmanaged resources used by the TextureShader object. Equals Returns a value that indicates whether the current instance is equal to a specified object. Finalize Allows the TextureShader object to free resources before it is destroyed by the garbage collector. GetConstant Retrieves an effect constant. GetConstantDescription Retrieves an array of effect constants in the effect's constant table. GetConstantElement Retrieves an effect constant element. 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. 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.TextureShader.Disposing event when called from within a derived class. SetDefaults Sets the effect constants to the default values declared in the texture shader. SetValue Sets the constant table with the data in the buffer. SetValueTranspose Sets a transposed matrix. TextureShader Initializes a new instance of the TextureShader class. UpdateUnmanagedPointer Updates the unmanaged pointer for this TextureShader object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code. Properties
Property Description ConstantBuffer Retrieves the constant table. Description Retrieves a description of the constant table. Disposed Gets a value that indicates whether the object is disposed. Function Retrieves the shader function stream. UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXTextureShader interface pointer.
Object
MarshalByRefObject
TextureShader
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
Show:
