Back to class index
| Graphics::ApplyAndRenderSyntaxvoid Graphics::ApplyAndRender(VertexBuffer *vb, const IndexBuffer *ib, int numPrimitives=-1, int startIndexOffset=0, int startVertexOffset=0);Activates the given vertex and index buffers to the device, and then submits one render operation using these buffers. ParametersintnumPrimitivesThe number of primitives (points, lines, triangles) to draw. -1 draws the whole buffer. Syntaxvoid Graphics::ApplyAndRender(VertexBuffer *vb, int numPrimitives=-1, int startVertexOffset=0);Activates the given vertex buffer as the next one to be drawn and renders it (nonindiced). Leave a Comment |