亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? d3dxcore.h

?? directX8.1版本。的頭文件和庫 雖然現在directX9.0版本
?? H
?? 第 1 頁 / 共 4 頁
字號:
//     [in]  HRESULT hr: The error code to be deciphered.
//     [in]  DWORD strLength: Length of the string passed in.
//     [out] LPSTR pStr:  The string output. This string of appropriate
//                       size needs to be passed in.
//-------------------------------------------------------------------------
void WINAPI
    D3DXGetErrorString(HRESULT hr, 
                       DWORD   strLength, 
                       LPSTR   pStr);

//-------------------------------------------------------------------------
// D3DXMakeDDPixelFormat: Fills in a DDPIXELFORMAT structure based on the 
// ---------------------   D3DX surface format requested.
//
// Params:
//     [in]  D3DX_SURFACEFORMAT d3dxFormat: Surface format.
//     [out] DDPIXELFORMAT*     pddpf:      Pixel format matching the given
//                                          surface format.
//-------------------------------------------------------------------------
HRESULT WINAPI
    D3DXMakeDDPixelFormat(D3DX_SURFACEFORMAT d3dxFormat, 
                          DDPIXELFORMAT*     pddpf);

//-------------------------------------------------------------------------
// D3DXMakeSurfaceFormat: Determines the surface format corresponding to 
// ---------------------  a given DDPIXELFORMAT. 
//
// Params:
//     [in]  DDPIXELFORMAT* pddpf: Pixel format.
// Return Value:
//     D3DX_SURFACEFORMAT: Surface format matching the given pixel format.
//                         D3DX_SF_UNKNOWN if the format is not supported
//-------------------------------------------------------------------------
D3DX_SURFACEFORMAT WINAPI
    D3DXMakeSurfaceFormat(DDPIXELFORMAT* pddpf);

#ifdef __cplusplus
}
#endif //__cplusplus    

///////////////////////////////////////////////////////////////////////////
// Interfaces:
///////////////////////////////////////////////////////////////////////////

//-------------------------------------------------------------------------
// ID3DXContext interface: 
//
// This encapsulates all the stuff that the app might 
// want to do at initialization time and any global control over d3d and 
// ddraw.
//-------------------------------------------------------------------------


DECLARE_INTERFACE_(ID3DXContext, IUnknown)
{
    //
    // IUnknown methods 
    //
    STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID* ppvObj) PURE;
    STDMETHOD_(ULONG,AddRef)(THIS) PURE;
    STDMETHOD_(ULONG,Release)(THIS) PURE;

    // Get the DDraw and Direct3D objects to call DirectDraw or
    // Direct3D Immediate Mode functions. 
    // If the objects don't exist (because they have not
    // been created for some reason) NULL is returned.
    // All the objects returned in the following Get* functions
    // are addref'ed. It is the application's responsibility to
    // release them when no longer needed.
    STDMETHOD_(LPDIRECTDRAW7,GetDD)(THIS) PURE;
    STDMETHOD_(LPDIRECT3D7,GetD3D)(THIS) PURE;
    STDMETHOD_(LPDIRECT3DDEVICE7,GetD3DDevice)(THIS) PURE;

    // Get the various buffers that get created at the init time
    // These are addref'ed as well. It is the application's responsibility
    // to release them before the app quits or when it needs a resize.
    STDMETHOD_(LPDIRECTDRAWSURFACE7,GetPrimary)(THIS) PURE;
    STDMETHOD_(LPDIRECTDRAWSURFACE7,GetZBuffer)(THIS) PURE;
    STDMETHOD_(LPDIRECTDRAWSURFACE7,GetBackBuffer)(THIS_ DWORD which) PURE;

    // Get the associated window handles 
    STDMETHOD_(HWND,GetWindow)(THIS) PURE;
    STDMETHOD_(HWND,GetFocusWindow)(THIS) PURE;

    // 
    // Various Get methods, in case the user had specified default
    // parameters
    //
    STDMETHOD(GetDeviceIndex)(THIS_ 
                              LPDWORD pDeviceIndex, 
                              LPDWORD pHwLevel) PURE;

    STDMETHOD_(DWORD, GetNumBackBuffers)(THIS) PURE;

    STDMETHOD(GetNumBits)(THIS_
                          LPDWORD pColorBits, 
                          LPDWORD pDepthBits,
                          LPDWORD pAlphaBits, 
                          LPDWORD pStencilBits) PURE;

    STDMETHOD(GetBufferSize)(THIS_ 
                             LPDWORD pWidth, 
                             LPDWORD pHeight) PURE;

    // Get the flags that were used to create this context
    STDMETHOD_(DWORD, GetCreationFlags)(THIS) PURE;
    STDMETHOD_(DWORD, GetRefreshRate)(THIS) PURE;
    
    // Restoring surfaces in case stuff is lost
    STDMETHOD(RestoreSurfaces)(THIS) PURE;
    
    // Resize all the buffers to the new width and height
    STDMETHOD(Resize)(THIS_ DWORD width, DWORD height) PURE;

    // Update the frame using a flip or a blit,
    // If the D3DX_UPDATE_NOVSYNC flag is set, blit is used if the 
    // driver cannot flip without waiting for vsync in full-screen mode.
    STDMETHOD(UpdateFrame)(THIS_ DWORD flags) PURE;

    // Render a string at the specified coordinates, with the specified 
    // colour. This is only provided as a convenience for 
    // debugging/information during development.
    // topLeftX and topLeftY represent the location of the top left corner
    // of the string, on the render target.  
    // The coordinate and color parameters each have a range of 0.0-1.0
    STDMETHOD(DrawDebugText)(THIS_
                             float topLeftX, 
                             float topLeftY,
                             D3DCOLOR color,
                             LPSTR pString) PURE;

    // Clears to the current viewport
    // The following are the valid flags:
    // D3DCLEAR_TARGET  (to clear the render target )
    // D3DCLEAR_ZBUFFER (to clear the depth-buffer )
    // D3DCLEAR_STENCIL (to clear the stencil-buffer )
    STDMETHOD(Clear)(THIS_ DWORD ClearFlags) PURE;

    STDMETHOD(SetClearColor)(THIS_ D3DCOLOR color ) PURE;
    STDMETHOD(SetClearDepth)(THIS_ float z) PURE;
    STDMETHOD(SetClearStencil)(THIS_ DWORD stencil) PURE;
};


