MCPcopy Create free account
hub / github.com/DentonW/DevIL / D3DGetDXTCFormat

Function D3DGetDXTCFormat

DevIL/src-ILUT/src/ilut_directx9.cpp:339–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338
339ILenum D3DGetDXTCFormat(D3DFORMAT DXTCNum)
340{
341 switch (DXTCNum)
342 {
343 case D3DFMT_DXT1:
344 return IL_DXT1;
345 case D3DFMT_DXT3:
346 return IL_DXT3;
347 case D3DFMT_DXT5:
348 return IL_DXT5;
349 }
350
351 return D3DFMT_UNKNOWN;
352}
353
354
355IDirect3DTexture9* iD3DMakeTexture( IDirect3DDevice9 *Device, void *Data, ILuint DLen, ILuint Width, ILuint Height, D3DFORMAT Format, D3DPOOL Pool, ILuint Levels )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected