previous |  up  | next
 

Vertex Buffers   

Author:  TheTutor

Graphical data is sent to the video card as a collection of triangles.  Each triangle is made up three points commonly referred to as vertices.  To make the bundling of vertices easier and maximize the speed of sending the vertex data from the CPU to the GPU, Direct3D uses a propriety vertex format.  The vertex buffer tutorial shows how to use Direct3D vertex buffers to store and render your vertices.

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

IDirect3D9::  CreateDevice(), Release()

IDirect3DDevice9::  BeginScene(), EndScene(), CreateVertexBuffer(), SetFVF(), SetTexture(), SetSamplerState(), SetStreamSource(), DrawPrimitive(), Clear(), Release()

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


purchase full version
Access EXE

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials