Attaches the specified pixel buffer to the receiver.
Original signature is '- (void)setPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer cubeMapFace:(GLenum)face mipMapLevel:(GLint)level currentVirtualScreen:(GLint)screen'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetPixelBufferCubeMapFaceMipMapLevelCurrentVirtualScreen( NSOpenGLPixelBuffer pixelBuffer, int face, int level, int screen )
Public Overridable Sub SetPixelBufferCubeMapFaceMipMapLevelCurrentVirtualScreen ( _ pixelBuffer As NSOpenGLPixelBuffer, _ face As Integer, _ level As Integer, _ screen As Integer _ )
public: virtual void SetPixelBufferCubeMapFaceMipMapLevelCurrentVirtualScreen( NSOpenGLPixelBuffer^ pixelBuffer, int face, int level, int screen )
Parameters
- pixelBuffer (NSOpenGLPixelBuffer)
- The pixel buffer to attach.
- face (Int32)
- For pixel buffers with a texture target of GL_CUBE_MAP, this parameter should be zero or one of the following values:
- level (Int32)
- The desired mipmap level for rendering. This value must be less than or equal to the maximum texture mipmap level of pixelBuffer (accessible through an NSOpenGLPixelBuffer object’s textureMaxMipMapLevel method).
- screen (Int32)
- The virtual screen of the receiver (if applicable) should be set to the same value as the current virtual screen you are using for rendering onscreen
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)