Texture Methods |
The Texture type exposes the following members.
| Name | Description | |
|---|---|---|
| BlitTo(UInt16, Texture, Int32, Int32, Int32, Int32, Int32, Int32) | Blits the contents of the texture to another texture. | |
| BlitTo(UInt16, Texture, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Blits the contents of the texture to another texture. | |
| Create2D(BackbufferRatio, Boolean, Int32, TextureFormat, TextureFlags) | Creates a new 2D texture that scales with backbuffer size. | |
| Create2D(Int32, Int32, Boolean, Int32, TextureFormat, TextureFlags, NullableMemoryBlock) | Creates a new 2D texture. | |
| Create3D | Creates a new 3D texture. | |
| CreateCube | Creates a new cube texture. | |
| Dispose | Releases the texture. | |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object)) | |
| Equals(Texture) | Determines whether the specified object is equal to this instance. | |
| FromFile | Creates a new texture from a file loaded in memory. | |
| GetDirectAccess | Returns a direct pointer to the texture memory. | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsValid | Checks whether a texture with the given parameters would be considered valid. | |
| OverrideInternal(IntPtr) | Override internal texture with externally created texture. | |
| OverrideInternal(Int32, Int32, Int32, TextureFormat, TextureFlags) | Override internal texture by creating a new 2D texture. | |
| Read | Reads the contents of the texture and stores them in memory pointed to by data. | |
| SetName | Sets the name of the texture, for debug display purposes. | |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString) | |
| Update2D | Updates the data in a 2D texture. | |
| Update3D | Updates the data in a 3D texture. | |
| UpdateCube | Updates the data in a cube texture. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |