mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-29 07:07:14 +01:00
19 lines
335 B
C++
19 lines
335 B
C++
|
|
||
|
#ifndef B3_BUFFER_INFO_CL_H
|
||
|
#define B3_BUFFER_INFO_CL_H
|
||
|
|
||
|
#include "b3OpenCLArray.h"
|
||
|
|
||
|
struct b3BufferInfoCL
|
||
|
{
|
||
|
//b3BufferInfoCL(){}
|
||
|
|
||
|
// template<typename T>
|
||
|
b3BufferInfoCL(cl_mem buff, bool isReadOnly = false) : m_clBuffer(buff), m_isReadOnly(isReadOnly) {}
|
||
|
|
||
|
cl_mem m_clBuffer;
|
||
|
bool m_isReadOnly;
|
||
|
};
|
||
|
|
||
|
#endif //B3_BUFFER_INFO_CL_H
|