//-------------------------------------------------------------------------
// Flags for Update member function:
//

// Flag to indicate that blit should be used instead of a flip
// for full-screen rendering.
#define D3DX_UPDATE_NOVSYNC (1<<0)

///////////////////////////////////////////////////////////////////////////
// Texturing APIs:
///////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
extern "C" {
#endif //__cplusplus
    
//-------------------------------------------------------------------------
// D3DXCheckTextureRequirements: Return information about texture creation 
// ----------------------------  (used by CreateTexture, CreateTextureFromFile
//                                and CreateCubeMapTexture)
//
// Parameters:
//
//  pd3dDevice
//      The D3D device with which the texture is going to be used.
//  pFlags   
//      allows specification of D3DX_TEXTURE_NOMIPMAP
//      D3DX_TEXTURE_NOMIPMAP may be returned in the case where mipmap creation 
//      is not supported.
//  pWidth
//      width in pixels or NULL 
//      returns corrected width
//  pHeight       
//      height in pixels or NULL
//      returns corrected height
//  pPixelFormat
//      surface format 
//      returns best match to input format
//
//  Notes: 1. Unless the flags is set to specifically prevent creating 
//            mipmaps, mipmaps are generated all the way till 1x1 surface.
//         2. width, height and pixelformat are altered based on available 
//            hardware. For example:
//              a. Texture dimensions may be required to be powers of 2
//              b. We may require width == height for some devices
//              c. If PixelFormat is unavailable, a best fit is made
//-------------------------------------------------------------------------
HRESULT WINAPI 
    D3DXCheckTextureRequirements( LPDIRECT3DDEVICE7     pd3dDevice,
                                  LPDWORD               pFlags, 
                                  LPDWORD               pWidth,  
                                  LPDWORD               pHeight,  
                                  D3DX_SURFACEFORMAT*   pPixelFormat);

//-------------------------------------------------------------------------
// D3DXCreateTexture: Create an empty texture object
// -----------------
//
// Parameters:
//
//  pd3dDevice
//      The D3D device with which the texture is going to be used.
//  pFlags   
//      allows specification of D3DX_TEXTURE_NOMIPMAP
//      D3DX_TEXTURE_NOMIPMAP may be returned in the case where mipmap creation 
//      is not supported. Additionally, D3DX_TEXTURE_STAGE<n> can be specified
//      to indicate which texture stage the texture is for e.g. 
//      D3D_TEXTURE_STAGE1 indicates that the texture is for use with texture 
//      stage one. Stage Zero is the default if no TEXTURE_STAGE flags are
//      set.
//  pWidth
//      width in pixels; 0 or NULL is unacceptable
//      returns corrected width
//  pHeight       
//      height in pixels; 0 or NULL is unacceptable
//      returns corrected height
//  pPixelFormat
//      surface format. D3DX_DEFAULT is unacceptable.
//      returns actual format that was used
//  pDDPal
//      DDraw palette that is set (if present) on paletted surfaces.
//      It is ignored even if it is set, for non-paletted surfaces.
//  ppDDSurf
//      The ddraw surface that will be created
//  pNumMipMaps
//      the number of mipmaps actually generated
//
//  Notes: See notes for D3DXCheckTextureRequirements. 
//-------------------------------------------------------------------------
HRESULT WINAPI 
    D3DXCreateTexture( LPDIRECT3DDEVICE7     pd3dDevice,
                       LPDWORD               pFlags, 
                       LPDWORD               pWidth,  
                       LPDWORD               pHeight,  
                       D3DX_SURFACEFORMAT*   pPixelFormat,
                       LPDIRECTDRAWPALETTE   pDDPal,
                       LPDIRECTDRAWSURFACE7* ppDDSurf,
                       LPDWORD               pNumMipMaps);

//-------------------------------------------------------------------------
// D3DXCreateCubeMapTexture: Create blank cube-map texture
// ------------------------
//
// Parameters:
//
//  pd3dDevice
//      The D3D device with which the texture is going to be used.
//  pFlags   
//      allows specification of D3DX_TEXTURE_NOMIPMAP
//      D3DX_TEXTURE_NOMIPMAP may be returned in the case where mipmap creation 
//      is not supported. Additionally, D3DX_TEXTURE_STAGE<n> can be specified
//      to indicate which texture stage the texture is for e.g. 
//      D3D_TEXTURE_STAGE1 indicates that the texture is for use with texture 
//      stage one. Stage Zero is the default if no TEXTURE_STAGE flags are

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区精品| 欧美videofree性高清杂交| 久久成人精品无人区| 亚洲欧美国产三级| 国产精品婷婷午夜在线观看| 久久精品人人做人人爽97| 久久男人中文字幕资源站| 亚洲精品一区二区三区在线观看| 91精品在线麻豆| 欧美v日韩v国产v| 亚洲精品一区二区三区香蕉| 欧美精品一区二区久久婷婷| 久久精品一区蜜桃臀影院| 欧美国产精品专区| 亚洲三级在线免费观看| 一区二区视频在线| 日韩国产精品大片| 国产真实精品久久二三区| 国产白丝精品91爽爽久久| 99久久精品一区二区| 一本久久精品一区二区| 欧美高清精品3d| 久久久久国产精品麻豆| 亚洲欧美综合色| 婷婷久久综合九色国产成人| 精品一区二区三区久久| 成人的网站免费观看| 色爱区综合激月婷婷| 777亚洲妇女| 久久久一区二区三区| 亚洲美女一区二区三区| 三级影片在线观看欧美日韩一区二区 | 一个色综合网站| 日韩电影在线观看网站| 国产91精品一区二区麻豆亚洲| 午夜精品一区二区三区三上悠亚| www成人在线观看| 久久午夜老司机| 国产精品二三区| 美女任你摸久久| 99久久综合精品| 欧美精品高清视频| 亚洲精品在线观| 一区二区激情小说| 国产成人综合自拍| 91精品欧美一区二区三区综合在| 中文成人av在线| 美女在线观看视频一区二区| 亚洲人成亚洲人成在线观看图片 | 亚洲欧洲av一区二区三区久久| 午夜欧美电影在线观看| 国产激情一区二区三区| 国产福利一区二区三区| 在线成人午夜影院| 日韩毛片在线免费观看| 亚洲国产日韩综合久久精品| 欧美一级高清片| 亚洲日本青草视频在线怡红院| 麻豆国产精品一区二区三区| 欧美三电影在线| 中文字幕字幕中文在线中不卡视频| 麻豆精品一区二区三区| 在线成人av影院| 丁香六月综合激情| 91女神在线视频| 国产午夜久久久久| 毛片一区二区三区| 99热精品一区二区| 久久综合中文字幕| 久久国产尿小便嘘嘘尿| 欧美日韩国产一区二区三区地区| 中文字幕精品在线不卡| 国产精品一卡二卡| 日韩欧美亚洲国产另类| 亚洲成人资源在线| 欧美日韩一区二区三区免费看| 亚洲视频网在线直播| 不卡的电视剧免费网站有什么| 久久久国产精品麻豆| 国产精品77777| 欧美激情一区二区三区全黄| 成人妖精视频yjsp地址| 国产精品入口麻豆原神| 成人中文字幕在线| 亚洲欧美偷拍三级| 欧美午夜在线一二页| 午夜精彩视频在线观看不卡| 欧美精品免费视频| 青青草97国产精品免费观看无弹窗版| 欧美一区二区三区思思人 | 成人国产精品免费观看动漫| 久久久久久久精| 国产成a人无v码亚洲福利| 亚洲色欲色欲www| 在线观看视频一区| 日韩电影在线一区| 久久青草欧美一区二区三区| 丁香天五香天堂综合| 国产精品久久免费看| 在线一区二区三区做爰视频网站| 亚洲va中文字幕| 国产午夜精品久久久久久久| 91亚洲精品乱码久久久久久蜜桃| 亚洲国产日韩在线一区模特| 欧美一级欧美三级在线观看| 国产一区二区在线观看免费| 亚洲免费观看视频| 99久久99久久综合| 热久久免费视频| 久久精品人人做人人爽人人| 在线国产电影不卡| 麻豆精品在线看| 国产精品传媒入口麻豆| 欧美一区二区三区白人| 成人午夜激情视频| 免费在线视频一区| 亚洲男人的天堂av| 精品成人一区二区三区四区| 99re热这里只有精品免费视频| 美女国产一区二区三区| 综合分类小说区另类春色亚洲小说欧美| 亚洲女同一区二区| 欧美在线观看视频一区二区三区| 日韩中文字幕1| 亚洲精品久久久久久国产精华液| 精品免费一区二区三区| 在线观看视频一区二区| 国产精品 日产精品 欧美精品| 日韩精品久久理论片| 亚洲四区在线观看| 国产偷国产偷亚洲高清人白洁| 欧美美女黄视频| av亚洲精华国产精华精华| 国产一区二区三区av电影| 亚洲v精品v日韩v欧美v专区 | 一区二区三区电影在线播| 久久青草欧美一区二区三区| 91精品国产一区二区三区| 一本到不卡免费一区二区| 国产精品一区二区三区乱码| 日韩成人精品在线观看| 亚洲午夜久久久久| 国产精品五月天| 欧美精品一区二区三区一线天视频| 欧美综合亚洲图片综合区| 成人不卡免费av| 国产盗摄女厕一区二区三区| 美女网站在线免费欧美精品| 一区二区三区不卡在线观看| 国产日韩欧美综合在线| 久久精品视频一区| 国产午夜亚洲精品午夜鲁丝片 | 色综合久久66| 99国产欧美久久久精品| 色综合色狠狠综合色| 91在线播放网址| 91国偷自产一区二区开放时间| 91麻豆swag| 91国在线观看| 91精品国产福利| 欧美一区二区观看视频| 欧美精品一区二区久久久| www国产亚洲精品久久麻豆| 精品国产乱码久久久久久图片| 欧美r级在线观看| 26uuu成人网一区二区三区| 国产欧美精品区一区二区三区| 国产无人区一区二区三区| 国产精品网站在线观看| 亚洲在线中文字幕| 天堂资源在线中文精品| 精品无人区卡一卡二卡三乱码免费卡 | 91亚洲永久精品| 欧美天堂一区二区三区| 91精品国产综合久久精品麻豆| 日韩一二在线观看| 欧美激情在线免费观看| 一区二区三区在线观看欧美| 免费一级欧美片在线观看| 国产一区二区三区在线观看精品 | 亚洲色图在线看| 亚洲一区在线观看网站| 热久久免费视频| 丁香婷婷综合网| 欧美色精品在线视频| 777亚洲妇女| 久久久久九九视频| 亚洲男人的天堂在线观看| 日日夜夜免费精品视频| 白白色亚洲国产精品| 欧美日本一区二区| 日韩一区二区中文字幕| 中文字幕一区二区日韩精品绯色| 亚洲成人中文在线| 成人av网站大全| 日韩一二在线观看| 一区二区三区在线视频免费观看| 久久精品免费观看| 色94色欧美sute亚洲线路二| 久久久久久久久久久久电影|