DirectX9 IDirect3DDevice9::DrawIndexedPrimitive
来源:互联网 发布:php 大端小端 转换 编辑:程序博客网 时间:2024/06/04 20:51
IDirect3DDevice9::DrawIndexedPrimitive
This method is used to draw primitives using index info.
HRESULT IDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE Type,
INT BaseVertexIndex,
UINT MinIndex,
UINT NumVertices,
UINT StartIndex,
UINT PrimitiveCount
);
Type—The type of primitive that we are drawing. For instance, we can draw points and lines in addition to triangles. Since we are using a triangle, useD3DPT_TRIANGLELISTfor this parameter.
BaseVertexIndex—A base number to be added to the indices used in this call. See the following note.
MinIndex—The minimum index value that will be referenced
NumVertices—The number of vertices that will be referenced in this call
StartIndex—Index to an element in the index buffer that marks the starting point from which to begin reading indices
PrimitiveCount—The number of primitives to draw
Example:
_device->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 0, 8, 0, 12);
- DirectX9 IDirect3DDevice9::DrawIndexedPrimitive
- DirectX9 IDirect3DDevice9::DrawPrimitive
- DirectX9函数:IDirect3DDevice9::Clear 方法
- DrawIndexedPrimitive()
- IDirect3DDevice9::SetTextureStageState
- IDirect3DDevice9::GetRenderTargetData
- IDirect3DDevice9::StretchRect
- IDirect3DDevice9::Clear
- IDirect3DDevice9::DrawPrimitive
- IDirect3DDevice9::SetTextureStageState
- IDirect3DDevice9::SetClipPlane
- IDirect3DDevice9::Clear
- IDirect3DDevice9::CreateTexture
- IDirect3DDevice9::SetClipPlane
- DrawIndexedPrimitive函数一目了然
- IDirect3DDevice9::SetTexture 方法
- 简单说说IDirect3DDevice9::SetTextureStageState
- Hook IDirect3DDevice9::Present
- linux同步ntpd服务器时间方式
- C++ 无法解析的外部符号
- 一张图搞清楚中国茶叶分类
- 74hc165串口转并口输入
- 软件生命周期
- DirectX9 IDirect3DDevice9::DrawIndexedPrimitive
- 新书上市《深入解析Android 5.0系统》
- HighChats 修改右下角版权标记
- 设计模式的六大原则
- 图片显示 类
- 架构师成长历程
- CUDA和OpenCL
- java.io包的FileFilter和FileNameFilter的区别
- android:windowSoftInputMode