RetroArch
d3dx9tex.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (C) Microsoft Corporation. All Rights Reserved.
4  *
5  * File: d3dx9tex.h
6  * Content: D3DX texturing APIs
7  *
8  */
9 
10 #include "d3dx9.h"
11 
12 #ifndef __D3DX9TEX_H__
13 #define __D3DX9TEX_H__
14 
15 #define D3DX_FILTER_NONE (1 << 0)
16 #define D3DX_FILTER_POINT (2 << 0)
17 #define D3DX_FILTER_LINEAR (3 << 0)
18 #define D3DX_FILTER_TRIANGLE (4 << 0)
19 #define D3DX_FILTER_BOX (5 << 0)
20 
21 #define D3DX_FILTER_MIRROR_U (1 << 16)
22 #define D3DX_FILTER_MIRROR_V (2 << 16)
23 #define D3DX_FILTER_MIRROR_W (4 << 16)
24 #define D3DX_FILTER_MIRROR (7 << 16)
25 
26 #define D3DX_FILTER_DITHER (1 << 19)
27 #define D3DX_FILTER_DITHER_DIFFUSION (2 << 19)
28 
29 #define D3DX_FILTER_SRGB_IN (1 << 21)
30 #define D3DX_FILTER_SRGB_OUT (2 << 21)
31 #define D3DX_FILTER_SRGB (3 << 21)
32 
33 #define D3DX_SKIP_DDS_MIP_LEVELS_MASK 0x1F
34 #define D3DX_SKIP_DDS_MIP_LEVELS_SHIFT 26
35 #define D3DX_SKIP_DDS_MIP_LEVELS(levels, filter) ((((levels) & D3DX_SKIP_DDS_MIP_LEVELS_MASK) << D3DX_SKIP_DDS_MIP_LEVELS_SHIFT) | ((filter) == D3DX_DEFAULT ? D3DX_FILTER_BOX : (filter)))
36 
37 #define D3DX_NORMALMAP_MIRROR_U (1 << 16)
38 #define D3DX_NORMALMAP_MIRROR_V (2 << 16)
39 #define D3DX_NORMALMAP_MIRROR (3 << 16)
40 #define D3DX_NORMALMAP_INVERTSIGN (8 << 16)
41 #define D3DX_NORMALMAP_COMPUTE_OCCLUSION (16 << 16)
42 
43 #define D3DX_CHANNEL_RED (1 << 0)
44 #define D3DX_CHANNEL_BLUE (1 << 1)
45 #define D3DX_CHANNEL_GREEN (1 << 2)
46 #define D3DX_CHANNEL_ALPHA (1 << 3)
47 #define D3DX_CHANNEL_LUMINANCE (1 << 4)
48 
50 {
58  D3DXIFF_HDR = 7, /* high dynamic range formats */
60  D3DXIFF_FORCE_DWORD = 0x7fffffff
61 
63 
64 typedef VOID (WINAPI *LPD3DXFILL2D)(D3DXVECTOR4 *pOut,
65  CONST D3DXVECTOR2 *pTexCoord, CONST D3DXVECTOR2 *pTexelSize, LPVOID pData);
66 
67 typedef VOID (WINAPI *LPD3DXFILL3D)(D3DXVECTOR4 *pOut,
68  CONST D3DXVECTOR3 *pTexCoord, CONST D3DXVECTOR3 *pTexelSize, LPVOID pData);
69 
70 typedef struct _D3DXIMAGE_INFO
71 {
72  UINT Width;
73  UINT Height;
74  UINT Depth;
79 
81 
82 #ifdef __cplusplus
83 extern "C" {
84 #endif
85 
86 HRESULT WINAPI
88  LPCSTR pSrcFile,
89  D3DXIMAGE_INFO* pSrcInfo);
90 
91 HRESULT WINAPI
93  LPCWSTR pSrcFile,
94  D3DXIMAGE_INFO* pSrcInfo);
95 
96 #ifdef UNICODE
97 #define D3DXGetImageInfoFromFile D3DXGetImageInfoFromFileW
98 #else
99 #define D3DXGetImageInfoFromFile D3DXGetImageInfoFromFileA
100 #endif
101 
102 
103 HRESULT WINAPI
105  HMODULE hSrcModule,
106  LPCSTR pSrcResource,
107  D3DXIMAGE_INFO* pSrcInfo);
108 
109 HRESULT WINAPI
111  HMODULE hSrcModule,
112  LPCWSTR pSrcResource,
113  D3DXIMAGE_INFO* pSrcInfo);
114 
115 #ifdef UNICODE
116 #define D3DXGetImageInfoFromResource D3DXGetImageInfoFromResourceW
117 #else
118 #define D3DXGetImageInfoFromResource D3DXGetImageInfoFromResourceA
119 #endif
120 
121 
122 HRESULT WINAPI
124  LPCVOID pSrcData,
125  UINT SrcDataSize,
126  D3DXIMAGE_INFO* pSrcInfo);
127 
128 HRESULT WINAPI
130  LPDIRECT3DSURFACE9 pDestSurface,
131  CONST PALETTEENTRY* pDestPalette,
132  CONST RECT* pDestRect,
133  LPCSTR pSrcFile,
134  CONST RECT* pSrcRect,
135  DWORD Filter,
136  D3DCOLOR ColorKey,
137  D3DXIMAGE_INFO* pSrcInfo);
138 
139 HRESULT WINAPI
141  LPDIRECT3DSURFACE9 pDestSurface,
142  CONST PALETTEENTRY* pDestPalette,
143  CONST RECT* pDestRect,
144  LPCWSTR pSrcFile,
145  CONST RECT* pSrcRect,
146  DWORD Filter,
147  D3DCOLOR ColorKey,
148  D3DXIMAGE_INFO* pSrcInfo);
149 
150 #ifdef UNICODE
151 #define D3DXLoadSurfaceFromFile D3DXLoadSurfaceFromFileW
152 #else
153 #define D3DXLoadSurfaceFromFile D3DXLoadSurfaceFromFileA
154 #endif
155 
156 
157 
158 HRESULT WINAPI
160  LPDIRECT3DSURFACE9 pDestSurface,
161  CONST PALETTEENTRY* pDestPalette,
162  CONST RECT* pDestRect,
163  HMODULE hSrcModule,
164  LPCSTR pSrcResource,
165  CONST RECT* pSrcRect,
166  DWORD Filter,
167  D3DCOLOR ColorKey,
168  D3DXIMAGE_INFO* pSrcInfo);
169 
170 HRESULT WINAPI
172  LPDIRECT3DSURFACE9 pDestSurface,
173  CONST PALETTEENTRY* pDestPalette,
174  CONST RECT* pDestRect,
175  HMODULE hSrcModule,
176  LPCWSTR pSrcResource,
177  CONST RECT* pSrcRect,
178  DWORD Filter,
179  D3DCOLOR ColorKey,
180  D3DXIMAGE_INFO* pSrcInfo);
181 
182 
183 #ifdef UNICODE
184 #define D3DXLoadSurfaceFromResource D3DXLoadSurfaceFromResourceW
185 #else
186 #define D3DXLoadSurfaceFromResource D3DXLoadSurfaceFromResourceA
187 #endif
188 
189 
190 
191 HRESULT WINAPI
193  LPDIRECT3DSURFACE9 pDestSurface,
194  CONST PALETTEENTRY* pDestPalette,
195  CONST RECT* pDestRect,
196  LPCVOID pSrcData,
197  UINT SrcDataSize,
198  CONST RECT* pSrcRect,
199  DWORD Filter,
200  D3DCOLOR ColorKey,
201  D3DXIMAGE_INFO* pSrcInfo);
202 
203 
204 HRESULT WINAPI
206  LPDIRECT3DSURFACE9 pDestSurface,
207  CONST PALETTEENTRY* pDestPalette,
208  CONST RECT* pDestRect,
209  LPDIRECT3DSURFACE9 pSrcSurface,
210  CONST PALETTEENTRY* pSrcPalette,
211  CONST RECT* pSrcRect,
212  DWORD Filter,
213  D3DCOLOR ColorKey);
214 
215 HRESULT WINAPI
217  LPDIRECT3DSURFACE9 pDestSurface,
218  CONST PALETTEENTRY* pDestPalette,
219  CONST RECT* pDestRect,
220  LPCVOID pSrcMemory,
221  D3DFORMAT SrcFormat,
222  UINT SrcPitch,
223  CONST PALETTEENTRY* pSrcPalette,
224  CONST RECT* pSrcRect,
225  DWORD Filter,
226  D3DCOLOR ColorKey);
227 
228 HRESULT WINAPI
230  LPCSTR pDestFile,
231  D3DXIMAGE_FILEFORMAT DestFormat,
232  LPDIRECT3DSURFACE9 pSrcSurface,
233  CONST PALETTEENTRY* pSrcPalette,
234  CONST RECT* pSrcRect);
235 
236 HRESULT WINAPI
238  LPCWSTR pDestFile,
239  D3DXIMAGE_FILEFORMAT DestFormat,
240  LPDIRECT3DSURFACE9 pSrcSurface,
241  CONST PALETTEENTRY* pSrcPalette,
242  CONST RECT* pSrcRect);
243 
244 #ifdef UNICODE
245 #define D3DXSaveSurfaceToFile D3DXSaveSurfaceToFileW
246 #else
247 #define D3DXSaveSurfaceToFile D3DXSaveSurfaceToFileA
248 #endif
249 
250 HRESULT WINAPI
252  LPD3DXBUFFER* ppDestBuf,
253  D3DXIMAGE_FILEFORMAT DestFormat,
254  LPDIRECT3DSURFACE9 pSrcSurface,
255  CONST PALETTEENTRY* pSrcPalette,
256  CONST RECT* pSrcRect);
257 
258 
259 /*
260  * Load/Save Volume APIs
261  */
262 
263 HRESULT WINAPI
265  LPDIRECT3DVOLUME9 pDestVolume,
266  CONST PALETTEENTRY* pDestPalette,
267  CONST D3DBOX* pDestBox,
268  LPCSTR pSrcFile,
269  CONST D3DBOX* pSrcBox,
270  DWORD Filter,
271  D3DCOLOR ColorKey,
272  D3DXIMAGE_INFO* pSrcInfo);
273 
274 HRESULT WINAPI
276  LPDIRECT3DVOLUME9 pDestVolume,
277  CONST PALETTEENTRY* pDestPalette,
278  CONST D3DBOX* pDestBox,
279  LPCWSTR pSrcFile,
280  CONST D3DBOX* pSrcBox,
281  DWORD Filter,
282  D3DCOLOR ColorKey,
283  D3DXIMAGE_INFO* pSrcInfo);
284 
285 #ifdef UNICODE
286 #define D3DXLoadVolumeFromFile D3DXLoadVolumeFromFileW
287 #else
288 #define D3DXLoadVolumeFromFile D3DXLoadVolumeFromFileA
289 #endif
290 
291 
292 HRESULT WINAPI
294  LPDIRECT3DVOLUME9 pDestVolume,
295  CONST PALETTEENTRY* pDestPalette,
296  CONST D3DBOX* pDestBox,
297  HMODULE hSrcModule,
298  LPCSTR pSrcResource,
299  CONST D3DBOX* pSrcBox,
300  DWORD Filter,
301  D3DCOLOR ColorKey,
302  D3DXIMAGE_INFO* pSrcInfo);
303 
304 HRESULT WINAPI
306  LPDIRECT3DVOLUME9 pDestVolume,
307  CONST PALETTEENTRY* pDestPalette,
308  CONST D3DBOX* pDestBox,
309  HMODULE hSrcModule,
310  LPCWSTR pSrcResource,
311  CONST D3DBOX* pSrcBox,
312  DWORD Filter,
313  D3DCOLOR ColorKey,
314  D3DXIMAGE_INFO* pSrcInfo);
315 
316 #ifdef UNICODE
317 #define D3DXLoadVolumeFromResource D3DXLoadVolumeFromResourceW
318 #else
319 #define D3DXLoadVolumeFromResource D3DXLoadVolumeFromResourceA
320 #endif
321 
322 
323 
324 HRESULT WINAPI
326  LPDIRECT3DVOLUME9 pDestVolume,
327  CONST PALETTEENTRY* pDestPalette,
328  CONST D3DBOX* pDestBox,
329  LPCVOID pSrcData,
330  UINT SrcDataSize,
331  CONST D3DBOX* pSrcBox,
332  DWORD Filter,
333  D3DCOLOR ColorKey,
334  D3DXIMAGE_INFO* pSrcInfo);
335 
336 
337 HRESULT WINAPI
339  LPDIRECT3DVOLUME9 pDestVolume,
340  CONST PALETTEENTRY* pDestPalette,
341  CONST D3DBOX* pDestBox,
342  LPDIRECT3DVOLUME9 pSrcVolume,
343  CONST PALETTEENTRY* pSrcPalette,
344  CONST D3DBOX* pSrcBox,
345  DWORD Filter,
346  D3DCOLOR ColorKey);
347 
348 HRESULT WINAPI
350  LPDIRECT3DVOLUME9 pDestVolume,
351  CONST PALETTEENTRY* pDestPalette,
352  CONST D3DBOX* pDestBox,
353  LPCVOID pSrcMemory,
354  D3DFORMAT SrcFormat,
355  UINT SrcRowPitch,
356  UINT SrcSlicePitch,
357  CONST PALETTEENTRY* pSrcPalette,
358  CONST D3DBOX* pSrcBox,
359  DWORD Filter,
360  D3DCOLOR ColorKey);
361 
362 HRESULT WINAPI
364  LPCSTR pDestFile,
365  D3DXIMAGE_FILEFORMAT DestFormat,
366  LPDIRECT3DVOLUME9 pSrcVolume,
367  CONST PALETTEENTRY* pSrcPalette,
368  CONST D3DBOX* pSrcBox);
369 
370 HRESULT WINAPI
372  LPCWSTR pDestFile,
373  D3DXIMAGE_FILEFORMAT DestFormat,
374  LPDIRECT3DVOLUME9 pSrcVolume,
375  CONST PALETTEENTRY* pSrcPalette,
376  CONST D3DBOX* pSrcBox);
377 
378 #ifdef UNICODE
379 #define D3DXSaveVolumeToFile D3DXSaveVolumeToFileW
380 #else
381 #define D3DXSaveVolumeToFile D3DXSaveVolumeToFileA
382 #endif
383 
384 HRESULT WINAPI
386  LPD3DXBUFFER* ppDestBuf,
387  D3DXIMAGE_FILEFORMAT DestFormat,
388  LPDIRECT3DVOLUME9 pSrcVolume,
389  CONST PALETTEENTRY* pSrcPalette,
390  CONST D3DBOX* pSrcBox);
391 
392 /*
393  * Create/Save Texture APIs
394  */
395 
396 HRESULT WINAPI
398  LPDIRECT3DDEVICE9 pDevice,
399  UINT* pWidth,
400  UINT* pHeight,
401  UINT* pNumMipLevels,
402  DWORD Usage,
403  D3DFORMAT* pFormat,
404  D3DPOOL Pool);
405 
406 HRESULT WINAPI
408  LPDIRECT3DDEVICE9 pDevice,
409  UINT* pSize,
410  UINT* pNumMipLevels,
411  DWORD Usage,
412  D3DFORMAT* pFormat,
413  D3DPOOL Pool);
414 
415 HRESULT WINAPI
417  LPDIRECT3DDEVICE9 pDevice,
418  UINT* pWidth,
419  UINT* pHeight,
420  UINT* pDepth,
421  UINT* pNumMipLevels,
422  DWORD Usage,
423  D3DFORMAT* pFormat,
424  D3DPOOL Pool);
425 
426 HRESULT WINAPI
428  LPDIRECT3DDEVICE9 pDevice,
429  UINT Width,
430  UINT Height,
431  UINT MipLevels,
432  DWORD Usage,
434  D3DPOOL Pool,
435  LPDIRECT3DTEXTURE9* ppTexture);
436 
437 HRESULT WINAPI
439  LPDIRECT3DDEVICE9 pDevice,
440  UINT Size,
441  UINT MipLevels,
442  DWORD Usage,
444  D3DPOOL Pool,
445  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
446 
447 HRESULT WINAPI
449  LPDIRECT3DDEVICE9 pDevice,
450  UINT Width,
451  UINT Height,
452  UINT Depth,
453  UINT MipLevels,
454  DWORD Usage,
456  D3DPOOL Pool,
457  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
458 
459 HRESULT WINAPI
461  LPDIRECT3DDEVICE9 pDevice,
462  LPCSTR pSrcFile,
463  LPDIRECT3DTEXTURE9* ppTexture);
464 
465 HRESULT WINAPI
467  LPDIRECT3DDEVICE9 pDevice,
468  LPCWSTR pSrcFile,
469  LPDIRECT3DTEXTURE9* ppTexture);
470 
471 #ifdef UNICODE
472 #define D3DXCreateTextureFromFile D3DXCreateTextureFromFileW
473 #else
474 #define D3DXCreateTextureFromFile D3DXCreateTextureFromFileA
475 #endif
476 
477 
478 HRESULT WINAPI
480  LPDIRECT3DDEVICE9 pDevice,
481  LPCSTR pSrcFile,
482  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
483 
484 HRESULT WINAPI
486  LPDIRECT3DDEVICE9 pDevice,
487  LPCWSTR pSrcFile,
488  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
489 
490 #ifdef UNICODE
491 #define D3DXCreateCubeTextureFromFile D3DXCreateCubeTextureFromFileW
492 #else
493 #define D3DXCreateCubeTextureFromFile D3DXCreateCubeTextureFromFileA
494 #endif
495 
496 
497 HRESULT WINAPI
499  LPDIRECT3DDEVICE9 pDevice,
500  LPCSTR pSrcFile,
501  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
502 
503 HRESULT WINAPI
505  LPDIRECT3DDEVICE9 pDevice,
506  LPCWSTR pSrcFile,
507  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
508 
509 #ifdef UNICODE
510 #define D3DXCreateVolumeTextureFromFile D3DXCreateVolumeTextureFromFileW
511 #else
512 #define D3DXCreateVolumeTextureFromFile D3DXCreateVolumeTextureFromFileA
513 #endif
514 
515 HRESULT WINAPI
517  LPDIRECT3DDEVICE9 pDevice,
518  HMODULE hSrcModule,
519  LPCSTR pSrcResource,
520  LPDIRECT3DTEXTURE9* ppTexture);
521 
522 HRESULT WINAPI
524  LPDIRECT3DDEVICE9 pDevice,
525  HMODULE hSrcModule,
526  LPCWSTR pSrcResource,
527  LPDIRECT3DTEXTURE9* ppTexture);
528 
529 #ifdef UNICODE
530 #define D3DXCreateTextureFromResource D3DXCreateTextureFromResourceW
531 #else
532 #define D3DXCreateTextureFromResource D3DXCreateTextureFromResourceA
533 #endif
534 
535 
536 HRESULT WINAPI
538  LPDIRECT3DDEVICE9 pDevice,
539  HMODULE hSrcModule,
540  LPCSTR pSrcResource,
541  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
542 
543 HRESULT WINAPI
545  LPDIRECT3DDEVICE9 pDevice,
546  HMODULE hSrcModule,
547  LPCWSTR pSrcResource,
548  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
549 
550 #ifdef UNICODE
551 #define D3DXCreateCubeTextureFromResource D3DXCreateCubeTextureFromResourceW
552 #else
553 #define D3DXCreateCubeTextureFromResource D3DXCreateCubeTextureFromResourceA
554 #endif
555 
556 
557 HRESULT WINAPI
559  LPDIRECT3DDEVICE9 pDevice,
560  HMODULE hSrcModule,
561  LPCSTR pSrcResource,
562  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
563 
564 HRESULT WINAPI
566  LPDIRECT3DDEVICE9 pDevice,
567  HMODULE hSrcModule,
568  LPCWSTR pSrcResource,
569  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
570 
571 #ifdef UNICODE
572 #define D3DXCreateVolumeTextureFromResource D3DXCreateVolumeTextureFromResourceW
573 #else
574 #define D3DXCreateVolumeTextureFromResource D3DXCreateVolumeTextureFromResourceA
575 #endif
576 
577 /* FromFileEx */
578 
579 HRESULT WINAPI
581  LPDIRECT3DDEVICE9 pDevice,
582  LPCSTR pSrcFile,
583  UINT Width,
584  UINT Height,
585  UINT MipLevels,
586  DWORD Usage,
588  D3DPOOL Pool,
589  DWORD Filter,
590  DWORD MipFilter,
591  D3DCOLOR ColorKey,
592  D3DXIMAGE_INFO* pSrcInfo,
593  PALETTEENTRY* pPalette,
594  LPDIRECT3DTEXTURE9* ppTexture);
595 
596 HRESULT WINAPI
598  LPDIRECT3DDEVICE9 pDevice,
599  LPCWSTR pSrcFile,
600  UINT Width,
601  UINT Height,
602  UINT MipLevels,
603  DWORD Usage,
605  D3DPOOL Pool,
606  DWORD Filter,
607  DWORD MipFilter,
608  D3DCOLOR ColorKey,
609  D3DXIMAGE_INFO* pSrcInfo,
610  PALETTEENTRY* pPalette,
611  LPDIRECT3DTEXTURE9* ppTexture);
612 
613 #ifdef UNICODE
614 #define D3DXCreateTextureFromFileEx D3DXCreateTextureFromFileExW
615 #else
616 #define D3DXCreateTextureFromFileEx D3DXCreateTextureFromFileExA
617 #endif
618 
619 
620 HRESULT WINAPI
622  LPDIRECT3DDEVICE9 pDevice,
623  LPCSTR pSrcFile,
624  UINT Size,
625  UINT MipLevels,
626  DWORD Usage,
628  D3DPOOL Pool,
629  DWORD Filter,
630  DWORD MipFilter,
631  D3DCOLOR ColorKey,
632  D3DXIMAGE_INFO* pSrcInfo,
633  PALETTEENTRY* pPalette,
634  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
635 
636 HRESULT WINAPI
638  LPDIRECT3DDEVICE9 pDevice,
639  LPCWSTR pSrcFile,
640  UINT Size,
641  UINT MipLevels,
642  DWORD Usage,
644  D3DPOOL Pool,
645  DWORD Filter,
646  DWORD MipFilter,
647  D3DCOLOR ColorKey,
648  D3DXIMAGE_INFO* pSrcInfo,
649  PALETTEENTRY* pPalette,
650  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
651 
652 #ifdef UNICODE
653 #define D3DXCreateCubeTextureFromFileEx D3DXCreateCubeTextureFromFileExW
654 #else
655 #define D3DXCreateCubeTextureFromFileEx D3DXCreateCubeTextureFromFileExA
656 #endif
657 
658 
659 HRESULT WINAPI
661  LPDIRECT3DDEVICE9 pDevice,
662  LPCSTR pSrcFile,
663  UINT Width,
664  UINT Height,
665  UINT Depth,
666  UINT MipLevels,
667  DWORD Usage,
669  D3DPOOL Pool,
670  DWORD Filter,
671  DWORD MipFilter,
672  D3DCOLOR ColorKey,
673  D3DXIMAGE_INFO* pSrcInfo,
674  PALETTEENTRY* pPalette,
675  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
676 
677 HRESULT WINAPI
679  LPDIRECT3DDEVICE9 pDevice,
680  LPCWSTR pSrcFile,
681  UINT Width,
682  UINT Height,
683  UINT Depth,
684  UINT MipLevels,
685  DWORD Usage,
687  D3DPOOL Pool,
688  DWORD Filter,
689  DWORD MipFilter,
690  D3DCOLOR ColorKey,
691  D3DXIMAGE_INFO* pSrcInfo,
692  PALETTEENTRY* pPalette,
693  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
694 
695 #ifdef UNICODE
696 #define D3DXCreateVolumeTextureFromFileEx D3DXCreateVolumeTextureFromFileExW
697 #else
698 #define D3DXCreateVolumeTextureFromFileEx D3DXCreateVolumeTextureFromFileExA
699 #endif
700 
701 /* FromResourceEx */
702 
703 HRESULT WINAPI
705  LPDIRECT3DDEVICE9 pDevice,
706  HMODULE hSrcModule,
707  LPCSTR pSrcResource,
708  UINT Width,
709  UINT Height,
710  UINT MipLevels,
711  DWORD Usage,
713  D3DPOOL Pool,
714  DWORD Filter,
715  DWORD MipFilter,
716  D3DCOLOR ColorKey,
717  D3DXIMAGE_INFO* pSrcInfo,
718  PALETTEENTRY* pPalette,
719  LPDIRECT3DTEXTURE9* ppTexture);
720 
721 HRESULT WINAPI
723  LPDIRECT3DDEVICE9 pDevice,
724  HMODULE hSrcModule,
725  LPCWSTR pSrcResource,
726  UINT Width,
727  UINT Height,
728  UINT MipLevels,
729  DWORD Usage,
731  D3DPOOL Pool,
732  DWORD Filter,
733  DWORD MipFilter,
734  D3DCOLOR ColorKey,
735  D3DXIMAGE_INFO* pSrcInfo,
736  PALETTEENTRY* pPalette,
737  LPDIRECT3DTEXTURE9* ppTexture);
738 
739 #ifdef UNICODE
740 #define D3DXCreateTextureFromResourceEx D3DXCreateTextureFromResourceExW
741 #else
742 #define D3DXCreateTextureFromResourceEx D3DXCreateTextureFromResourceExA
743 #endif
744 
745 
746 HRESULT WINAPI
748  LPDIRECT3DDEVICE9 pDevice,
749  HMODULE hSrcModule,
750  LPCSTR pSrcResource,
751  UINT Size,
752  UINT MipLevels,
753  DWORD Usage,
755  D3DPOOL Pool,
756  DWORD Filter,
757  DWORD MipFilter,
758  D3DCOLOR ColorKey,
759  D3DXIMAGE_INFO* pSrcInfo,
760  PALETTEENTRY* pPalette,
761  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
762 
763 HRESULT WINAPI
765  LPDIRECT3DDEVICE9 pDevice,
766  HMODULE hSrcModule,
767  LPCWSTR pSrcResource,
768  UINT Size,
769  UINT MipLevels,
770  DWORD Usage,
772  D3DPOOL Pool,
773  DWORD Filter,
774  DWORD MipFilter,
775  D3DCOLOR ColorKey,
776  D3DXIMAGE_INFO* pSrcInfo,
777  PALETTEENTRY* pPalette,
778  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
779 
780 #ifdef UNICODE
781 #define D3DXCreateCubeTextureFromResourceEx D3DXCreateCubeTextureFromResourceExW
782 #else
783 #define D3DXCreateCubeTextureFromResourceEx D3DXCreateCubeTextureFromResourceExA
784 #endif
785 
786 
787 HRESULT WINAPI
789  LPDIRECT3DDEVICE9 pDevice,
790  HMODULE hSrcModule,
791  LPCSTR pSrcResource,
792  UINT Width,
793  UINT Height,
794  UINT Depth,
795  UINT MipLevels,
796  DWORD Usage,
798  D3DPOOL Pool,
799  DWORD Filter,
800  DWORD MipFilter,
801  D3DCOLOR ColorKey,
802  D3DXIMAGE_INFO* pSrcInfo,
803  PALETTEENTRY* pPalette,
804  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
805 
806 HRESULT WINAPI
808  LPDIRECT3DDEVICE9 pDevice,
809  HMODULE hSrcModule,
810  LPCWSTR pSrcResource,
811  UINT Width,
812  UINT Height,
813  UINT Depth,
814  UINT MipLevels,
815  DWORD Usage,
817  D3DPOOL Pool,
818  DWORD Filter,
819  DWORD MipFilter,
820  D3DCOLOR ColorKey,
821  D3DXIMAGE_INFO* pSrcInfo,
822  PALETTEENTRY* pPalette,
823  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
824 
825 #ifdef UNICODE
826 #define D3DXCreateVolumeTextureFromResourceEx D3DXCreateVolumeTextureFromResourceExW
827 #else
828 #define D3DXCreateVolumeTextureFromResourceEx D3DXCreateVolumeTextureFromResourceExA
829 #endif
830 
831 /* FromFileInMemory */
832 
833 HRESULT WINAPI
835  LPDIRECT3DDEVICE9 pDevice,
836  LPCVOID pSrcData,
837  UINT SrcDataSize,
838  LPDIRECT3DTEXTURE9* ppTexture);
839 
840 HRESULT WINAPI
842  LPDIRECT3DDEVICE9 pDevice,
843  LPCVOID pSrcData,
844  UINT SrcDataSize,
845  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
846 
847 HRESULT WINAPI
849  LPDIRECT3DDEVICE9 pDevice,
850  LPCVOID pSrcData,
851  UINT SrcDataSize,
852  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
853 
854 
855 /* FromFileInMemoryEx */
856 
857 HRESULT WINAPI
859  LPDIRECT3DDEVICE9 pDevice,
860  LPCVOID pSrcData,
861  UINT SrcDataSize,
862  UINT Width,
863  UINT Height,
864  UINT MipLevels,
865  DWORD Usage,
867  D3DPOOL Pool,
868  DWORD Filter,
869  DWORD MipFilter,
870  D3DCOLOR ColorKey,
871  D3DXIMAGE_INFO* pSrcInfo,
872  PALETTEENTRY* pPalette,
873  LPDIRECT3DTEXTURE9* ppTexture);
874 
875 HRESULT WINAPI
877  LPDIRECT3DDEVICE9 pDevice,
878  LPCVOID pSrcData,
879  UINT SrcDataSize,
880  UINT Size,
881  UINT MipLevels,
882  DWORD Usage,
884  D3DPOOL Pool,
885  DWORD Filter,
886  DWORD MipFilter,
887  D3DCOLOR ColorKey,
888  D3DXIMAGE_INFO* pSrcInfo,
889  PALETTEENTRY* pPalette,
890  LPDIRECT3DCUBETEXTURE9* ppCubeTexture);
891 
892 HRESULT WINAPI
894  LPDIRECT3DDEVICE9 pDevice,
895  LPCVOID pSrcData,
896  UINT SrcDataSize,
897  UINT Width,
898  UINT Height,
899  UINT Depth,
900  UINT MipLevels,
901  DWORD Usage,
903  D3DPOOL Pool,
904  DWORD Filter,
905  DWORD MipFilter,
906  D3DCOLOR ColorKey,
907  D3DXIMAGE_INFO* pSrcInfo,
908  PALETTEENTRY* pPalette,
909  LPDIRECT3DVOLUMETEXTURE9* ppVolumeTexture);
910 
911 HRESULT WINAPI
913  LPCSTR pDestFile,
914  D3DXIMAGE_FILEFORMAT DestFormat,
915  LPDIRECT3DBASETEXTURE9 pSrcTexture,
916  CONST PALETTEENTRY* pSrcPalette);
917 
918 HRESULT WINAPI
920  LPCWSTR pDestFile,
921  D3DXIMAGE_FILEFORMAT DestFormat,
922  LPDIRECT3DBASETEXTURE9 pSrcTexture,
923  CONST PALETTEENTRY* pSrcPalette);
924 
925 #ifdef UNICODE
926 #define D3DXSaveTextureToFile D3DXSaveTextureToFileW
927 #else
928 #define D3DXSaveTextureToFile D3DXSaveTextureToFileA
929 #endif
930 
931 HRESULT WINAPI
933  LPD3DXBUFFER* ppDestBuf,
934  D3DXIMAGE_FILEFORMAT DestFormat,
935  LPDIRECT3DBASETEXTURE9 pSrcTexture,
936  CONST PALETTEENTRY* pSrcPalette);
937 
938 
939 
940 
941 /*
942  * Misc Texture APIs
943  */
944 
945 HRESULT WINAPI
947  LPDIRECT3DBASETEXTURE9 pBaseTexture,
948  CONST PALETTEENTRY* pPalette,
949  UINT SrcLevel,
950  DWORD Filter);
951 
952 #define D3DXFilterCubeTexture D3DXFilterTexture
953 #define D3DXFilterVolumeTexture D3DXFilterTexture
954 
955 HRESULT WINAPI
957  LPDIRECT3DTEXTURE9 pTexture,
958  LPD3DXFILL2D pFunction,
959  LPVOID pData);
960 
961 HRESULT WINAPI
963  LPDIRECT3DCUBETEXTURE9 pCubeTexture,
964  LPD3DXFILL3D pFunction,
965  LPVOID pData);
966 
967 HRESULT WINAPI
969  LPDIRECT3DVOLUMETEXTURE9 pVolumeTexture,
970  LPD3DXFILL3D pFunction,
971  LPVOID pData);
972 
973 HRESULT WINAPI
975  LPDIRECT3DTEXTURE9 pTexture,
976  LPD3DXTEXTURESHADER pTextureShader);
977 
978 
979 HRESULT WINAPI
981  LPDIRECT3DCUBETEXTURE9 pCubeTexture,
982  LPD3DXTEXTURESHADER pTextureShader);
983 
984 
985 HRESULT WINAPI
987  LPDIRECT3DVOLUMETEXTURE9 pVolumeTexture,
988  LPD3DXTEXTURESHADER pTextureShader);
989 
990 HRESULT WINAPI
992  LPDIRECT3DTEXTURE9 pTexture,
993  LPDIRECT3DTEXTURE9 pSrcTexture,
994  CONST PALETTEENTRY* pSrcPalette,
995  DWORD Flags,
996  DWORD Channel,
997  FLOAT Amplitude);
998 
999 #ifdef __cplusplus
1000 }
1001 #endif
1002 
1003 #endif /* __D3DX9TEX_H__ */
HRESULT WINAPI D3DXLoadSurfaceFromResourceW(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, HMODULE hSrcModule, LPCWSTR pSrcResource, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXFillCubeTextureTX(LPDIRECT3DCUBETEXTURE9 pCubeTexture, LPD3DXTEXTURESHADER pTextureShader)
HRESULT WINAPI D3DXCreateCubeTextureFromFileExW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCheckVolumeTextureRequirements(LPDIRECT3DDEVICE9 pDevice, UINT *pWidth, UINT *pHeight, UINT *pDepth, UINT *pNumMipLevels, DWORD Usage, D3DFORMAT *pFormat, D3DPOOL Pool)
enum _D3DPOOL D3DPOOL
HRESULT WINAPI D3DXSaveTextureToFileW(LPCWSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DBASETEXTURE9 pSrcTexture, CONST PALETTEENTRY *pSrcPalette)
HRESULT WINAPI D3DXCreateTextureFromResourceA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXLoadVolumeFromFileA(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, LPCSTR pSrcFile, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
enum _D3DXIMAGE_FILEFORMAT D3DXIMAGE_FILEFORMAT
HRESULT WINAPI D3DXLoadVolumeFromResourceW(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, HMODULE hSrcModule, LPCWSTR pSrcResource, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXLoadSurfaceFromMemory(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, LPCVOID pSrcMemory, D3DFORMAT SrcFormat, UINT SrcPitch, CONST PALETTEENTRY *pSrcPalette, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey)
Definition: d3d8types.h:48
Unknown compiler Device disconnected from port File already exists Saving to backup buffer Got connection Port Mapping Successful No arguments supplied and no menu displaying help Waiting for client You have joined as player u Player *s has left the game *s has joined with input devices *s The netplay peer is running an old version of RetroArch Cannot connect A netplay peer is running a different core Cannot connect This core does not support inter architecture netplay between these systems Enter netplay server Incorrect password A netplay client has disconnected You do not have permission to play The input devices requested are not available Netplay peer s paused Give hardware rendered cores their own private context Avoids having to assume hardware state changes inbetween frames Adjusts menu screen appearance settings Improves performance at the cost of latency and more video stuttering Use only if you cannot obtain full speed otherwise Autodetect Capabilities Connecting to port Password Username Accounts List Endpoint Achievements Resume Achievements Hardcore Mode Scan Content Import content Ask Block Frames Audio Driver Audio Enable Turbo Deadzone Audio Maximum Timing Skew Audio Output Dynamic Audio Rate Control Audio Audio Volume WASAPI Exclusive Mode WASAPI Shared Buffer Length Load Override Files Automatically Load Shader Presets Automatically Confirm Quit Scroll Up Toggle Keyboard Basic menu controls Info Scroll Up Toggle Keyboard Don t overwrite SaveRAM on loading savestate Buildbot Assets URL Allow Camera Cheat Start Search For New Cheat Code Cheat File Load Cheat Load Cheat Save Cheat File As Description Leaderboards Locked Locked Test Unofficial Achievements Unlocked Verbose Mode Close Content Load Configuration Save Configuration on Exit Database History List Size Quick Menu Downloads Core Counters Core Information Categories Core name Permissions System manufacturer Controls Install or Restore a Core Core installation succesful Core Automatically extract downloaded archive Core Updater CPU CPU Cursor Custom Ratio Database Selection Start directory< Default > Directory not found Disk Cycle Tray Status Disk Index Don t care Download a Core DPI Override Enable Driver Check for Missing Firmware Before Loading Dynamic Backgrounds Menu entry hover color False Favorites Include Memory Details Sync to Exact Content Frame Throttle Load Content Specific Core Options Automatically Save Game options file Audio Video Troubleshooting Basic Menu Controls Loading Content What Is A Core History Image Information All Users Control Menu Left analog Left analog Left Analog Y Left analog Right Analog X Right analog Right Analog Y Right analog Gun Trigger Gun Aux A Gun Aux C Gun Select Gun D pad Down Gun D pad Right Analog Stick Deadzone Bind All Bind Timeout Hide Unbound Core Input Descriptors Device Index Mouse Index Duty Cycle Keyboard Gamepad Mapping Enable B Down D pad L3 L Left D pad R3 R Right D pad Start button X Y Mouse Mouse Mouse Wheel Down Wheel Right Max Users Cheat index Cheat toggle Disk next Enable hotkeys Fast forward toggle FPS toggle Grab mouse toggle Desktop menu toggle Menu toggle Audio mute toggle On screen keyboard toggle Pause toggle Reset game Cheat Details Save state Next shader Slow motion hold Savestate slot Volume Display Overlay Show Inputs On Overlay Poll Type Behavior Late Prefer Front Touch Remap Binds Enable Input Touch Enable Turbo Period Latency Input Autoconfig Services Dutch Esperanto German Japanese Polish Russian Vietnamese Greek Core Core Logging Level Load Archive Load Content Allow Location Logging Main Menu Menu Color Theme Blue Grey Green Red Footer Opacity Menu Driver Settings Horizontal Animation Background Missing Mouse Support Music Navigation Wrap Around Netplay Netplay Check Frames Input Latency Frames Range Disconnect from netplay host Connect to netplay host Stop netplay host Scan local network Username Publicly Announce Netplay Disallow Non Slave Mode Clients Analog Input Sharing Average Share Vote No preference Netplay Stateless Mode Netplay Spectator Enable Netplay NAT Traversal Network Command Port Network Gamepad Network None No achievements to display No cores available No core options available No history available No items No networks found No playlists No settings found OFF Online Onscreen Display Adjust Bezels and Onscreen controls Adjust the Onscreen Notifications Optional Autoload Preferred Overlay Overlay Opacity Overlay Scale Use PAL60 Mode Pause when menu activated Performance Counters Playlist Touch Support Present MIDI Analog supported CERO Rating CRC32 Developer Edge Magazine Rating ELSPA Rating ESRB Rating Franchise MD5 Origin Publisher Releasedate Year Serial Start Content Reboot Recording Output Custom Record Config Record Driver Enable Recording Save Recordings in Output Dir Load Remap File Save Content Directory Remap File Delete Core Remap File Delete Game Content Directory Remap File Restart Resume RetroKeyboard RetroPad w Analog Rewind Enable Auto Apply Cheats During Game Load Rewind Buffer Size(MB)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_REWIND_BUFFER_SIZE_STEP
struct IDirect3DBaseTexture9 * LPDIRECT3DBASETEXTURE9
Definition: d3d9.h:949
Definition: glslang_tab.cpp:129
HRESULT WINAPI D3DXCreateVolumeTexture(LPDIRECT3DDEVICE9 pDevice, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
enum _D3DXIMAGE_FILEFORMAT D3DXIMAGE_FILEFORMAT
HRESULT WINAPI D3DXSaveSurfaceToFileW(LPCWSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DSURFACE9 pSrcSurface, CONST PALETTEENTRY *pSrcPalette, CONST RECT *pSrcRect)
HRESULT WINAPI D3DXSaveVolumeToFileW(LPCWSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DVOLUME9 pSrcVolume, CONST PALETTEENTRY *pSrcPalette, CONST D3DBOX *pSrcBox)
HRESULT WINAPI D3DXGetImageInfoFromResourceW(HMODULE hSrcModule, LPCWSTR pSrcResource, D3DXIMAGE_INFO *pSrcInfo)
VOID(WINAPI * LPD3DXFILL2D)(D3DXVECTOR4 *pOut, CONST D3DXVECTOR2 *pTexCoord, CONST D3DXVECTOR2 *pTexelSize, LPVOID pData)
Definition: d3dx9tex.h:64
HRESULT WINAPI D3DXCreateVolumeTextureFromFileExW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
interface ID3DXTextureShader * LPD3DXTEXTURESHADER
Definition: d3dx9shader.h:241
Definition: d3dx9tex.h:57
HRESULT WINAPI D3DXFillCubeTexture(LPDIRECT3DCUBETEXTURE9 pCubeTexture, LPD3DXFILL3D pFunction, LPVOID pData)
HRESULT WINAPI D3DXSaveTextureToFileA(LPCSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DBASETEXTURE9 pSrcTexture, CONST PALETTEENTRY *pSrcPalette)
_D3DXIMAGE_FILEFORMAT
Definition: d3dx8tex.h:134
HRESULT WINAPI D3DXCreateCubeTextureFromResourceExA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCreateTextureFromFileInMemoryEx(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DTEXTURE9 *ppTexture)
Definition: d3dx9tex.h:59
struct IDirect3DVolume9 * LPDIRECT3DVOLUME9
Definition: d3d9.h:1463
HRESULT WINAPI D3DXCreateVolumeTextureFromResourceExW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
HRESULT WINAPI D3DXLoadSurfaceFromFileA(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, LPCSTR pSrcFile, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXFillVolumeTextureTX(LPDIRECT3DVOLUMETEXTURE9 pVolumeTexture, LPD3DXTEXTURESHADER pTextureShader)
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
HRESULT WINAPI D3DXSaveTextureToFileInMemory(LPD3DXBUFFER *ppDestBuf, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DBASETEXTURE9 pSrcTexture, CONST PALETTEENTRY *pSrcPalette)
HRESULT WINAPI D3DXCreateVolumeTextureFromResourceExA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
HRESULT WINAPI D3DXCreateCubeTextureFromFileW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXLoadSurfaceFromSurface(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, LPDIRECT3DSURFACE9 pSrcSurface, CONST PALETTEENTRY *pSrcPalette, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey)
struct IDirect3DSurface9 * LPDIRECT3DSURFACE9
Definition: d3d9.h:1399
enum _D3DRESOURCETYPE D3DRESOURCETYPE
HRESULT WINAPI D3DXLoadVolumeFromFileInMemory(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, LPCVOID pSrcData, UINT SrcDataSize, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
D3DXIMAGE_FILEFORMAT ImageFileFormat
Definition: d3dx8tex.h:203
UINT MipLevels
Definition: d3dx8tex.h:200
HRESULT WINAPI D3DXCreateVolumeTextureFromFileInMemory(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
struct IDirect3DCubeTexture9 * LPDIRECT3DCUBETEXTURE9
Definition: d3d9.h:1197
HRESULT WINAPI D3DXGetImageInfoFromFileW(LPCWSTR pSrcFile, D3DXIMAGE_INFO *pSrcInfo)
enum _D3DFORMAT D3DFORMAT
Definition: d3dx8math.h:127
HRESULT WINAPI D3DXGetImageInfoFromResourceA(HMODULE hSrcModule, LPCSTR pSrcResource, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXLoadSurfaceFromResourceA(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, HMODULE hSrcModule, LPCSTR pSrcResource, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXCreateTextureFromFileExW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXCreateTextureFromFileExA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXCreateTextureFromResourceExW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXCreateVolumeTextureFromFileA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
Definition: d3dx9tex.h:58
HRESULT WINAPI D3DXCreateCubeTexture(LPDIRECT3DDEVICE9 pDevice, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCreateTextureFromFileW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, LPDIRECT3DTEXTURE9 *ppTexture)
D3DFORMAT Format
Definition: d3dx8tex.h:201
HRESULT WINAPI D3DXCreateCubeTextureFromFileA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXGetImageInfoFromFileA(LPCSTR pSrcFile, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXCheckCubeTextureRequirements(LPDIRECT3DDEVICE9 pDevice, UINT *pSize, UINT *pNumMipLevels, DWORD Usage, D3DFORMAT *pFormat, D3DPOOL Pool)
VOID(WINAPI * LPD3DXFILL3D)(D3DXVECTOR4 *pOut, CONST D3DXVECTOR3 *pTexCoord, CONST D3DXVECTOR3 *pTexelSize, LPVOID pData)
Definition: d3dx9tex.h:67
HRESULT WINAPI D3DXFilterTexture(LPDIRECT3DBASETEXTURE9 pBaseTexture, CONST PALETTEENTRY *pPalette, UINT SrcLevel, DWORD Filter)
HRESULT WINAPI D3DXCreateCubeTextureFromResourceA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
UINT Height
Definition: d3dx8tex.h:198
HRESULT WINAPI D3DXSaveVolumeToFileA(LPCSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DVOLUME9 pSrcVolume, CONST PALETTEENTRY *pSrcPalette, CONST D3DBOX *pSrcBox)
HRESULT WINAPI D3DXLoadVolumeFromResourceA(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, HMODULE hSrcModule, LPCSTR pSrcResource, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
DWORD D3DCOLOR
Definition: d3d8types.h:32
HRESULT WINAPI D3DXCreateTextureFromFileA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, LPDIRECT3DTEXTURE9 *ppTexture)
Definition: d3dx8tex.h:195
HRESULT WINAPI D3DXCreateTextureFromResourceExA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXLoadSurfaceFromFileW(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, LPCWSTR pSrcFile, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
struct IDirect3DTexture9 * LPDIRECT3DTEXTURE9
Definition: d3d9.h:1025
HRESULT WINAPI D3DXCreateTextureFromResourceW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, LPDIRECT3DTEXTURE9 *ppTexture)
HRESULT WINAPI D3DXCreateVolumeTextureFromFileW(LPDIRECT3DDEVICE9 pDevice, LPCWSTR pSrcFile, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
HRESULT WINAPI D3DXCreateVolumeTextureFromFileExA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
HRESULT WINAPI D3DXFillTexture(LPDIRECT3DTEXTURE9 pTexture, LPD3DXFILL2D pFunction, LPVOID pData)
D3DRESOURCETYPE ResourceType
Definition: d3dx8tex.h:202
struct IDirect3DVolumeTexture9 * LPDIRECT3DVOLUMETEXTURE9
Definition: d3d9.h:1111
Definition: d3dx8math.h:40
HRESULT WINAPI D3DXCreateVolumeTextureFromFileInMemoryEx(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, UINT Width, UINT Height, UINT Depth, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
HRESULT WINAPI D3DXLoadVolumeFromMemory(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, LPCVOID pSrcMemory, D3DFORMAT SrcFormat, UINT SrcRowPitch, UINT SrcSlicePitch, CONST PALETTEENTRY *pSrcPalette, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey)
HRESULT WINAPI D3DXSaveSurfaceToFileA(LPCSTR pDestFile, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DSURFACE9 pSrcSurface, CONST PALETTEENTRY *pSrcPalette, CONST RECT *pSrcRect)
struct IDirect3DDevice9 * LPDIRECT3DDEVICE9
Definition: d3d9.h:442
Definition: d3dx9tex.h:55
UINT Depth
Definition: d3dx8tex.h:199
Definition: d3dx9tex.h:60
HRESULT WINAPI D3DXCreateVolumeTextureFromResourceW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
interface ID3DXBuffer * LPD3DXBUFFER
Definition: d3dx8core.h:29
HRESULT WINAPI D3DXCreateTexture(LPDIRECT3DDEVICE9 pDevice, UINT Width, UINT Height, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, LPDIRECT3DTEXTURE9 *ppTexture)
Definition: Filter.h:16
HRESULT WINAPI D3DXCreateCubeTextureFromResourceExW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCreateCubeTextureFromResourceW(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
Format
Definition: vulkan.hpp:7957
Definition: glslang_tab.cpp:136
Definition: d3dx9tex.h:56
HRESULT WINAPI D3DXCreateTextureFromFileInMemory(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, LPDIRECT3DTEXTURE9 *ppTexture)
Definition: glslang_tab.cpp:133
Definition: d3dx9tex.h:53
HRESULT WINAPI D3DXSaveVolumeToFileInMemory(LPD3DXBUFFER *ppDestBuf, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DVOLUME9 pSrcVolume, CONST PALETTEENTRY *pSrcPalette, CONST D3DBOX *pSrcBox)
HRESULT WINAPI D3DXCreateCubeTextureFromFileInMemoryEx(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
Definition: d3dx9tex.h:52
Definition: d3dx9tex.h:51
#define VOID(p)
Definition: luac.c:224
HRESULT WINAPI D3DXSaveSurfaceToFileInMemory(LPD3DXBUFFER *ppDestBuf, D3DXIMAGE_FILEFORMAT DestFormat, LPDIRECT3DSURFACE9 pSrcSurface, CONST PALETTEENTRY *pSrcPalette, CONST RECT *pSrcRect)
HRESULT WINAPI D3DXCreateCubeTextureFromFileExA(LPDIRECT3DDEVICE9 pDevice, LPCSTR pSrcFile, UINT Size, UINT MipLevels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, DWORD Filter, DWORD MipFilter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo, PALETTEENTRY *pPalette, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCheckTextureRequirements(LPDIRECT3DDEVICE9 pDevice, UINT *pWidth, UINT *pHeight, UINT *pNumMipLevels, DWORD Usage, D3DFORMAT *pFormat, D3DPOOL Pool)
HRESULT WINAPI D3DXLoadVolumeFromFileW(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, LPCWSTR pSrcFile, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXFillTextureTX(LPDIRECT3DTEXTURE9 pTexture, LPD3DXTEXTURESHADER pTextureShader)
HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(LPDIRECT3DSURFACE9 pDestSurface, CONST PALETTEENTRY *pDestPalette, CONST RECT *pDestRect, LPCVOID pSrcData, UINT SrcDataSize, CONST RECT *pSrcRect, DWORD Filter, D3DCOLOR ColorKey, D3DXIMAGE_INFO *pSrcInfo)
Definition: d3dx9tex.h:54
HRESULT WINAPI D3DXLoadVolumeFromVolume(LPDIRECT3DVOLUME9 pDestVolume, CONST PALETTEENTRY *pDestPalette, CONST D3DBOX *pDestBox, LPDIRECT3DVOLUME9 pSrcVolume, CONST PALETTEENTRY *pSrcPalette, CONST D3DBOX *pSrcBox, DWORD Filter, D3DCOLOR ColorKey)
HRESULT WINAPI D3DXFillVolumeTexture(LPDIRECT3DVOLUMETEXTURE9 pVolumeTexture, LPD3DXFILL3D pFunction, LPVOID pData)
UINT Width
Definition: d3dx8tex.h:197
HRESULT WINAPI D3DXComputeNormalMap(LPDIRECT3DTEXTURE9 pTexture, LPDIRECT3DTEXTURE9 pSrcTexture, CONST PALETTEENTRY *pSrcPalette, DWORD Flags, DWORD Channel, FLOAT Amplitude)
HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID pSrcData, UINT SrcDataSize, D3DXIMAGE_INFO *pSrcInfo)
HRESULT WINAPI D3DXCreateCubeTextureFromFileInMemory(LPDIRECT3DDEVICE9 pDevice, LPCVOID pSrcData, UINT SrcDataSize, LPDIRECT3DCUBETEXTURE9 *ppCubeTexture)
HRESULT WINAPI D3DXCreateVolumeTextureFromResourceA(LPDIRECT3DDEVICE9 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, LPDIRECT3DVOLUMETEXTURE9 *ppVolumeTexture)
struct _D3DXIMAGE_INFO D3DXIMAGE_INFO
Definition: d3d8types.h:1513