Skip to content

Commit 59d2482

Browse files
committed
♻️ Refactor api comment and include
1 parent 47cc1cd commit 59d2482

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Plugin/PluginInteropUnityCUDA/include/Buffer/vertex_buffer_OpenGLCoreES.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#pragma once
2-
// OpenGL Core profile (desktop) or OpenGL ES (mobile) implementation of RenderAPI.
2+
// OpenGL Core profile (desktop) or OpenGL ES (mobile) implementation of Vertex Buffer.
33
// Supports several flavors: Core, ES2, ES3
44
#include "vertex_buffer.h"
55

66
#if SUPPORT_OPENGL_UNIFIED
77

8+
#include "openGL_include.h"
9+
#include <cuda_gl_interop.h>
10+
811
class VertexBuffer_OpenGLCoreES : public VertexBuffer
912
{
1013
public:

Plugin/PluginInteropUnityCUDA/include/Texture/texture_OpenGLCoreES.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
#pragma once
2-
// OpenGL Core profile (desktop) or OpenGL ES (mobile) implementation of RenderAPI.
2+
// OpenGL Core profile (desktop) or OpenGL ES (mobile) implementation of Textures API.
33
// Supports several flavors: Core, ES2, ES3
44
#include "texture.h"
55

66

77
#if SUPPORT_OPENGL_UNIFIED
88

9+
#include "openGL_include.h"
10+
#include <cuda_gl_interop.h>
11+
912

1013
class Texture_OpenGLCoreES : public Texture
1114
{

Plugin/PluginInteropUnityCUDA/src/Texture/texture_OpenGLCoreES.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
#pragma once
22
#include "texture_OpenGLCoreES.h"
3-
#include "openGL_include.h"
4-
#include <cuda_gl_interop.h>
5-
// OpenGL Core profile (desktop) or OpenGL ES (mobile) implementation of RenderAPI.
6-
// Supports several flavors: Core, ES2, ES3
7-
83

94
#if SUPPORT_OPENGL_UNIFIED
105

0 commit comments

Comments
 (0)