summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/gl/CLGLObject.java
blob: 51a730edfb054a5f513a2d909950e8fe12b8f0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Created on Friday, February 26 2010
 */
package com.mbien.opencl.gl;

import com.mbien.opencl.CLMemory.GLObjectType;

/**
 *
 * @author Michael Bien
 */
interface CLGLObject {

    /**
     * Returns the OpenGL object id of this shared object.
     */
    public int getGLObjectID();

    /**
     * Returns the OpenGL buffer type of this shared object.
     */
    public GLObjectType getGLObjectType();

}