Attaches the image data in the specified pixel buffer to the texture object currently bound by the receiver.
Original signature is '- (void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer colorBuffer:(GLenum)source'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetTextureImageToPixelBufferColorBuffer( NSOpenGLPixelBuffer pixelBuffer, int source )
Public Overridable Sub SetTextureImageToPixelBufferColorBuffer ( _ pixelBuffer As NSOpenGLPixelBuffer, _ source As Integer _ )
public: virtual void SetTextureImageToPixelBufferColorBuffer( NSOpenGLPixelBuffer^ pixelBuffer, int source )
Parameters
- pixelBuffer (NSOpenGLPixelBuffer)
- The pixel buffer to attach.
- source (Int32)
- An OpenGL constant indicating which of the pixel buffer's color buffers to use. Potential values for this parameter include GL_FRONT, GL_BACK, and GL_AUX0.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)