summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/src/Bullet3OpenCL/ParallelPrimitives/b3BufferInfoCL.h
blob: 52f219ae3fc0184442ba05c16e570fb9c680074d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#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