|
Eidolon
|
See CallbackVertexBuffer, the same concept applies here with a buffer accepting functions defined in Cython to adapt Python code. More...
#include <RenderTypes.h>


Public Types | |
| typedef sval(* | wfunc) (Ctx, int) |
| typedef sval(* | ifunc) (Ctx, int, int) |
Public Member Functions | |
| CallbackIndexBuffer (Ctx context, sval numindices, wfunc widthfunc, ifunc indexfunc) | |
| virtual sval | numIndices () const |
| Returns the number of index sets. More... | |
| virtual sval | indexWidth (int i) const |
| Returns the width of index set i, i<numIndices(). All index sets for now are assumed to be the same width. More... | |
| virtual sval | getIndex (int i, int w) const |
| Returns the w'th value of index set i. More... | |
Public Member Functions inherited from IndexBuffer | |
| virtual | ~IndexBuffer () |
Public Attributes | |
| wfunc | widthfunc |
| ifunc | indexfunc |
| sval | numindices |
| Ctx | context |
See CallbackVertexBuffer, the same concept applies here with a buffer accepting functions defined in Cython to adapt Python code.
| typedef sval(* ifunc) (Ctx, int, int) |
| typedef sval(* wfunc) (Ctx, int) |
|
inline |
|
inlinevirtual |
Returns the w'th value of index set i.
Reimplemented from IndexBuffer.
|
inlinevirtual |
Returns the width of index set i, i<numIndices(). All index sets for now are assumed to be the same width.
Reimplemented from IndexBuffer.
|
inlinevirtual |
Returns the number of index sets.
Reimplemented from IndexBuffer.
| Ctx context |
| ifunc indexfunc |
| sval numindices |
| wfunc widthfunc |
1.8.13