Partager via


BaseTexture Class (Microsoft.DirectX.Direct3D)

Manipulates texture resources, including cube and volume textures.

Definition

Visual Basic MustInherit Public Class BaseTexture
    Inherits Resource
C# public abstract class BaseTexture : Resource
C++ public ref class BaseTexture abstract : Resource
JScript public abstract class BaseTexture extends Resource

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
BaseTexture Initializes a new instance of the BaseTexture class.
Dispose Immediately releases the unmanaged resources used by the Resource object. Inherited from Resource.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
FreePrivateData Frees the specified private data associated with the current resource. Inherited from Resource.
GenerateMipSubLevels Generates mipmap sublevels.
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.
GetPrivateData Copies the private data associated with a resource to a buffer. Inherited from Resource.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same. Inherited from Resource.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different. Inherited from Resource.
PreLoad Preloads a managed resource. Inherited from Resource.
SetLevelOfDetail Sets the most detailed level of detail (LOD) for a managed texture.
SetPriority Assigns the resource-management priority for the current resource. Inherited from Resource.
SetPrivateData Associates data with the resource that is intended for use by the application. Data is passed by value, and multiple sets of data can be associated with a single resource. Inherited from Resource.
UpdateUnmanagedPointer Updates the unmanaged pointer for this BaseTexture object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
UpdateUnmanagedPointer Updates the unmanaged pointer for this Resource object. This method supports the Framework infrastructure and is not intended to be used directly in your code. Inherited from Resource.

Properties

Property Description
AutoGenerateFilterType Retrieves or sets the filter type used for automatically generated sublevels.
Device Retrieves the device associated with a resource. Inherited from Resource.
LevelCount Retrieves the number of texture levels in a multilevel texture.
LevelOfDetail Retrieves or sets the most detailed level of detail (LOD) for a managed texture.
Priority Retrieves or sets the priority for the current resource. Inherited from Resource.
Type Retrieves the type of a resource. Inherited from Resource.
UnmanagedComPointer Returns the unmanaged Component Object Model (COM) IDirect3DResource9 interface pointer. Inherited from Resource.
UnmanagedComPointer Returns the unmanaged COM IDirect3DBaseTexture9 interface pointer.

Inheritance Hierarchy

ObjectLeave Site

MarshalByRefObjectLeave Site

Resource

BaseTexture

CubeTexture

Texture

VolumeTexture

Remarks

The BaseTexture object assigned to a particular stage for a device is obtained by calling the Device.GetTexture method.

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492