Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Index Buffers


 E-mail this product to a friend

Author:  TheTutor

Graphical data is sent to the video card as a collection of triangles with each triangle consisting of vertices.  An index buffers is a collection of indices into a batch of vertices that represent how to triangulate the vertices.  Using index buffers reduces the size of data that has to be sent to the video card, therefore, increasing overall rendering performance.   The index buffer tutorial shows how to use Direct3D index buffer interface.

Functions/Methods Used:  Direct3DCreate9(), D3DXCreateTextureFromFile(), memcpy(), assert()

IDirect3D9::  CreateDevice(), Release()

IDirect3DDevice9::  BeginScene(), EndScene(), CreateVertexBuffer(), CreateIndexBuffer(), SetFVF(), SetTexture(), SetSamplerState(), SetStreamSource(), SetIndices(), DrawIndexedPrimitive(), Clear(), Release()

IDirect3DVertexBuffer9::  Lock(), Unlock(), Release()

IDirect3DIndexBuffer9::  Lock(), Unlock(), Release()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums