#[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,
}

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§

§

impl Clone for D3DCAPS9

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for D3DCAPS9

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for D3DCAPS9

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for D3DCAPS9

§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for D3DCAPS9

§

impl Eq for D3DCAPS9

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.