Represents a two dimensional texture resource.
Unmanaged counterpart: IDirect3DTexture9
| C# |
public class Texture : BaseTexture
| All Members | Constructors | Methods | Properties | ||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
Texture(Device, Int32, Int32, Int32, Usage, Format, Pool, IntPtr%) |
Initializes a new instance of the Texture class, setting it as a shared resource.
|
|
|
Texture(Device, Int32, Int32, Int32, Usage, Format, Pool) |
Initializes a new instance of the Texture class.
|
|
|
Texture(IDirect3DTexture9*, ComObject, Boolean) |
Initializes a new instance of the Texture class
|
|
|
Texture(IntPtr) |
Initializes a new instance of the Texture class
|
|
|
Texture(IDirect3DTexture9*, ComObject) |
Initializes a new instance of the Texture class
|
|
|
AddDirtyRectangle()()()() |
Marks the entire texture as dirty.
|
|
|
AddDirtyRectangle(Rectangle) |
Adds a dirty region to a texture resource.
|
|
|
AutoMipGenerationFilter |
Gets or sets the filter used to automatically generate mipmaps.
(Inherited from BaseTexture.) |
|
|
CheckRequirements(Device, Int32, Int32, Int32, Usage, Format, Pool) |
Checks texture-creation parameters.
|
|
|
ComPointer |
Gets an IntPtr to the underlying native COM interface.
(Inherited from ComObject.) |
|
|
ComputeNormalMap(Texture, Texture, NormalMapFlags, Channel, Single) |
Converts a height map into a normal map.
|
|
|
ComputeNormalMap(Texture, Texture, array<PaletteEntry>[]()[][], NormalMapFlags, Channel, Single) |
Converts a height map into a normal map.
|
|
|
CreationSource |
Gets a StackTrace to the location where the object was created.
(Inherited from ComObject.) |
|
|
CreationTime |
Gets the timestamp, in milliseconds, of the object'ss creation.
(Inherited from ComObject.) |
|
|
DebugName |
Gets or sets a friendly debug name for the object. This name is used in debug messages
as well as in the PIX object browser.
(Inherited from Resource.) |
|
|
Device |
Gets the device associated with the resource.
(Inherited from Resource.) |
|
|
Dispose(Boolean) |
Releases the unmanaged resources used by the Texture and optionally releases the managed resources (Overrides BaseTexture.Dispose(Boolean).) |
|
|
Dispose()()()() |
Releases all resources used by the ComObject.
(Inherited from ComObject.) |
|
|
Disposed |
Gets a value that indicates whether the object has been disposed.
(Inherited from ComObject.) |
|
|
Equals(Object) |
(Inherited from Object.) |
|
|
Fill(TextureShader) |
Uses a compiled HLSL shader function to fill each texel of each mip level of a given texture.
|
|
|
Fill(Fill2DCallback) |
Uses a user-provided function to fill each texel of each mip level of a given texture.
|
|
|
FilterTexture(Int32, Filter) |
Filters mipmap levels of a texture.
(Inherited from BaseTexture.) |
|
|
FilterTexture(Int32, Filter, array<PaletteEntry>[]()[][]) |
Filters mipmap levels of a texture.
(Inherited from BaseTexture.) |
|
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
|
FromFile(Device, String) |
Loads a texture from file.
|
|
|
FromFile(Device, String, Usage, Pool) |
Loads a texture from file.
|
|
|
FromFile(Device, String, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32) |
Loads a texture from file.
|
|
|
FromFile(Device, String, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%) |
Loads a texture from file.
|
|
|
FromFile(Device, String, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%, array<PaletteEntry>[]()[][]%) |
Loads a texture from file.
|
|
|
FromMemory(Device, array<Byte>[]()[][]) |
Creates a texture from a specified block of memory.
|
|
|
FromMemory(Device, array<Byte>[]()[][], Usage, Pool) |
Creates a texture from a specified block of memory.
|
|
|
FromMemory(Device, array<Byte>[]()[][], Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32) |
Creates a texture from a specified block of memory.
|
|
|
FromMemory(Device, array<Byte>[]()[][], Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%) |
Creates a texture from a specified block of memory.
|
|
|
FromMemory(Device, array<Byte>[]()[][], Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%, array<PaletteEntry>[]()[][]%) |
Creates a texture from a specified block of memory.
|
|
|
FromPointer(IntPtr) |
|
|
|
FromStream(Device, Stream) |
Creates a texture from a stream.
|
|
|
FromStream(Device, Stream, Usage, Pool) |
Creates a texture from a stream.
|
|
|
FromStream(Device, Stream, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32) |
Creates a texture from a stream.
|
|
|
FromStream(Device, Stream, Int32, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32) |
Creates a texture from a stream.
|
|
|
FromStream(Device, Stream, Int32, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%) |
Creates a texture from a stream.
|
|
|
FromStream(Device, Stream, Int32, Int32, Int32, Int32, Usage, Format, Pool, Filter, Filter, Int32, ImageInformation%, array<PaletteEntry>[]()[][]%) |
Creates a texture from a stream.
|
|
|
GenerateMipSublevels()()()() |
Generates mipmap sublevels.
(Inherited from BaseTexture.) |
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetLevelDescription(Int32) |
Retrieves a level description of a texture resource.
|
|
|
GetSurfaceLevel(Int32) |
Retrieves the specified surface level.
|
|
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
InternalPointer |
|
|
|
IsDefaultPool |
Gets or sets a value indicating whether or not the object is in the default allocation pool.
(Inherited from ComObject.) |
|
|
LevelCount |
Gets the number of texture levels in a multilevel texture.
(Inherited from BaseTexture.) |
|
|
LevelOfDetail |
Gets or sets the level of detail for the texture.
(Inherited from BaseTexture.) |
|
|
LockRectangle(Int32, Rectangle, LockFlags) |
Locks a rectangle on a texture resource.
|
|
|
LockRectangle(Int32, LockFlags) |
Locks a texture resource.
|
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
NativeInterface |
|
|
|
Preload()()()() |
Preloads a managed resource.
(Inherited from Resource.) |
|
|
Priority |
Gets or sets the resource's priority.
(Inherited from Resource.) |
|
|
ResourceType |
Gets the type of the resource.
(Inherited from Resource.) |
|
|
Tag |
Extra tag data stored along with the object. This member is intended for use by users of SlimDX
and has no internal meaning to the library.
(Inherited from ComObject.) |
|
|
ToString()()()() |
(Inherited from Object.) |
|
|
UnlockRectangle(Int32) |
Unlocks a previously locked region of a texture.
|
| Object | ||||
|
|
ComObject | |||
|
|
Resource | |||
|
|
BaseTexture | |||
|
|
Texture | |||
Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43