Tao.DevIl SDK Documentation |
|
Ilut.ilutD3D8VolTexFromFileInMemory Method (IntPtr, IntPtr, Int32, IntPtr)
ilutD3D8VolTexFromFileInMemory loads the file present in Lump and converts it to a Direct3D 8 volume texture (IDirect3DVolumeTexture8). This function creates the texture, so the pointer does not even have to be allocated beforehand. This function is functionally equivalent to D3DX's D3DXCreateTextureFromFileInMemory but for a volume texture.
[Visual Basic]
Overloads Public Shared Function ilutD3D8VolTexFromFileInMemory( _
ByVal
Device As
IntPtr, _
ByVal
Lump As
IntPtr, _
ByVal
Size As
Integer, _
ByVal
Texture As
IntPtr _
) As
Boolean
Parameters
-
Device
- Pointer to an IDirect3DDevice8 interface, representing the device to be associated with the texture.
-
Lump
- Location of memory file.
-
Size
- Size of Lump in bytes
-
Texture
- Address of a pointer to an IDirect3DTexture8 interface, representing the created texture object.
Return Value
See Also
Ilut Class | Tao.DevIl Namespace | Ilut.ilutD3D8VolTexFromFileInMemory Overload List