#[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: D3DDEVTYPE
AdapterOrdinal: u32
Caps: u32
Caps2: u32
Caps3: u32
PresentationIntervals: u32
CursorCaps: u32
DevCaps: u32
PrimitiveMiscCaps: u32
RasterCaps: u32
ZCmpCaps: u32
SrcBlendCaps: u32
DestBlendCaps: u32
AlphaCmpCaps: u32
ShadeCaps: u32
TextureCaps: u32
TextureFilterCaps: u32
CubeTextureFilterCaps: u32
VolumeTextureFilterCaps: u32
TextureAddressCaps: u32
VolumeTextureAddressCaps: u32
LineCaps: u32
MaxTextureWidth: u32
MaxTextureHeight: u32
MaxVolumeExtent: u32
MaxTextureRepeat: u32
MaxTextureAspectRatio: u32
MaxAnisotropy: u32
MaxVertexW: f32
GuardBandLeft: f32
GuardBandTop: f32
GuardBandRight: f32
GuardBandBottom: f32
ExtentsAdjust: f32
StencilCaps: u32
FVFCaps: u32
TextureOpCaps: u32
MaxTextureBlendStages: u32
MaxSimultaneousTextures: u32
VertexProcessingCaps: u32
MaxActiveLights: u32
MaxUserClipPlanes: u32
MaxVertexBlendMatrices: u32
MaxVertexBlendMatrixIndex: u32
MaxPointSize: f32
MaxPrimitiveCount: u32
MaxVertexIndex: u32
MaxStreams: u32
MaxStreamStride: u32
VertexShaderVersion: u32
MaxVertexShaderConst: u32
PixelShaderVersion: u32
PixelShader1xMaxValue: f32
DevCaps2: u32
MaxNpatchTessellationLevel: f32
Reserved5: u32
MasterAdapterOrdinal: u32
AdapterOrdinalInGroup: u32
NumberOfAdaptersInGroup: u32
DeclTypes: u32
NumSimultaneousRTs: u32
StretchRectFilterCaps: u32
VS20Caps: D3DVSHADERCAPS2_0
PS20Caps: D3DPSHADERCAPS2_0
VertexTextureFilterCaps: u32
MaxVShaderInstructionsExecuted: u32
MaxPShaderInstructionsExecuted: u32
MaxVertexShader30InstructionSlots: u32
MaxPixelShader30InstructionSlots: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for D3DCAPS9
impl Send for D3DCAPS9
impl Sync for D3DCAPS9
impl Unpin for D3DCAPS9
impl UnwindSafe for D3DCAPS9
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more