|
| RE_OGLElementBuffer (int num=0, int cap=-1) |
|
| RE_OGLBuffer (RE_BufferType type, int num_elements, int capacity=-1) |
|
void | setBufferType (RE_BufferType type) |
|
void | setAttributeName (const char *attrib) |
|
bool | setFormat (RE_GPUType type, int vectorsize) |
|
void | setNormalizedFormat (bool normalize=true) |
|
bool | setLength (int len) |
|
bool | setCapacity (int size) |
|
void | setInstanceStride (int nprim) |
|
void | setUsage (RE_BufferUsageHint hint) |
|
void | setPersistentBuffer (RE_PersistentBufferMode mode) |
|
void | setSubComponentIndex (int index) |
|
void | setLabel (RE_Render *, const char *) |
|
bool | setData (RE_Render *r, const void *data, int offset=0, int sublen=0) |
|
bool | replaceData (RE_Render *r, const void *subdata, int suboffset, int sublength) |
|
bool | getData (RE_Render *, void *data, int offset=0, int sublen=0) const |
|
void | orphan (RE_Render *r) |
|
virtual bool | enable (RE_Render *r, unsigned int stride=0, bool geo_object=false) |
|
virtual bool | disable (RE_Render *r) |
|
bool | rebindAttrib (RE_Render *r, int location, int stride=-1, RE_GPUType *type=nullptr) |
|
bool | unbindAttrib (RE_Render *r) |
|
bool | bindBuffer (RE_Render *r, RE_BufferBinding point, int bind_index=0) |
|
bool | unbindBuffer (RE_Render *r, RE_BufferBinding point, int bind_index=0) |
|
virtual void | draw (RE_Render *r, RE_PrimType prim, unsigned int stride, int num_instanced, int vertices_per_patch) |
|
virtual void | drawRange (RE_Render *r, RE_PrimType prim, int start, int num, int num_instanced, int vertices_per_patch) |
|
virtual void | drawElements (RE_Render *r, RE_PrimType prim, RE_OGLBuffer *index_array, int offset, int num, int num_instanced, int vertices_per_patch) |
|
void * | map (RE_Render *r, RE_BufferAccess access=RE_BUFFER_WRITE_ONLY) |
|
void * | mapRange (RE_Render *r, int offset, int length, RE_BufferAccess access=RE_BUFFER_WRITE_ONLY) |
|
void | unmap (RE_Render *r) |
|
void * | getPersistentMap () const |
|
int64 | getSizeBytes () const |
| Graphics memory usage estimate. More...
|
|
int64 | getMemoryUsage (bool inclusive) const override |
| Returns the amount of main memory owned by this RE_OGLBuffer. More...
|
|
RE_BufferType | getBufferType () const |
|
RE_GPUType | getDataType () const |
|
int | getVectorSize () const |
|
int | getSubComponentIndex () const |
|
int | getLength () const |
|
int | getCapacity () const |
|
int | getInstanceStride () const |
|
const char * | getAttributeName () const |
|
bool | isBound () const |
|
bool | isMapped () const |
|
bool | isEnabled () const |
|
RE_BufferAccess | getMapAccess () const |
|
int | getID () const |
|
uint32 | getBufferOffset () const |
|
uint32 | getBufferSize () const |
|
bool | isBufferShared () const |
|
int | getUniqueID () const |
|
bool | setEnabled (bool enabled) |
|
void | incref () |
|
void | decref () |
|
int | getRefCount () const |
|
void | setTBO (RE_OGLTexture *tbo) |
|
RE_OGLTexture * | getTBO () const |
|
void | allowSharedBuffer (bool b=true) |
|
void | commitMappedData (RE_Render *r) |
|
void | markAsUsed () |
|
void | markAsUnused () |
|
bool | isUsed () const |
|
int | getUseCount () const |
|
| RE_CachedObjectBase () |
|
virtual | ~RE_CachedObjectBase () |
|
void | setVersion (RE_CacheVersion v) |
|
RE_CacheVersion | getVersion () const |
|
void | setExtraData (RE_CachedExtraData *data) |
|
const RE_CachedExtraDataHandle & | getExtraData () const |
|
void | setCacheTag (RE_CacheTagHandle h) |
|
void | resetCacheTag () |
|
void | setInCache (bool c) |
|
bool | isInCache () const |
|
Definition at line 444 of file RE_OGLBuffer.h.