HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rtcore_buffer.h File Reference
#include "rtcore_device.h"
+ Include dependency graph for rtcore_buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct RTCBufferTy * RTCBuffer
 

Enumerations

enum  RTCBufferType {
  RTC_BUFFER_TYPE_INDEX = 0, RTC_BUFFER_TYPE_VERTEX = 1, RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE = 2, RTC_BUFFER_TYPE_NORMAL = 3,
  RTC_BUFFER_TYPE_TANGENT = 4, RTC_BUFFER_TYPE_NORMAL_DERIVATIVE = 5, RTC_BUFFER_TYPE_GRID = 8, RTC_BUFFER_TYPE_FACE = 16,
  RTC_BUFFER_TYPE_LEVEL = 17, RTC_BUFFER_TYPE_EDGE_CREASE_INDEX = 18, RTC_BUFFER_TYPE_EDGE_CREASE_WEIGHT = 19, RTC_BUFFER_TYPE_VERTEX_CREASE_INDEX = 20,
  RTC_BUFFER_TYPE_VERTEX_CREASE_WEIGHT = 21, RTC_BUFFER_TYPE_HOLE = 22, RTC_BUFFER_TYPE_FLAGS = 32
}
 

Functions

RTC_API RTCBuffer rtcNewBuffer (RTCDevice device, size_t byteSize)
 
RTC_API RTCBuffer rtcNewSharedBuffer (RTCDevice device, void *ptr, size_t byteSize)
 
RTC_API voidrtcGetBufferData (RTCBuffer buffer)
 
RTC_API void rtcRetainBuffer (RTCBuffer buffer)
 
RTC_API void rtcReleaseBuffer (RTCBuffer buffer)
 

Typedef Documentation

typedef struct RTCBufferTy* RTCBuffer

Definition at line 34 of file rtcore_buffer.h.

Enumeration Type Documentation

Enumerator
RTC_BUFFER_TYPE_INDEX 
RTC_BUFFER_TYPE_VERTEX 
RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE 
RTC_BUFFER_TYPE_NORMAL 
RTC_BUFFER_TYPE_TANGENT 
RTC_BUFFER_TYPE_NORMAL_DERIVATIVE 
RTC_BUFFER_TYPE_GRID 
RTC_BUFFER_TYPE_FACE 
RTC_BUFFER_TYPE_LEVEL 
RTC_BUFFER_TYPE_EDGE_CREASE_INDEX 
RTC_BUFFER_TYPE_EDGE_CREASE_WEIGHT 
RTC_BUFFER_TYPE_VERTEX_CREASE_INDEX 
RTC_BUFFER_TYPE_VERTEX_CREASE_WEIGHT 
RTC_BUFFER_TYPE_HOLE 
RTC_BUFFER_TYPE_FLAGS 

Definition at line 11 of file rtcore_buffer.h.

Function Documentation

RTC_API void* rtcGetBufferData ( RTCBuffer  buffer)
RTC_API RTCBuffer rtcNewBuffer ( RTCDevice  device,
size_t  byteSize 
)
RTC_API RTCBuffer rtcNewSharedBuffer ( RTCDevice  device,
void ptr,
size_t  byteSize 
)
RTC_API void rtcReleaseBuffer ( RTCBuffer  buffer)
RTC_API void rtcRetainBuffer ( RTCBuffer  buffer)