source: branch/egtra-stream-without-en_dec/directx9/d3d9caps.sbp@ 673

Last change on this file since 673 was 497, checked in by イグトランス (egtra), 17 years ago

インクルードガードとその他不要な前処理定義などの削除

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