D3DCAPS9

Struct D3DCAPS9 

Source
#[repr(C)]
pub struct D3DCAPS9 {
Show 69 fields pub DeviceType: D3DDEVTYPE, pub AdapterOrdinal: UINT, pub Caps: DWORD, pub Caps2: DWORD, pub Caps3: DWORD, pub PresentationIntervals: DWORD, pub CursorCaps: DWORD, pub DevCaps: DWORD, pub PrimitiveMiscCaps: DWORD, pub RasterCaps: DWORD, pub ZCmpCaps: DWORD, pub SrcBlendCaps: DWORD, pub DestBlendCaps: DWORD, pub AlphaCmpCaps: DWORD, pub ShadeCaps: DWORD, pub TextureCaps: DWORD, pub TextureFilterCaps: DWORD, pub CubeTextureFilterCaps: DWORD, pub VolumeTextureFilterCaps: DWORD, pub TextureAddressCaps: DWORD, pub VolumeTextureAddressCaps: DWORD, pub LineCaps: DWORD, pub MaxTextureWidth: DWORD, pub MaxTextureHeight: DWORD, pub MaxVolumeExtent: DWORD, pub MaxTextureRepeat: DWORD, pub MaxTextureAspectRatio: DWORD, pub MaxAnisotropy: DWORD, pub MaxVertexW: c_float, pub GuardBandLeft: c_float, pub GuardBandTop: c_float, pub GuardBandRight: c_float, pub GuardBandBottom: c_float, pub ExtentsAdjust: c_float, pub StencilCaps: DWORD, pub FVFCaps: DWORD, pub TextureOpCaps: DWORD, pub MaxTextureBlendStages: DWORD, pub MaxSimultaneousTextures: DWORD, pub VertexProcessingCaps: DWORD, pub MaxActiveLights: DWORD, pub MaxUserClipPlanes: DWORD, pub MaxVertexBlendMatrices: DWORD, pub MaxVertexBlendMatrixIndex: DWORD, pub MaxPointSize: c_float, pub MaxPrimitiveCount: DWORD, pub MaxVertexIndex: DWORD, pub MaxStreams: DWORD, pub MaxStreamStride: DWORD, pub VertexShaderVersion: DWORD, pub MaxVertexShaderConst: DWORD, pub PixelShaderVersion: DWORD, pub PixelShader1xMaxValue: c_float, pub DevCaps2: DWORD, pub MaxNpatchTessellationLevel: c_float, pub Reserved5: DWORD, pub MasterAdapterOrdinal: UINT, pub AdapterOrdinalInGroup: UINT, pub NumberOfAdaptersInGroup: UINT, pub DeclTypes: DWORD, pub NumSimultaneousRTs: DWORD, pub StretchRectFilterCaps: DWORD, pub VS20Caps: D3DVSHADERCAPS2_0, pub PS20Caps: D3DPSHADERCAPS2_0, pub VertexTextureFilterCaps: DWORD, pub MaxVShaderInstructionsExecuted: DWORD, pub MaxPShaderInstructionsExecuted: DWORD, pub MaxVertexShader30InstructionSlots: DWORD, pub MaxPixelShader30InstructionSlots: DWORD,
}

Fields§

§DeviceType: D3DDEVTYPE§AdapterOrdinal: UINT§Caps: DWORD§Caps2: DWORD§Caps3: DWORD§PresentationIntervals: DWORD§CursorCaps: DWORD§DevCaps: DWORD§PrimitiveMiscCaps: DWORD§RasterCaps: DWORD§ZCmpCaps: DWORD§SrcBlendCaps: DWORD§DestBlendCaps: DWORD§AlphaCmpCaps: DWORD§ShadeCaps: DWORD§TextureCaps: DWORD§TextureFilterCaps: DWORD§CubeTextureFilterCaps: DWORD§VolumeTextureFilterCaps: DWORD§TextureAddressCaps: DWORD§VolumeTextureAddressCaps: DWORD§LineCaps: DWORD§MaxTextureWidth: DWORD§MaxTextureHeight: DWORD§MaxVolumeExtent: DWORD§MaxTextureRepeat: DWORD§MaxTextureAspectRatio: DWORD§MaxAnisotropy: DWORD§MaxVertexW: c_float§GuardBandLeft: c_float§GuardBandTop: c_float§GuardBandRight: c_float§GuardBandBottom: c_float§ExtentsAdjust: c_float§StencilCaps: DWORD§FVFCaps: DWORD§TextureOpCaps: DWORD§MaxTextureBlendStages: DWORD§MaxSimultaneousTextures: DWORD§VertexProcessingCaps: DWORD§MaxActiveLights: DWORD§MaxUserClipPlanes: DWORD§MaxVertexBlendMatrices: DWORD§MaxVertexBlendMatrixIndex: DWORD§MaxPointSize: c_float§MaxPrimitiveCount: DWORD§MaxVertexIndex: DWORD§MaxStreams: DWORD§MaxStreamStride: DWORD§VertexShaderVersion: DWORD§MaxVertexShaderConst: DWORD§PixelShaderVersion: DWORD§PixelShader1xMaxValue: c_float§DevCaps2: DWORD§MaxNpatchTessellationLevel: c_float§Reserved5: DWORD§MasterAdapterOrdinal: UINT§AdapterOrdinalInGroup: UINT§NumberOfAdaptersInGroup: UINT§DeclTypes: DWORD§NumSimultaneousRTs: DWORD§StretchRectFilterCaps: DWORD§VS20Caps: D3DVSHADERCAPS2_0§PS20Caps: D3DPSHADERCAPS2_0§VertexTextureFilterCaps: DWORD§MaxVShaderInstructionsExecuted: DWORD§MaxPShaderInstructionsExecuted: DWORD§MaxVertexShader30InstructionSlots: DWORD§MaxPixelShader30InstructionSlots: DWORD

Trait Implementations§

Source§

impl Clone for D3DCAPS9

Source§

fn clone(&self) -> D3DCAPS9

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Default for D3DCAPS9

Source§

fn default() -> D3DCAPS9

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

impl Copy 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.