MonobjcMonobjc Documented Class Library
CreateTextureFromViewInternalFormat Method (target, view, format)
NamespacesMonobjc.AppKitNSOpenGLContextCreateTextureFromViewInternalFormat(Int32, NSView, Int32)

Creates a new texture from the contents of the specified view.

Original signature is '- (void)createTexture:(GLenum)target fromView:(NSView *)view internalFormat:(GLenum)format'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void CreateTextureFromViewInternalFormat(
	int target,
	NSView view,
	int format
)
Public Overridable Sub CreateTextureFromViewInternalFormat ( _
	target As Integer, _
	view As NSView, _
	format As Integer _
)
public:
virtual void CreateTextureFromViewInternalFormat(
	int target, 
	NSView^ view, 
	int format
)
Parameters
target (Int32)
The identifier for the new texture.
view (NSView)
The view to use to generate the texture. This parameter must be either an NSOpenGLView object or some other kind of NSView object that’s associated with an NSOpenGLContext object.
format (Int32)
The format for the texture, interpreted as a GLenum data type.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)