[][src]Struct winapi::shared::d3d9::IDirect3DDevice9

#[repr(C)]
pub struct IDirect3DDevice9 { pub lpVtbl: *const IDirect3DDevice9Vtbl, }

Fields

lpVtbl: *const IDirect3DDevice9Vtbl

Methods

impl IDirect3DDevice9[src]

pub unsafe fn TestCooperativeLevel(&self) -> HRESULT[src]

pub unsafe fn GetAvailableTextureMem(&self) -> UINT[src]

pub unsafe fn EvictManagedResources(&self) -> HRESULT[src]

pub unsafe fn GetDirect3D(&self, ppD3D9: *mut *mut IDirect3D9) -> HRESULT[src]

pub unsafe fn GetDeviceCaps(&self, pCaps: *mut D3DCAPS9) -> HRESULT[src]

pub unsafe fn GetDisplayMode(
    &self,
    iSwapChain: UINT,
    pMode: *mut D3DDISPLAYMODE
) -> HRESULT
[src]

pub unsafe fn GetCreationParameters(
    &self,
    pParameters: *mut D3DDEVICE_CREATION_PARAMETERS
) -> HRESULT
[src]

pub unsafe fn SetCursorProperties(
    &self,
    XHotSpot: UINT,
    YHotSpot: UINT,
    pCursorBitmap: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn SetCursorPosition(&self, X: INT, Y: INT, Flags: DWORD)[src]

pub unsafe fn ShowCursor(&self, bShow: BOOL) -> BOOL[src]

pub unsafe fn CreateAdditionalSwapChain(
    &self,
    pPresentationParameters: *mut D3DPRESENT_PARAMETERS,
    pSwapChain: *mut *mut IDirect3DSwapChain9
) -> HRESULT
[src]

pub unsafe fn GetSwapChain(
    &self,
    iSwapChain: UINT,
    pSwapChain: *mut *mut IDirect3DSwapChain9
) -> HRESULT
[src]

pub unsafe fn GetNumberOfSwapChains(&self) -> UINT[src]

pub unsafe fn Reset(
    &self,
    pPresentationParameters: *mut D3DPRESENT_PARAMETERS
) -> HRESULT
[src]

pub unsafe fn Present(
    &self,
    pSourceRect: *const RECT,
    pDestRect: *const RECT,
    hDestWindowOverride: HWND,
    pDirtyRegion: *const RGNDATA
) -> HRESULT
[src]

pub unsafe fn GetBackBuffer(
    &self,
    iSwapChain: UINT,
    iBackBuffer: UINT,
    Type: D3DBACKBUFFER_TYPE,
    ppBackBuffer: *mut *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetRasterStatus(
    &self,
    iSwapChain: UINT,
    pRasterStatus: *mut D3DRASTER_STATUS
) -> HRESULT
[src]

pub unsafe fn SetDialogBoxMode(&self, bEnableDialogs: BOOL) -> HRESULT[src]

pub unsafe fn SetGammaRamp(
    &self,
    iSwapChain: UINT,
    Flags: DWORD,
    pRamp: *const D3DGAMMARAMP
)
[src]

pub unsafe fn GetGammaRamp(&self, iSwapChain: UINT, pRamp: *mut D3DGAMMARAMP)[src]

pub unsafe fn CreateTexture(
    &self,
    Width: UINT,
    Height: UINT,
    Levels: UINT,
    Usage: DWORD,
    Format: D3DFORMAT,
    Pool: D3DPOOL,
    ppTexture: *mut *mut IDirect3DTexture9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateVolumeTexture(
    &self,
    Width: UINT,
    Height: UINT,
    Depth: UINT,
    Levels: UINT,
    Usage: DWORD,
    Format: D3DFORMAT,
    Pool: D3DPOOL,
    ppVolumeTexture: *mut *mut IDirect3DVolumeTexture9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateCubeTexture(
    &self,
    EdgeLength: UINT,
    Levels: UINT,
    Usage: DWORD,
    Format: D3DFORMAT,
    Pool: D3DPOOL,
    ppCubeTexture: *mut *mut IDirect3DCubeTexture9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateVertexBuffer(
    &self,
    Length: UINT,
    Usage: DWORD,
    FVF: DWORD,
    Pool: D3DPOOL,
    ppVertexBuffer: *mut *mut IDirect3DVertexBuffer9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateIndexBuffer(
    &self,
    Length: UINT,
    Usage: DWORD,
    Format: D3DFORMAT,
    Pool: D3DPOOL,
    ppIndexBuffer: *mut *mut IDirect3DIndexBuffer9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateRenderTarget(
    &self,
    Width: UINT,
    Height: UINT,
    Format: D3DFORMAT,
    MultiSample: D3DMULTISAMPLE_TYPE,
    MultisampleQuality: DWORD,
    Lockable: BOOL,
    ppSurface: *mut *mut IDirect3DSurface9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn CreateDepthStencilSurface(
    &self,
    Width: UINT,
    Height: UINT,
    Format: D3DFORMAT,
    MultiSample: D3DMULTISAMPLE_TYPE,
    MultisampleQuality: DWORD,
    Discard: BOOL,
    ppSurface: *mut *mut IDirect3DSurface9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn UpdateSurface(
    &self,
    pSourceSurface: *mut IDirect3DSurface9,
    pSourceRect: *const RECT,
    pDestinationSurface: *mut IDirect3DSurface9,
    pDestPoint: *const POINT
) -> HRESULT
[src]

pub unsafe fn UpdateTexture(
    &self,
    pSourceTexture: *mut IDirect3DBaseTexture9,
    pDestinationTexture: *mut IDirect3DBaseTexture9
) -> HRESULT
[src]

pub unsafe fn GetRenderTargetData(
    &self,
    pRenderTarget: *mut IDirect3DSurface9,
    pDestSurface: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetFrontBufferData(
    &self,
    iSwapChain: UINT,
    pDestSurface: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn StretchRect(
    &self,
    pSourceSurface: *mut IDirect3DSurface9,
    pSourceRect: *const RECT,
    pDestSurface: *mut IDirect3DSurface9,
    pDestRect: *const RECT,
    Filter: D3DTEXTUREFILTERTYPE
) -> HRESULT
[src]

pub unsafe fn ColorFill(
    &self,
    pSurface: *mut IDirect3DSurface9,
    pRect: *const RECT,
    color: D3DCOLOR
) -> HRESULT
[src]

pub unsafe fn CreateOffscreenPlainSurface(
    &self,
    Width: UINT,
    Height: UINT,
    Format: D3DFORMAT,
    Pool: D3DPOOL,
    ppSurface: *mut *mut IDirect3DSurface9,
    pSharedHandle: *mut HANDLE
) -> HRESULT
[src]

pub unsafe fn SetRenderTarget(
    &self,
    RenderTargetIndex: DWORD,
    pRenderTarget: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetRenderTarget(
    &self,
    RenderTargetIndex: DWORD,
    ppRenderTarget: *mut *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn SetDepthStencilSurface(
    &self,
    pNewZStencil: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetDepthStencilSurface(
    &self,
    ppZStencilSurface: *mut *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn BeginScene(&self) -> HRESULT[src]

pub unsafe fn EndScene(&self) -> HRESULT[src]

pub unsafe fn Clear(
    &self,
    Count: DWORD,
    pRects: *const D3DRECT,
    Flags: DWORD,
    Color: D3DCOLOR,
    Z: FLOAT,
    Stencil: DWORD
) -> HRESULT
[src]

pub unsafe fn SetTransform(
    &self,
    State: D3DTRANSFORMSTATETYPE,
    pMatrix: *const D3DMATRIX
) -> HRESULT
[src]

pub unsafe fn GetTransform(
    &self,
    State: D3DTRANSFORMSTATETYPE,
    pMatrix: *mut D3DMATRIX
) -> HRESULT
[src]

pub unsafe fn MultiplyTransform(
    &self,
    arg1: D3DTRANSFORMSTATETYPE,
    arg2: *const D3DMATRIX
) -> HRESULT
[src]

pub unsafe fn SetViewport(&self, pViewport: *const D3DVIEWPORT9) -> HRESULT[src]

pub unsafe fn GetViewport(&self, pViewport: *mut D3DVIEWPORT9) -> HRESULT[src]

pub unsafe fn SetMaterial(&self, pMaterial: *const D3DMATERIAL9) -> HRESULT[src]

pub unsafe fn GetMaterial(&self, pMaterial: *mut D3DMATERIAL9) -> HRESULT[src]

pub unsafe fn SetLight(&self, Index: DWORD, arg1: *const D3DLIGHT9) -> HRESULT[src]

pub unsafe fn GetLight(&self, Index: DWORD, arg1: *mut D3DLIGHT9) -> HRESULT[src]

pub unsafe fn LightEnable(&self, Index: DWORD, Enable: BOOL) -> HRESULT[src]

pub unsafe fn GetLightEnable(&self, Index: DWORD, pEnable: *mut BOOL) -> HRESULT[src]

pub unsafe fn SetClipPlane(&self, Index: DWORD, pPlane: *const FLOAT) -> HRESULT[src]

pub unsafe fn GetClipPlane(&self, Index: DWORD, pPlane: *mut FLOAT) -> HRESULT[src]

pub unsafe fn SetRenderState(
    &self,
    State: D3DRENDERSTATETYPE,
    Value: DWORD
) -> HRESULT
[src]

pub unsafe fn GetRenderState(
    &self,
    State: D3DRENDERSTATETYPE,
    pValue: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn CreateStateBlock(
    &self,
    Type: D3DSTATEBLOCKTYPE,
    ppSB: *mut *mut IDirect3DStateBlock9
) -> HRESULT
[src]

pub unsafe fn BeginStateBlock(&self) -> HRESULT[src]

pub unsafe fn EndStateBlock(
    &self,
    ppSB: *mut *mut IDirect3DStateBlock9
) -> HRESULT
[src]

pub unsafe fn SetClipStatus(
    &self,
    pClipStatus: *const D3DCLIPSTATUS9
) -> HRESULT
[src]

pub unsafe fn GetClipStatus(&self, pClipStatus: *mut D3DCLIPSTATUS9) -> HRESULT[src]

pub unsafe fn GetTexture(
    &self,
    Stage: DWORD,
    ppTexture: *mut *mut IDirect3DBaseTexture9
) -> HRESULT
[src]

pub unsafe fn SetTexture(
    &self,
    Stage: DWORD,
    pTexture: *mut IDirect3DBaseTexture9
) -> HRESULT
[src]

pub unsafe fn GetTextureStageState(
    &self,
    Stage: DWORD,
    Type: D3DTEXTURESTAGESTATETYPE,
    pValue: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn SetTextureStageState(
    &self,
    Stage: DWORD,
    Type: D3DTEXTURESTAGESTATETYPE,
    Value: DWORD
) -> HRESULT
[src]

pub unsafe fn GetSamplerState(
    &self,
    Sampler: DWORD,
    Type: D3DSAMPLERSTATETYPE,
    pValue: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn SetSamplerState(
    &self,
    Sampler: DWORD,
    Type: D3DSAMPLERSTATETYPE,
    Value: DWORD
) -> HRESULT
[src]

pub unsafe fn ValidateDevice(&self, pNumPasses: *mut DWORD) -> HRESULT[src]

pub unsafe fn SetPaletteEntries(
    &self,
    PaletteNumber: UINT,
    pEntries: *const PALETTEENTRY
) -> HRESULT
[src]

pub unsafe fn GetPaletteEntries(
    &self,
    PaletteNumber: UINT,
    pEntries: *mut PALETTEENTRY
) -> HRESULT
[src]

pub unsafe fn SetCurrentTexturePalette(&self, PaletteNumber: UINT) -> HRESULT[src]

pub unsafe fn GetCurrentTexturePalette(
    &self,
    PaletteNumber: *mut UINT
) -> HRESULT
[src]

pub unsafe fn SetScissorRect(&self, pRect: *const RECT) -> HRESULT[src]

pub unsafe fn GetScissorRect(&self, pRect: *mut RECT) -> HRESULT[src]

pub unsafe fn SetSoftwareVertexProcessing(&self, bSoftware: BOOL) -> HRESULT[src]

pub unsafe fn GetSoftwareVertexProcessing(&self) -> BOOL[src]

pub unsafe fn SetNPatchMode(&self, nSegments: FLOAT) -> HRESULT[src]

pub unsafe fn GetNPatchMode(&self) -> FLOAT[src]

pub unsafe fn DrawPrimitive(
    &self,
    PrimitiveType: D3DPRIMITIVETYPE,
    StartVertex: UINT,
    PrimitiveCount: UINT
) -> HRESULT
[src]

pub unsafe fn DrawIndexedPrimitive(
    &self,
    arg1: D3DPRIMITIVETYPE,
    BaseVertexIndex: INT,
    MinVertexIndex: UINT,
    NumVertices: UINT,
    startIndex: UINT,
    primCount: UINT
) -> HRESULT
[src]

pub unsafe fn DrawPrimitiveUP(
    &self,
    PrimitiveType: D3DPRIMITIVETYPE,
    PrimitiveCount: UINT,
    pVertexStreamZeroData: *const VOID,
    VertexStreamZeroStride: UINT
) -> HRESULT
[src]

pub unsafe fn DrawIndexedPrimitiveUP(
    &self,
    PrimitiveType: D3DPRIMITIVETYPE,
    MinVertexIndex: UINT,
    NumVertices: UINT,
    PrimitiveCount: UINT,
    pIndexData: *const VOID,
    IndexDataFormat: D3DFORMAT,
    pVertexStreamZeroData: *const VOID,
    VertexStreamZeroStride: UINT
) -> HRESULT
[src]

pub unsafe fn ProcessVertices(
    &self,
    SrcStartIndex: UINT,
    DestIndex: UINT,
    VertexCount: UINT,
    pDestBuffer: *mut IDirect3DVertexBuffer9,
    pVertexDecl: *mut IDirect3DVertexDeclaration9,
    Flags: DWORD
) -> HRESULT
[src]

pub unsafe fn CreateVertexDeclaration(
    &self,
    pVertexElements: *const D3DVERTEXELEMENT9,
    ppDecl: *mut *mut IDirect3DVertexDeclaration9
) -> HRESULT
[src]

pub unsafe fn SetVertexDeclaration(
    &self,
    pDecl: *mut IDirect3DVertexDeclaration9
) -> HRESULT
[src]

pub unsafe fn GetVertexDeclaration(
    &self,
    ppDecl: *mut *mut IDirect3DVertexDeclaration9
) -> HRESULT
[src]

pub unsafe fn SetFVF(&self, FVF: DWORD) -> HRESULT[src]

pub unsafe fn GetFVF(&self, pFVF: *mut DWORD) -> HRESULT[src]

pub unsafe fn CreateVertexShader(
    &self,
    pFunction: *const DWORD,
    ppShader: *mut *mut IDirect3DVertexShader9
) -> HRESULT
[src]

pub unsafe fn SetVertexShader(
    &self,
    pShader: *mut IDirect3DVertexShader9
) -> HRESULT
[src]

pub unsafe fn GetVertexShader(
    &self,
    ppShader: *mut *mut IDirect3DVertexShader9
) -> HRESULT
[src]

pub unsafe fn SetVertexShaderConstantF(
    &self,
    StartRegister: UINT,
    pConstantData: *const FLOAT,
    Vector4fCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetVertexShaderConstantF(
    &self,
    StartRegister: UINT,
    pConstantData: *mut FLOAT,
    Vector4fCount: UINT
) -> HRESULT
[src]

pub unsafe fn SetVertexShaderConstantI(
    &self,
    StartRegister: UINT,
    pConstantData: *const INT,
    Vector4iCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetVertexShaderConstantI(
    &self,
    StartRegister: UINT,
    pConstantData: *mut INT,
    Vector4iCount: UINT
) -> HRESULT
[src]

pub unsafe fn SetVertexShaderConstantB(
    &self,
    StartRegister: UINT,
    pConstantData: *const BOOL,
    BoolCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetVertexShaderConstantB(
    &self,
    StartRegister: UINT,
    pConstantData: *mut BOOL,
    BoolCount: UINT
) -> HRESULT
[src]

pub unsafe fn SetStreamSource(
    &self,
    StreamNumber: UINT,
    pStreamData: *mut IDirect3DVertexBuffer9,
    OffsetInBytes: UINT,
    Stride: UINT
) -> HRESULT
[src]

pub unsafe fn GetStreamSource(
    &self,
    StreamNumber: UINT,
    ppStreamData: *mut *mut IDirect3DVertexBuffer9,
    pOffsetInBytes: *mut UINT,
    pStride: *mut UINT
) -> HRESULT
[src]

pub unsafe fn SetStreamSourceFreq(
    &self,
    StreamNumber: UINT,
    Setting: UINT
) -> HRESULT
[src]

pub unsafe fn GetStreamSourceFreq(
    &self,
    StreamNumber: UINT,
    pSetting: *mut UINT
) -> HRESULT
[src]

pub unsafe fn SetIndices(
    &self,
    pIndexData: *mut IDirect3DIndexBuffer9
) -> HRESULT
[src]

pub unsafe fn GetIndices(
    &self,
    ppIndexData: *mut *mut IDirect3DIndexBuffer9
) -> HRESULT
[src]

pub unsafe fn CreatePixelShader(
    &self,
    pFunction: *const DWORD,
    ppShader: *mut *mut IDirect3DPixelShader9
) -> HRESULT
[src]

pub unsafe fn SetPixelShader(
    &self,
    pShader: *mut IDirect3DPixelShader9
) -> HRESULT
[src]

pub unsafe fn GetPixelShader(
    &self,
    ppShader: *mut *mut IDirect3DPixelShader9
) -> HRESULT
[src]

pub unsafe fn SetPixelShaderConstantF(
    &self,
    StartRegister: UINT,
    pConstantData: *const FLOAT,
    Vector4fCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetPixelShaderConstantF(
    &self,
    StartRegister: UINT,
    pConstantData: *mut FLOAT,
    Vector4fCount: UINT
) -> HRESULT
[src]

pub unsafe fn SetPixelShaderConstantI(
    &self,
    StartRegister: UINT,
    pConstantData: *const INT,
    Vector4iCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetPixelShaderConstantI(
    &self,
    StartRegister: UINT,
    pConstantData: *mut INT,
    Vector4iCount: UINT
) -> HRESULT
[src]

pub unsafe fn SetPixelShaderConstantB(
    &self,
    StartRegister: UINT,
    pConstantData: *const BOOL,
    BoolCount: UINT
) -> HRESULT
[src]

pub unsafe fn GetPixelShaderConstantB(
    &self,
    StartRegister: UINT,
    pConstantData: *mut BOOL,
    BoolCount: UINT
) -> HRESULT
[src]

pub unsafe fn DrawRectPatch(
    &self,
    Handle: UINT,
    pNumSegs: *const FLOAT,
    pRectPatchInfo: *const D3DRECTPATCH_INFO
) -> HRESULT
[src]

pub unsafe fn DrawTriPatch(
    &self,
    Handle: UINT,
    pNumSegs: *const FLOAT,
    pTriPatchInfo: *const D3DTRIPATCH_INFO
) -> HRESULT
[src]

pub unsafe fn DeletePatch(&self, Handle: UINT) -> HRESULT[src]

pub unsafe fn CreateQuery(
    &self,
    Type: D3DQUERYTYPE,
    ppQuery: *mut *mut IDirect3DQuery9
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IDirect3DDevice9[src]

impl Deref for IDirect3DDevice9[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]