30 #define GPU_TRACK_INDEX_RANGE 1
95 inline void squeeze_indices_short(
uint min_idx,
uint max_idx);
106 return reinterpret_cast<IndexBuf *
>(indexbuf);
struct GPUIndexBuf GPUIndexBuf
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
SIMD_FORCE_INLINE btScalar length(const btQuaternion &q)
Return the length of a quaternion.
void init(uint indices_len, uint32_t *indices)
uint32_t index_len_get(void) const
GPUIndexBufType index_type_
void init_subrange(IndexBuf *elem_src, uint start, uint length)
static GPUContext * wrap(Context *ctx)
static Context * unwrap(GPUContext *ctx)
static int indices_per_primitive(GPUPrimType prim_type)
static size_t to_bytesize(GPUIndexBufType type)