#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 |
Definition at line 39 of file mtlVertexBuffer.h.
- CPUMTLVertexBuffer | (int) | numElements | |
(int) | numVertices | ||
- (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 | ||