MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY ilutD3D8TexFromFileInMemory

Function ILAPIENTRY ilutD3D8TexFromFileInMemory

DevIL/src-ILUT/src/ilut_directx.cpp:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91ILboolean ILAPIENTRY ilutD3D8TexFromFileInMemory(IDirect3DDevice8 *Device, ILvoid *Lump, ILuint Size, IDirect3DTexture8 **Texture)
92{
93 iBindImageTemp();
94 if (!ilLoadL(IL_TYPE_UNKNOWN, Lump, Size))
95 return IL_FALSE;
96
97 *Texture = ilutD3D8Texture(Device);
98
99 return IL_TRUE;
100}
101
102
103ILboolean ILAPIENTRY ilutD3D8VolTexFromFileInMemory(IDirect3DDevice8 *Device, ILvoid *Lump, ILuint Size, IDirect3DVolumeTexture8 **Texture)

Callers

nothing calls this directly

Calls 1

iBindImageTempFunction · 0.85

Tested by

no test coverage detected