Sha256: 02dac1ccc9dbee4ee690f9c7bc023d3f5275166914b7404d85e6e3b149da9629

Contents?: true

Size: 844 Bytes

Versions: 4

Compression:

Stored size: 844 Bytes

Contents

#ifndef SAY_INDEX_BUFFER_SLICE_H_
#define SAY_INDEX_BUFFER_SLICE_H_

#include "say_basic_type.h"

typedef struct {
  size_t buf_id;
  size_t loc;
  size_t size;
} say_index_buffer_slice;

say_index_buffer_slice *say_index_buffer_slice_create(size_t size);
void say_index_buffer_slice_free(say_index_buffer_slice *slice);

void say_index_buffer_slice_recreate(say_index_buffer_slice *slice,
                                     size_t size);

size_t say_index_buffer_slice_get_loc(say_index_buffer_slice *slice);
size_t say_index_buffer_slice_get_size(say_index_buffer_slice *slice);

GLuint *say_index_buffer_slice_get(say_index_buffer_slice *slice, size_t id);

void say_index_buffer_slice_update(say_index_buffer_slice *slice);
void say_index_buffer_slice_bind(say_index_buffer_slice *slice);

void say_index_buffer_slice_clean_up();

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ray-0.2.1 ext/say_index_buffer_slice.h
ray-0.2.0 ext/say_index_buffer_slice.h
ray-0.1.1 ext/say_index_buffer_slice.h
ray-0.1.0 ext/say_index_buffer_slice.h