All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
CPUMTLVertexBuffer Class Reference

#import <mtlVertexBuffer.h>

Instance Methods

(void) - UpdateData
 
(int) - GetNumElements
 
(int) - GetNumVertices
 
(float *) - BindCpuBuffer
 
(id< MTLBuffer >) - BindMTLBuffer
 
(id< MTLBuffer >) - BindVBO
 

Class Methods

(static CPUMTLVertexBuffer *) + Create
 

Protected Member Functions

() - CPUMTLVertexBuffer
 
(bool) - allocate
 

Detailed Description

Definition at line 39 of file mtlVertexBuffer.h.

Constructor & Destructor Documentation

- CPUMTLVertexBuffer (int)  numElements
(int)  numVertices 

Method Documentation

- (bool) allocate (MTLContext *)  context
- (float*) BindCpuBuffer
- (id<MTLBuffer>) BindMTLBuffer (MTLContext *)  context
- (id<MTLBuffer>) BindVBO (MTLContext *)  context

Definition at line 58 of file mtlVertexBuffer.h.

+ (static CPUMTLVertexBuffer*) Create (int)  numElements
(int)  numVertices
(MTLContext *)  context 
- (int) GetNumElements const

Definition at line 45 of file mtlVertexBuffer.h.

- (int) GetNumVertices const

Definition at line 50 of file mtlVertexBuffer.h.

- (void) UpdateData (const float *)  src
(int)  startVertex
(int)  numVertices
(MTLContext *)  context 

The documentation for this class was generated from the following file: