source: Include/directx9/d3d9caps.sbp@ 259

Last change on this file since 259 was 1, checked in by (none), 18 years ago
File size: 18.4 KB
Line 
1'd3d9caps.sbp
2
3
4#ifndef _INC_D3D9CAPS
5#define _INC_D3D9CAPS
6
7
8Type D3DVSHADERCAPS2_0
9 Caps As DWord
10 DynamicFlowControlDepth As Long
11 NumTemps As Long
12 StaticFlowControlDepth As Long
13End Type
14
15Const D3DVS20CAPS_PREDICATION = 1<<0
16
17Const D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH = 24
18Const D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH = 0
19Const D3DVS20_MAX_NUMTEMPS = 32
20Const D3DVS20_MIN_NUMTEMPS = 12
21Const D3DVS20_MAX_STATICFLOWCONTROLDEPTH = 4
22Const D3DVS20_MIN_STATICFLOWCONTROLDEPTH = 1
23
24Type D3DPSHADERCAPS2_0
25 Caps As DWord
26 DynamicFlowControlDepth As Long
27 NumTemps As Long
28 StaticFlowControlDepth As Long
29 NumInstructionSlots As Long
30End Type
31
32Const D3DPS20CAPS_ARBITRARYSWIZZLE = 1<<0
33Const D3DPS20CAPS_GRADIENTINSTRUCTIONS = 1<<1
34Const D3DPS20CAPS_PREDICATION = 1<<2
35Const D3DPS20CAPS_NODEPENDENTREADLIMIT = 1<<3
36Const D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT = 1<<4
37
38Const D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH = 24
39Const D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH = 0
40Const D3DPS20_MAX_NUMTEMPS = 32
41Const D3DPS20_MIN_NUMTEMPS = 12
42Const D3DPS20_MAX_STATICFLOWCONTROLDEPTH = 4
43Const D3DPS20_MIN_STATICFLOWCONTROLDEPTH = 0
44Const D3DPS20_MAX_NUMINSTRUCTIONSLOTS = 512
45Const D3DPS20_MIN_NUMINSTRUCTIONSLOTS = 96
46
47Const D3DMIN30SHADERINSTRUCTIONS = 512
48Const D3DMAX30SHADERINSTRUCTIONS = 32768
49
50Type D3DCAPS9
51 'Device Info
52 DeviceType As DWord
53 AdapterOrdinal As DWord
54
55 'Caps from DX7 Draw
56 Caps As DWord
57 Caps2 As DWord
58 Caps3 As DWord
59 PresentationIntervals As DWord
60
61 'Cursor Caps
62 CursorCaps As DWord
63
64 '3D Device Caps
65 DevCaps As DWord
66
67 PrimitiveMiscCaps As DWord
68 RasterCaps As DWord
69 ZCmpCaps As DWord
70 SrcBlendCaps As DWord
71 DestBlendCaps As DWord
72 AlphaCmpCaps As DWord
73 ShadeCaps As DWord
74 TextureCaps As DWord
75 TextureFilterCaps As DWord
76 CubeTextureFilterCaps As DWord
77 VolumeTextureFilterCaps As DWord
78 TextureAddressCaps As DWord
79 VolumeTextureAddressCaps As DWord
80
81 LineCaps As DWord
82
83 MaxTextureWidth As DWord
84 MaxTextureHeight As DWord
85 MaxVolumeExtent As DWord
86
87 MaxTextureRepeat As DWord
88 MaxTextureAspectRatio As DWord
89 MaxAnisotropy As DWord
90 MaxVertexW As Single
91
92 GuardBandLeft As Single
93 GuardBandTop As Single
94 GuardBandRight As Single
95 GuardBandBottom As Single
96
97 ExtentsAdjust As Single
98 StencilCaps As DWord
99
100 FVFCaps As DWord
101 TextureOpCaps As DWord
102 MaxTextureBlendStages As DWord
103 MaxSimultaneousTextures As DWord
104
105 VertexProcessingCaps As DWord
106 MaxActiveLights As DWord
107 MaxUserClipPlanes As DWord
108 MaxVertexBlendMatrices As DWord
109 MaxVertexBlendMatrixIndex As DWord
110
111 MaxPointSize As Single
112
113 MaxPrimitiveCount As DWord
114 MaxVertexIndex As DWord
115 MaxStreams As DWord
116 MaxStreamStride As DWord
117
118 VertexShaderVersion As DWord
119 MaxVertexShaderConst As DWord
120
121 PixelShaderVersion As DWord
122 PixelShader1xMaxValue As Single
123
124 'Here are the DX9 specific ones
125 DevCaps2 As DWord
126
127 MaxNpatchTessellationLevel As Single
128 Reserved5 As DWord
129
130 MasterAdapterOrdinal As DWord
131 AdapterOrdinalInGroup As DWord
132 NumberOfAdaptersInGroup As DWord
133 DeclTypes As DWord
134 NumSimultaneousRTs As DWord
135 StretchRectFilterCaps As DWord
136 VS20Caps As D3DVSHADERCAPS2_0
137 PS20Caps As D3DPSHADERCAPS2_0
138 VertexTextureFilterCaps As DWord
139 MaxVShaderInstructionsExecuted As DWord
140 MaxPShaderInstructionsExecuted As DWord
141 MaxVertexShader30InstructionSlots As DWord
142 MaxPixelShader30InstructionSlots As DWord
143End Type
144
145
146' Caps
147Const D3DCAPS_READ_SCANLINE = &H00020000
148
149' Caps2
150Const D3DCAPS2_FULLSCREENGAMMA = &H00020000
151Const D3DCAPS2_CANCALIBRATEGAMMA = &H00100000
152Const D3DCAPS2_RESERVED = &H02000000
153Const D3DCAPS2_CANMANAGERESOURCE = &H10000000
154Const D3DCAPS2_DYNAMICTEXTURES = &H20000000
155Const D3DCAPS2_CANAUTOGENMIPMAP = &H40000000
156
157' Caps3
158Const D3DCAPS3_RESERVED = &H8000001F
159
160' Indicates that the device can respect the ALPHABLENDENABLE render state
161' when fullscreen while using the FLIP or DISCARD swap effect.
162' COPY and COPYVSYNC swap effects work whether or not this flag is set.
163Const D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD = &H00000020
164
165' Indicates that the device can perform a gamma correction from
166' a windowed back buffer containing linear content to the sRGB desktop.
167Const D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION = &H00000080
168
169Const D3DCAPS3_COPY_TO_VIDMEM = &H00000100 'Device can acclerate copies from sysmem to local vidmem
170Const D3DCAPS3_COPY_TO_SYSTEMMEM = &H00000200 'Device can acclerate copies from local vidmem to sysmem
171
172' PresentationIntervals
173Const D3DPRESENT_INTERVAL_DEFAULT = &H00000000
174Const D3DPRESENT_INTERVAL_ONE = &H00000001
175Const D3DPRESENT_INTERVAL_TWO = &H00000002
176Const D3DPRESENT_INTERVAL_THREE = &H00000004
177Const D3DPRESENT_INTERVAL_FOUR = &H00000008
178Const D3DPRESENT_INTERVAL_IMMEDIATE = &H80000000
179
180' CursorCaps
181Const D3DCURSORCAPS_COLOR = &H00000001 'Driver supports HW color cursor in at least hi-res modes(height >=400)
182Const D3DCURSORCAPS_LOWRES = &H00000002 'Driver supports HW cursor also in low-res modes(height < 400)
183
184' DevCaps
185Const D3DDEVCAPS_EXECUTESYSTEMMEMORY = &H00000010 'Device can use execute buffers from system memory
186Const D3DDEVCAPS_EXECUTEVIDEOMEMORY = &H00000020 'Device can use execute buffers from video memory
187Const D3DDEVCAPS_TLVERTEXSYSTEMMEMORY = &H00000040 'Device can use TL buffers from system memory
188Const D3DDEVCAPS_TLVERTEXVIDEOMEMORY = &H00000080 'Device can use TL buffers from video memory
189Const D3DDEVCAPS_TEXTURESYSTEMMEMORY = &H00000100 'Device can texture from system memory
190Const D3DDEVCAPS_TEXTUREVIDEOMEMORY = &H00000200 'Device can texture from device memory
191Const D3DDEVCAPS_DRAWPRIMTLVERTEX = &H00000400 'Device can draw TLVERTEX primitives
192Const D3DDEVCAPS_CANRENDERAFTERFLIP = &H00000800 'Device can render without waiting for flip to complete
193Const D3DDEVCAPS_TEXTURENONLOCALVIDMEM = &H00001000 'Device can texture from nonlocal video memory
194Const D3DDEVCAPS_DRAWPRIMITIVES2 = &H00002000 'Device can support DrawPrimitives2
195Const D3DDEVCAPS_SEPARATETEXTUREMEMORIES = &H00004000 'Device is texturing from separate memory pools
196Const D3DDEVCAPS_DRAWPRIMITIVES2EX = &H00008000 'Device can support Extended DrawPrimitives2 i.e. DX7 compliant driver
197Const D3DDEVCAPS_HWTRANSFORMANDLIGHT = &H00010000 'Device can support transformation and lighting in hardware and DRAWPRIMITIVES2EX must be also
198Const D3DDEVCAPS_CANBLTSYSTONONLOCAL = &H00020000 'Device supports a Tex Blt from system memory to non-local vidmem
199Const D3DDEVCAPS_HWRASTERIZATION = &H00080000 'Device has HW acceleration for rasterization
200Const D3DDEVCAPS_PUREDEVICE = &H00100000 'Device supports D3DCREATE_PUREDEVICE
201Const D3DDEVCAPS_QUINTICRTPATCHES = &H00200000 'Device supports quintic Beziers and BSplines
202Const D3DDEVCAPS_RTPATCHES = &H00400000 'Device supports Rect and Tri patches
203Const D3DDEVCAPS_RTPATCHHANDLEZERO = &H00800000 'Indicates that RT Patches may be drawn efficiently using handle 0
204Const D3DDEVCAPS_NPATCHES = &H01000000 'Device supports N-Patches
205
206' PrimitiveMiscCaps
207Const D3DPMISCCAPS_MASKZ = &H00000002
208Const D3DPMISCCAPS_CULLNONE = &H00000010
209Const D3DPMISCCAPS_CULLCW = &H00000020
210Const D3DPMISCCAPS_CULLCCW = &H00000040
211Const D3DPMISCCAPS_COLORWRITEENABLE = &H00000080
212Const D3DPMISCCAPS_CLIPPLANESCALEDPOINTS = &H00000100 'Device correctly clips scaled points to clip planes
213Const D3DPMISCCAPS_CLIPTLVERTS = &H00000200 'device will clip post-transformed vertex primitives
214Const D3DPMISCCAPS_TSSARGTEMP = &H00000400 'device supports D3DTA_TEMP for temporary register
215Const D3DPMISCCAPS_BLENDOP = &H00000800 'device supports D3DRS_BLENDOP
216Const D3DPMISCCAPS_NULLREFERENCE = &H00001000 'Reference Device that doesnt render
217Const D3DPMISCCAPS_INDEPENDENTWRITEMASKS = &H00004000 'Device supports independent write masks for MET or MRT
218Const D3DPMISCCAPS_PERSTAGECONSTANT = &H00008000 'Device supports per-stage constants
219Const D3DPMISCCAPS_FOGANDSPECULARALPHA = &H00010000 'Device supports separate fog and specular alpha (many devices use the specular alpha channel to store fog factor)
220Const D3DPMISCCAPS_SEPARATEALPHABLEND = &H00020000 'Device supports separate blend settings for the alpha channel
221Const D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS = &H00040000 'Device supports different bit depths for MRT
222Const D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING = &H00080000 'Device supports post-pixel shader operations for MRT
223Const D3DPMISCCAPS_FOGVERTEXCLAMPED = &H00100000 'Device clamps fog blend factor per vertex
224
225' LineCaps
226Const D3DLINECAPS_TEXTURE = &H00000001
227Const D3DLINECAPS_ZTEST = &H00000002
228Const D3DLINECAPS_BLEND = &H00000004
229Const D3DLINECAPS_ALPHACMP = &H00000008
230Const D3DLINECAPS_FOG = &H00000010
231Const D3DLINECAPS_ANTIALIAS = &H00000020
232
233' RasterCaps
234Const D3DPRASTERCAPS_DITHER = &H00000001
235Const D3DPRASTERCAPS_ZTEST = &H00000010
236Const D3DPRASTERCAPS_FOGVERTEX = &H00000080
237Const D3DPRASTERCAPS_FOGTABLE = &H00000100
238Const D3DPRASTERCAPS_MIPMAPLODBIAS = &H00002000
239Const D3DPRASTERCAPS_ZBUFFERLESSHSR = &H00008000
240Const D3DPRASTERCAPS_FOGRANGE = &H00010000
241Const D3DPRASTERCAPS_ANISOTROPY = &H00020000
242Const D3DPRASTERCAPS_WBUFFER = &H00040000
243Const D3DPRASTERCAPS_WFOG = &H00100000
244Const D3DPRASTERCAPS_ZFOG = &H00200000
245Const D3DPRASTERCAPS_COLORPERSPECTIVE = &H00400000 'Device iterates colors perspective correct
246Const D3DPRASTERCAPS_SCISSORTEST = &H01000000
247Const D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS = &H02000000
248Const D3DPRASTERCAPS_DEPTHBIAS = &H04000000
249Const D3DPRASTERCAPS_MULTISAMPLE_TOGGLE = &H08000000
250
251' ZCmpCaps, AlphaCmpCaps
252Const D3DPCMPCAPS_NEVER = &H00000001
253Const D3DPCMPCAPS_LESS = &H00000002
254Const D3DPCMPCAPS_EQUAL = &H00000004
255Const D3DPCMPCAPS_LESSEQUAL = &H00000008
256Const D3DPCMPCAPS_GREATER = &H00000010
257Const D3DPCMPCAPS_NOTEQUAL = &H00000020
258Const D3DPCMPCAPS_GREATEREQUAL = &H00000040
259Const D3DPCMPCAPS_ALWAYS = &H00000080
260
261' SourceBlendCaps, DestBlendCaps
262Const D3DPBLENDCAPS_ZERO = &H00000001
263Const D3DPBLENDCAPS_ONE = &H00000002
264Const D3DPBLENDCAPS_SRCCOLOR = &H00000004
265Const D3DPBLENDCAPS_INVSRCCOLOR = &H00000008
266Const D3DPBLENDCAPS_SRCALPHA = &H00000010
267Const D3DPBLENDCAPS_INVSRCALPHA = &H00000020
268Const D3DPBLENDCAPS_DESTALPHA = &H00000040
269Const D3DPBLENDCAPS_INVDESTALPHA = &H00000080
270Const D3DPBLENDCAPS_DESTCOLOR = &H00000100
271Const D3DPBLENDCAPS_INVDESTCOLOR = &H00000200
272Const D3DPBLENDCAPS_SRCALPHASAT = &H00000400
273Const D3DPBLENDCAPS_BOTHSRCALPHA = &H00000800
274Const D3DPBLENDCAPS_BOTHINVSRCALPHA = &H00001000
275Const D3DPBLENDCAPS_BLENDFACTOR = &H00002000 'Supports both D3DBLEND_BLENDFACTOR and D3DBLEND_INVBLENDFACTOR
276
277' ShadeCaps
278Const D3DPSHADECAPS_COLORGOURAUDRGB = &H00000008
279Const D3DPSHADECAPS_SPECULARGOURAUDRGB = &H00000200
280Const D3DPSHADECAPS_ALPHAGOURAUDBLEND = &H00004000
281Const D3DPSHADECAPS_FOGGOURAUD = &H00080000
282
283' TextureCaps
284Const D3DPTEXTURECAPS_PERSPECTIVE = &H00000001 'Perspective-correct texturing is supported
285Const D3DPTEXTURECAPS_POW2 = &H00000002 'Power-of-2 texture dimensions are required - applies to non-Cube/Volume textures only.
286Const D3DPTEXTURECAPS_ALPHA = &H00000004 'Alpha in texture pixels is supported
287Const D3DPTEXTURECAPS_SQUAREONLY = &H00000020 'Only square textures are supported
288Const D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE = &H00000040 'Texture indices are not scaled by the texture size prior to interpolation
289Const D3DPTEXTURECAPS_ALPHAPALETTE = &H00000080 'Device can draw alpha from texture palettes
290Const D3DPTEXTURECAPS_NONPOW2CONDITIONAL = &H00000100
291Const D3DPTEXTURECAPS_PROJECTED = &H00000400 'Device can do D3DTTFF_PROJECTED
292Const D3DPTEXTURECAPS_CUBEMAP = &H00000800 'Device can do cubemap textures
293Const D3DPTEXTURECAPS_VOLUMEMAP = &H00002000 'Device can do volume textures
294Const D3DPTEXTURECAPS_MIPMAP = &H00004000 'Device can do mipmapped textures
295Const D3DPTEXTURECAPS_MIPVOLUMEMAP = &H00008000 'Device can do mipmapped volume textures
296Const D3DPTEXTURECAPS_MIPCUBEMAP = &H00010000 'Device can do mipmapped cube maps
297Const D3DPTEXTURECAPS_CUBEMAP_POW2 = &H00020000 'Device requires that cubemaps be power-of-2 dimension
298Const D3DPTEXTURECAPS_VOLUMEMAP_POW2 = &H00040000 'Device requires that volume maps be power-of-2 dimension
299Const D3DPTEXTURECAPS_NOPROJECTEDBUMPENV = &H00200000 'Device does not support projected bump env lookup operation in programmable and fixed function pixel shaders
300
301' TextureFilterCaps, StretchRectFilterCaps
302Const D3DPTFILTERCAPS_MINFPOINT = &H00000100 'Min Filter
303Const D3DPTFILTERCAPS_MINFLINEAR = &H00000200
304Const D3DPTFILTERCAPS_MINFANISOTROPIC = &H00000400
305Const D3DPTFILTERCAPS_MINFPYRAMIDALQUAD = &H00000800
306Const D3DPTFILTERCAPS_MINFGAUSSIANQUAD = &H00001000
307Const D3DPTFILTERCAPS_MIPFPOINT = &H00010000 'Mip Filter
308Const D3DPTFILTERCAPS_MIPFLINEAR = &H00020000
309Const D3DPTFILTERCAPS_MAGFPOINT = &H01000000 'Mag Filter
310Const D3DPTFILTERCAPS_MAGFLINEAR = &H02000000
311Const D3DPTFILTERCAPS_MAGFANISOTROPIC = &H04000000
312Const D3DPTFILTERCAPS_MAGFPYRAMIDALQUAD = &H08000000
313Const D3DPTFILTERCAPS_MAGFGAUSSIANQUAD = &H10000000
314
315' TextureAddressCaps
316Const D3DPTADDRESSCAPS_WRAP = &H00000001
317Const D3DPTADDRESSCAPS_MIRROR = &H00000002
318Const D3DPTADDRESSCAPS_CLAMP = &H00000004
319Const D3DPTADDRESSCAPS_BORDER = &H00000008
320Const D3DPTADDRESSCAPS_INDEPENDENTUV = &H00000010
321Const D3DPTADDRESSCAPS_MIRRORONCE = &H00000020
322
323' StencilCaps
324Const D3DSTENCILCAPS_KEEP = &H00000001
325Const D3DSTENCILCAPS_ZERO = &H00000002
326Const D3DSTENCILCAPS_REPLACE = &H00000004
327Const D3DSTENCILCAPS_INCRSAT = &H00000008
328Const D3DSTENCILCAPS_DECRSAT = &H00000010
329Const D3DSTENCILCAPS_INVERT = &H00000020
330Const D3DSTENCILCAPS_INCR = &H00000040
331Const D3DSTENCILCAPS_DECR = &H00000080
332Const D3DSTENCILCAPS_TWOSIDED = &H00000100
333
334' TextureOpCaps
335Const D3DTEXOPCAPS_DISABLE = &H00000001
336Const D3DTEXOPCAPS_SELECTARG1 = &H00000002
337Const D3DTEXOPCAPS_SELECTARG2 = &H00000004
338Const D3DTEXOPCAPS_MODULATE = &H00000008
339Const D3DTEXOPCAPS_MODULATE2X = &H00000010
340Const D3DTEXOPCAPS_MODULATE4X = &H00000020
341Const D3DTEXOPCAPS_ADD = &H00000040
342Const D3DTEXOPCAPS_ADDSIGNED = &H00000080
343Const D3DTEXOPCAPS_ADDSIGNED2X = &H00000100
344Const D3DTEXOPCAPS_SUBTRACT = &H00000200
345Const D3DTEXOPCAPS_ADDSMOOTH = &H00000400
346Const D3DTEXOPCAPS_BLENDDIFFUSEALPHA = &H00000800
347Const D3DTEXOPCAPS_BLENDTEXTUREALPHA = &H00001000
348Const D3DTEXOPCAPS_BLENDFACTORALPHA = &H00002000
349Const D3DTEXOPCAPS_BLENDTEXTUREALPHAPM = &H00004000
350Const D3DTEXOPCAPS_BLENDCURRENTALPHA = &H00008000
351Const D3DTEXOPCAPS_PREMODULATE = &H00010000
352Const D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR = &H00020000
353Const D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA = &H00040000
354Const D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR = &H00080000
355Const D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA = &H00100000
356Const D3DTEXOPCAPS_BUMPENVMAP = &H00200000
357Const D3DTEXOPCAPS_BUMPENVMAPLUMINANCE = &H00400000
358Const D3DTEXOPCAPS_DOTPRODUCT3 = &H00800000
359Const D3DTEXOPCAPS_MULTIPLYADD = &H01000000
360Const D3DTEXOPCAPS_LERP = &H02000000
361
362' FVFCaps
363Const D3DFVFCAPS_TEXCOORDCOUNTMASK = &H0000ffff 'mask for texture coordinate count field
364Const D3DFVFCAPS_DONOTSTRIPELEMENTS = &H00080000 'Device prefers that vertex elements not be stripped
365Const D3DFVFCAPS_PSIZE = &H00100000 'Device can receive point size
366
367' VertexProcessingCaps
368Const D3DVTXPCAPS_TEXGEN = &H00000001 'device can do texgen
369Const D3DVTXPCAPS_MATERIALSOURCE7 = &H00000002 'device can do DX7-level colormaterialsource ops
370Const D3DVTXPCAPS_DIRECTIONALLIGHTS = &H00000008 'device can do directional lights
371Const D3DVTXPCAPS_POSITIONALLIGHTS = &H00000010 'device can do positional lights (includes point and spot)
372Const D3DVTXPCAPS_LOCALVIEWER = &H00000020 'device can do local viewer
373Const D3DVTXPCAPS_TWEENING = &H00000040 'device can do vertex tweening
374Const D3DVTXPCAPS_TEXGEN_SPHEREMAP = &H00000100 'device supports D3DTSS_TCI_SPHEREMAP
375Const D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER = &H00000200 'device does not support TexGen in non-local viewer mode
376
377' DevCaps2
378Const D3DDEVCAPS2_STREAMOFFSET = &H00000001 'Device supports offsets in streams. Must be set by DX9 drivers
379Const D3DDEVCAPS2_DMAPNPATCH = &H00000002 'Device supports displacement maps for N-Patches
380Const D3DDEVCAPS2_ADAPTIVETESSRTPATCH = &H00000004 'Device supports adaptive tesselation of RT-patches
381Const D3DDEVCAPS2_ADAPTIVETESSNPATCH = &H00000008 'Device supports adaptive tesselation of N-patches
382Const D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES = &H00000010 'Device supports StretchRect calls with a texture as the source
383Const D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH = &H00000020 'Device supports presampled displacement maps for N-Patches
384Const D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET = &H00000040 'Vertex elements in a vertex declaration can share the same stream offset
385
386' DeclTypes
387Const D3DDTCAPS_UBYTE4 = &H00000001
388Const D3DDTCAPS_UBYTE4N = &H00000002
389Const D3DDTCAPS_SHORT2N = &H00000004
390Const D3DDTCAPS_SHORT4N = &H00000008
391Const D3DDTCAPS_USHORT2N = &H00000010
392Const D3DDTCAPS_USHORT4N = &H00000020
393Const D3DDTCAPS_UDEC3 = &H00000040
394Const D3DDTCAPS_DEC3N = &H00000080
395Const D3DDTCAPS_FLOAT16_2 = &H00000100
396Const D3DDTCAPS_FLOAT16_4 = &H00000200
397
398
399#endif '_INC_D3D9CAPS
Note: See TracBrowser for help on using the repository browser.