长风破浪会有时,直挂云帆济沧海

Dream Word

博客园 首页 新随笔 联系 订阅 管理

2017年6月12日 #

摘要: /////////////////////////////////shader source/////////////////////////////////Texture2D colorMap : register( t0 );SamplerState colorSampler : registe 阅读全文
posted @ 2017-06-12 21:28 长风II 阅读(257) 评论(0) 推荐(0) 编辑

摘要: #include<dinput.h> LPDIRECTINPUT8 directInput_;LPDIRECTINPUTDEVICE8 keyboardDevice_;char keyboardKeys_[256];char prevKeyboardKeys_[256]; ///////////// 阅读全文
posted @ 2017-06-12 21:16 长风II 阅读(277) 评论(0) 推荐(0) 编辑

摘要: ///////////////Begin Shader Source File///////////////////// cbuffer cbChangesPerFrame : register( b0 ){ matrix mvp_;}; Texture2D colorMap_ : register 阅读全文
posted @ 2017-06-12 21:11 长风II 阅读(305) 评论(0) 推荐(0) 编辑

摘要: 记录最近遇到的问题: 1:崩溃问题 由于高频率获取DC异常导致。 void D3D11Texture2D::Copy2Window(void* srcdc, uint32_t left, uint32_t top, uint32_t dw, uint32_t dh) { IDXGISurface1* 阅读全文
posted @ 2017-06-12 20:32 长风II 阅读(541) 评论(0) 推荐(0) 编辑