Blender  V3.3
Public Attributes | List of all members
OpenSubdiv_Buffer Struct Reference

#include <opensubdiv_evaluator_capi.h>

Public Attributes

void(* bind_gpu )(const struct OpenSubdiv_Buffer *buffer)
 
void *(* alloc )(const struct OpenSubdiv_Buffer *buffer, const unsigned int size)
 
void(* device_alloc )(const struct OpenSubdiv_Buffer *buffer, const unsigned int size)
 
void(* device_update )(const struct OpenSubdiv_Buffer *buffer, unsigned int start, unsigned int len, const void *data)
 
void(* wrap_device_handle )(const struct OpenSubdiv_Buffer *buffer, uint64_t device_ptr)
 
int buffer_offset
 
voiddata
 

Detailed Description

Definition at line 41 of file opensubdiv_evaluator_capi.h.

Member Data Documentation

◆ alloc

void*(* OpenSubdiv_Buffer::alloc) (const struct OpenSubdiv_Buffer *buffer, const unsigned int size)

◆ bind_gpu

void(* OpenSubdiv_Buffer::bind_gpu) (const struct OpenSubdiv_Buffer *buffer)

Definition at line 43 of file opensubdiv_evaluator_capi.h.

Referenced by opensubdiv_gpu_buffer_init().

◆ buffer_offset

int OpenSubdiv_Buffer::buffer_offset

◆ data

void* OpenSubdiv_Buffer::data

◆ device_alloc

void(* OpenSubdiv_Buffer::device_alloc) (const struct OpenSubdiv_Buffer *buffer, const unsigned int size)

Definition at line 50 of file opensubdiv_evaluator_capi.h.

Referenced by opensubdiv_gpu_buffer_init().

◆ device_update

void(* OpenSubdiv_Buffer::device_update) (const struct OpenSubdiv_Buffer *buffer, unsigned int start, unsigned int len, const void *data)

Definition at line 53 of file opensubdiv_evaluator_capi.h.

Referenced by opensubdiv_gpu_buffer_init().

◆ wrap_device_handle

void(* OpenSubdiv_Buffer::wrap_device_handle) (const struct OpenSubdiv_Buffer *buffer, uint64_t device_ptr)

The documentation for this struct was generated from the following file: