Mercurial > projects > dstep
comparison dstep/quartzcore/CVOpenGLTexture.d @ 16:19885b43130e
Huge update, the bridge actually works now
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 03 Jan 2010 22:06:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:7ff919f595d5 | 16:19885b43130e |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Sep 24, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.quartzcore.CVOpenGLTexture; | |
8 | |
9 import dstep.corevideo.CVImageBuffer; | |
10 import dstep.corevideo.CVOpenGLTexture; | |
11 import dstep.objc.bridge.Bridge; | |
12 import dstep.objc.objc; | |
13 | |
14 alias CVImageBufferRef CVOpenGLTextureRef; | |
15 | |
16 extern (C) | |
17 { | |
18 uint CVOpenGLTextureGetTypeID (); | |
19 CVOpenGLTextureRef CVOpenGLTextureRetain (CVOpenGLTextureRef texture); | |
20 void CVOpenGLTextureRelease (CVOpenGLTextureRef texture); | |
21 uint CVOpenGLTextureGetTarget (CVOpenGLTextureRef image); | |
22 uint CVOpenGLTextureGetName (CVOpenGLTextureRef image); | |
23 ubyte CVOpenGLTextureIsFlipped (CVOpenGLTextureRef image); | |
24 void CVOpenGLTextureGetCleanTexCoords (CVOpenGLTextureRef image, float[2] lowerLeft, float[2] lowerRight, float[2] upperRight, float[2] upperLeft); | |
25 } |