#include <dx9_wrap.h>
Collaboration diagram for D3D9::VertexBuffer:

Public Member Functions | |
| VertexBuffer (Device &n_device, int vertex_size, int vertex_count, DWORD vertex_caps=0) | |
| Create vertex buffer resource. | |
| int | get_capacity () const |
| Retrieve how many vertices this vertex buffer can hold (capacity). | |
| int | get_vertex_size () const |
| Retrieve size (in bytes) of single vertex instance stored in the buffer. | |
| int | get_vertex_caps () const |
| Retrieve vertex "caps" flags. | |
| void | select (int stream_index=0) |
| Select this vertex buffer as active for device input stream "stream_index" on attached render device. | |
|
||||||||||||||||||||
|
Create vertex buffer resource.
|
|
|
Retrieve how many vertices this vertex buffer can hold (capacity).
|
|
|
Retrieve size (in bytes) of single vertex instance stored in the buffer.
|
|
|
Retrieve vertex "caps" flags. This is usually 0, but can be value of legacy "FVF" bit mask (see Direct3D v9 documentation). |
|
|
Select this vertex buffer as active for device input stream "stream_index" on attached render device. Default stream index (when not specified) is 0. |
1.3.6