9.1 顺序容器 Sequential Containers vector: 快速随机访问, list: 快速插入/删除 , deque: 双端队列9.2 迭代器和迭代器的范围 迭代器操作: *iter: 返回iter指向元素的引用。 iter->mem: 对i...
分类:
编程语言 时间:
2015-05-28 00:27:10
阅读次数:
152
书中HillsDemo 关键是类的结构,GeometryGenerator的组成和应用;MeshData的构成,来存储Mesh的vertex和index数据;class GeometryGenerator{public: struct Vertex { Vertex(){}...
分类:
其他好文 时间:
2015-05-27 15:43:08
阅读次数:
102
先看BoxDemo的前几节,1.vertex input Layout2.vertexBuffer3.IndexBuffer4.vertexShader5.constant Buffer6.pixelShader7.renderState8.effect1.vertex input LayoutOn...
分类:
其他好文 时间:
2015-05-25 20:20:23
阅读次数:
283
A view engine processes the view content and insert dynamic content into the output sent to a browser, and razor is the name of the MVC Framework view...
分类:
其他好文 时间:
2015-05-24 12:48:50
阅读次数:
240
1. Understanding MVC patternIn high-level terms, MVC pattern means that application will be split into three pieces:(1) Model, which contains the data...
分类:
Web程序 时间:
2015-05-24 11:30:10
阅读次数:
159
CHAPTER 11 强化左右手速度 爬格子:24种指法,四种基本的练习方法 CHAPTER 12 如何调弦(略) CHAPTER 13 和弦 CHAPTER 14 初学者必学的15个和弦 A, Am, A7 B7 C, C7 D, Dm, D7 E, Em, E7 F G, G7 CHAPTER ...
分类:
其他好文 时间:
2015-05-23 12:51:24
阅读次数:
100
如何计算设备的Adapter数?主要参考MSDN: EnumAdapters在d3dApp.cpp文件InitDirect3D()接口中: HR(dxgiFactory->CreateSwapChain(md3dDevice, &sd, &mSwapChain)); //begin 检测...
分类:
其他好文 时间:
2015-05-23 06:29:54
阅读次数:
103
4.1.3 纹理数据格式 2D纹理即一个数据矩阵,每个元素可以是color值,也可是float3向量值 格式例子:DXGI_FORMAT_R32G32B32_FLOAT(每个纹素为3个32位的float型,可存储3D vector) DXGI_FORMAT_R8G8B...
分类:
其他好文 时间:
2015-05-23 06:27:58
阅读次数:
150
看龙书DX11,首先是第四章,本文对GameTime类进行解释问:此类主要实现了什么功能?答:Returns the total time elapsed since Reset() was called, NOT counting anytime when the clock is stopped...
分类:
其他好文 时间:
2015-05-23 06:26:15
阅读次数:
156