#[repr(C)]pub struct D3DCAPS9 {Show 69 fields
pub DeviceType: D3DDEVTYPE,
pub AdapterOrdinal: u32,
pub Caps: u32,
pub Caps2: u32,
pub Caps3: u32,
pub PresentationIntervals: u32,
pub CursorCaps: u32,
pub DevCaps: u32,
pub PrimitiveMiscCaps: u32,
pub RasterCaps: u32,
pub ZCmpCaps: u32,
pub SrcBlendCaps: u32,
pub DestBlendCaps: u32,
pub AlphaCmpCaps: u32,
pub ShadeCaps: u32,
pub TextureCaps: u32,
pub TextureFilterCaps: u32,
pub CubeTextureFilterCaps: u32,
pub VolumeTextureFilterCaps: u32,
pub TextureAddressCaps: u32,
pub VolumeTextureAddressCaps: u32,
pub LineCaps: u32,
pub MaxTextureWidth: u32,
pub MaxTextureHeight: u32,
pub MaxVolumeExtent: u32,
pub MaxTextureRepeat: u32,
pub MaxTextureAspectRatio: u32,
pub MaxAnisotropy: u32,
pub MaxVertexW: f32,
pub GuardBandLeft: f32,
pub GuardBandTop: f32,
pub GuardBandRight: f32,
pub GuardBandBottom: f32,
pub ExtentsAdjust: f32,
pub StencilCaps: u32,
pub FVFCaps: u32,
pub TextureOpCaps: u32,
pub MaxTextureBlendStages: u32,
pub MaxSimultaneousTextures: u32,
pub VertexProcessingCaps: u32,
pub MaxActiveLights: u32,
pub MaxUserClipPlanes: u32,
pub MaxVertexBlendMatrices: u32,
pub MaxVertexBlendMatrixIndex: u32,
pub MaxPointSize: f32,
pub MaxPrimitiveCount: u32,
pub MaxVertexIndex: u32,
pub MaxStreams: u32,
pub MaxStreamStride: u32,
pub VertexShaderVersion: u32,
pub MaxVertexShaderConst: u32,
pub PixelShaderVersion: u32,
pub PixelShader1xMaxValue: f32,
pub DevCaps2: u32,
pub MaxNpatchTessellationLevel: f32,
pub Reserved5: u32,
pub MasterAdapterOrdinal: u32,
pub AdapterOrdinalInGroup: u32,
pub NumberOfAdaptersInGroup: u32,
pub DeclTypes: u32,
pub NumSimultaneousRTs: u32,
pub StretchRectFilterCaps: u32,
pub VS20Caps: D3DVSHADERCAPS2_0,
pub PS20Caps: D3DPSHADERCAPS2_0,
pub VertexTextureFilterCaps: u32,
pub MaxVShaderInstructionsExecuted: u32,
pub MaxPShaderInstructionsExecuted: u32,
pub MaxVertexShader30InstructionSlots: u32,
pub MaxPixelShader30InstructionSlots: u32,
}Expand description
Required features: ‘Win32_Graphics_Direct3D9’
Fields
DeviceType: D3DDEVTYPEAdapterOrdinal: u32Caps: u32Caps2: u32Caps3: u32PresentationIntervals: u32CursorCaps: u32DevCaps: u32PrimitiveMiscCaps: u32RasterCaps: u32ZCmpCaps: u32SrcBlendCaps: u32DestBlendCaps: u32AlphaCmpCaps: u32ShadeCaps: u32TextureCaps: u32TextureFilterCaps: u32CubeTextureFilterCaps: u32VolumeTextureFilterCaps: u32TextureAddressCaps: u32VolumeTextureAddressCaps: u32LineCaps: u32MaxTextureWidth: u32MaxTextureHeight: u32MaxVolumeExtent: u32MaxTextureRepeat: u32MaxTextureAspectRatio: u32MaxAnisotropy: u32MaxVertexW: f32GuardBandLeft: f32GuardBandTop: f32GuardBandRight: f32GuardBandBottom: f32ExtentsAdjust: f32StencilCaps: u32FVFCaps: u32TextureOpCaps: u32MaxTextureBlendStages: u32MaxSimultaneousTextures: u32VertexProcessingCaps: u32MaxActiveLights: u32MaxUserClipPlanes: u32MaxVertexBlendMatrices: u32MaxVertexBlendMatrixIndex: u32MaxPointSize: f32MaxPrimitiveCount: u32MaxVertexIndex: u32MaxStreams: u32MaxStreamStride: u32VertexShaderVersion: u32MaxVertexShaderConst: u32PixelShaderVersion: u32PixelShader1xMaxValue: f32DevCaps2: u32MaxNpatchTessellationLevel: f32Reserved5: u32MasterAdapterOrdinal: u32AdapterOrdinalInGroup: u32NumberOfAdaptersInGroup: u32DeclTypes: u32NumSimultaneousRTs: u32StretchRectFilterCaps: u32VS20Caps: D3DVSHADERCAPS2_0PS20Caps: D3DPSHADERCAPS2_0VertexTextureFilterCaps: u32MaxVShaderInstructionsExecuted: u32MaxPShaderInstructionsExecuted: u32MaxVertexShader30InstructionSlots: u32MaxPixelShader30InstructionSlots: u32