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