Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
969 lines (968 sloc) 54.4 KB
<Type Name="GLKView" FullName="GLKit.GLKView">
<TypeSignature Language="C#" Value="public class GLKView : UIKit.UIView" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit GLKView extends UIKit.UIView" />
<TypeSignature Language="DocId" Value="T:GLKit.GLKView" />
<TypeSignature Language="F#" Value="type GLKView = class&#xA; inherit UIView" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>UIKit.UIView</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("GLKView", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Metal' instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Metal' instead.")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A <see cref="T:UIKit.UIView" /> that supports OpenGL ES rendering.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:GLKit.GLKViewDelegate" />
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/GLkit/Reference/GLKView_ClassReference/index.html">Apple documentation for <c>GLKView</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GLKView ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor that initializes a new instance of this class with no parameters.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GLKView (CoreGraphics.CGRect frame);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype CoreGraphics.CGRect frame) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor(CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="new GLKit.GLKView : CoreGraphics.CGRect -&gt; GLKit.GLKView" Usage="new GLKit.GLKView frame" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithFrame:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="frame">Frame used by the view, expressed in iOS points.</param>
<summary>Initializes the GLKView with the specified frame.</summary>
<remarks>
<para>This constructor is used to programmatically create a new instance of GLKView with the specified dimension in the frame. The object will only be displayed once it has been added to a view hierarchy by calling AddSubview in a containing view.</para>
<para>This constructor is not invoked when deserializing objects from storyboards or XIB filesinstead the constructor that takes an NSCoder parameter is invoked.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GLKView (Foundation.NSCoder coder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSCoder coder) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="new GLKit.GLKView : Foundation.NSCoder -&gt; GLKit.GLKView" Usage="new GLKit.GLKView coder" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithCoder:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="coder" Type="Foundation.NSCoder" />
</Parameters>
<Docs>
<param name="coder">The unarchiver object.</param>
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
<remarks>
<para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
<para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the [Export("initWithCoder:"] attribute declaration.</para>
<para>The state of this object can also be serialized by using the companion method, EncodeTo.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected GLKView (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new GLKit.GLKView : Foundation.NSObjectFlag -&gt; GLKit.GLKView" Usage="new GLKit.GLKView t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.</para>
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal GLKView (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new GLKit.GLKView : nativeint -&gt; GLKit.GLKView" Usage="new GLKit.GLKView handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GLKView (CoreGraphics.CGRect frame, OpenGLES.EAGLContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype CoreGraphics.CGRect frame, class OpenGLES.EAGLContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.#ctor(CoreGraphics.CGRect,OpenGLES.EAGLContext)" />
<MemberSignature Language="F#" Value="new GLKit.GLKView : CoreGraphics.CGRect * OpenGLES.EAGLContext -&gt; GLKit.GLKView" Usage="new GLKit.GLKView (frame, context)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithFrame:context:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
<Parameter Name="context" Type="OpenGLES.EAGLContext" />
</Parameters>
<Docs>
<param name="frame">To be added.</param>
<param name="context">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Appearance">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance Appearance { get; }" />
<MemberSignature Language="ILAsm" Value=".property class GLKit.GLKView/GLKViewAppearance Appearance" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.Appearance" />
<MemberSignature Language="F#" Value="member this.Appearance : GLKit.GLKView.GLKViewAppearance" Usage="GLKit.GLKView.Appearance" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<Docs>
<summary>Strongly-typed property that returns the UIAppearance class for this class.</summary>
<value>
</value>
<remarks>
<para>Setting any appearance properties on this instance will affect the appearance of all instances of GLKView.</para>
<para>If developers want to control the appearance of subclasses of GLKView, they should use the <see cref="M:GLKit.GLKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AppearanceWhenContainedIn">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance AppearanceWhenContainedIn (params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance AppearanceWhenContainedIn(class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.AppearanceWhenContainedIn(System.Type[])" />
<MemberSignature Language="F#" Value="static member AppearanceWhenContainedIn : Type[] -&gt; GLKit.GLKView.GLKViewAppearance" Usage="GLKit.GLKView.AppearanceWhenContainedIn containers" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="containers">List of types that developers want to have as the containers to apply this particular appearance</param>
<summary>Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.</summary>
<returns>The appearance proxy object that developers can use to set properties when the given container hierarchy is active</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of GLKView when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
<para>If developers want to control the appearance of subclasses of GLKView, they should use the <see cref="M:GLKit.GLKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
<para>The following example shows how the AppearanceWhenContainedIn method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var mySliders = UISlider.AppearanceWhenContainedIn (typeof (UINavigationBar), typeof (UIPopoverController));
mySliders.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BindDrawable">
<MemberSignature Language="C#" Value="public virtual void BindDrawable ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void BindDrawable() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.BindDrawable" />
<MemberSignature Language="F#" Value="abstract member BindDrawable : unit -&gt; unit&#xA;override this.BindDrawable : unit -&gt; unit" Usage="gLKView.BindDrawable " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("bindDrawable")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="GLKit.GLKView.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
</Docs>
</Member>
<Member MemberName="Context">
<MemberSignature Language="C#" Value="public virtual OpenGLES.EAGLContext Context { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class OpenGLES.EAGLContext Context" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.Context" />
<MemberSignature Language="F#" Value="member this.Context : OpenGLES.EAGLContext with get, set" Usage="GLKit.GLKView.Context" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("context", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setContext:", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>OpenGLES.EAGLContext</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>
<para>(More documentation for this node is coming)</para>
<para tool="nullallowed">This value can be <see langword="null" />.</para>
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Delegate">
<MemberSignature Language="C#" Value="public GLKit.IGLKViewDelegate Delegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class GLKit.IGLKViewDelegate Delegate" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.Delegate" />
<MemberSignature Language="F#" Value="member this.Delegate : GLKit.IGLKViewDelegate with get, set" Usage="GLKit.GLKView.Delegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>GLKit.IGLKViewDelegate</ReturnType>
</ReturnValue>
<Docs>
<summary>An instance of the GLKit.IGLKViewDelegate model class which acts as the class delegate.</summary>
<value>The instance of the GLKit.IGLKViewDelegate model class</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para>This is the strongly typed version of the object, developers should use the WeakDelegate property instead if they want to merely assign a class derived from NSObject that has been decorated with [Export] attributes.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DeleteDrawable">
<MemberSignature Language="C#" Value="public virtual void DeleteDrawable ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeleteDrawable() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.DeleteDrawable" />
<MemberSignature Language="F#" Value="abstract member DeleteDrawable : unit -&gt; unit&#xA;override this.DeleteDrawable : unit -&gt; unit" Usage="gLKView.DeleteDrawable " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("deleteDrawable")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Display">
<MemberSignature Language="C#" Value="public virtual void Display ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Display() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.Display" />
<MemberSignature Language="F#" Value="abstract member Display : unit -&gt; unit&#xA;override this.Display : unit -&gt; unit" Usage="gLKView.Display " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("display")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.Dispose(System.Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -&gt; unit" Usage="gLKView.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
</param>
<summary>Releases the resources used by the GLKView object.</summary>
<remarks>
<para>This Dispose method releases the resources used by the GLKView class.</para>
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposing <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
<para>Calling the Dispose method when the application is finished using the GLKView ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.</para>
<para> For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at https://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DrawableColorFormat">
<MemberSignature Language="C#" Value="public virtual GLKit.GLKViewDrawableColorFormat DrawableColorFormat { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype GLKit.GLKViewDrawableColorFormat DrawableColorFormat" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableColorFormat" />
<MemberSignature Language="F#" Value="member this.DrawableColorFormat : GLKit.GLKViewDrawableColorFormat with get, set" Usage="GLKit.GLKView.DrawableColorFormat" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableColorFormat")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDrawableColorFormat:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>GLKit.GLKViewDrawableColorFormat</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawableDepthFormat">
<MemberSignature Language="C#" Value="public virtual GLKit.GLKViewDrawableDepthFormat DrawableDepthFormat { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype GLKit.GLKViewDrawableDepthFormat DrawableDepthFormat" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableDepthFormat" />
<MemberSignature Language="F#" Value="member this.DrawableDepthFormat : GLKit.GLKViewDrawableDepthFormat with get, set" Usage="GLKit.GLKView.DrawableDepthFormat" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableDepthFormat")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDrawableDepthFormat:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>GLKit.GLKViewDrawableDepthFormat</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawableHeight">
<MemberSignature Language="C#" Value="public virtual nint DrawableHeight { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nint DrawableHeight" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableHeight" />
<MemberSignature Language="F#" Value="member this.DrawableHeight : nint" Usage="GLKit.GLKView.DrawableHeight" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableHeight")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawableMultisample">
<MemberSignature Language="C#" Value="public virtual GLKit.GLKViewDrawableMultisample DrawableMultisample { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype GLKit.GLKViewDrawableMultisample DrawableMultisample" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableMultisample" />
<MemberSignature Language="F#" Value="member this.DrawableMultisample : GLKit.GLKViewDrawableMultisample with get, set" Usage="GLKit.GLKView.DrawableMultisample" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableMultisample")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDrawableMultisample:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>GLKit.GLKViewDrawableMultisample</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawableStencilFormat">
<MemberSignature Language="C#" Value="public virtual GLKit.GLKViewDrawableStencilFormat DrawableStencilFormat { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype GLKit.GLKViewDrawableStencilFormat DrawableStencilFormat" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableStencilFormat" />
<MemberSignature Language="F#" Value="member this.DrawableStencilFormat : GLKit.GLKViewDrawableStencilFormat with get, set" Usage="GLKit.GLKView.DrawableStencilFormat" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableStencilFormat")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDrawableStencilFormat:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>GLKit.GLKViewDrawableStencilFormat</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawableWidth">
<MemberSignature Language="C#" Value="public virtual nint DrawableWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nint DrawableWidth" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.DrawableWidth" />
<MemberSignature Language="F#" Value="member this.DrawableWidth : nint" Usage="GLKit.GLKView.DrawableWidth" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("drawableWidth")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DrawInRect">
<MemberSignature Language="C#" Value="public event EventHandler&lt;GLKit.GLKViewDrawEventArgs&gt; DrawInRect;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class GLKit.GLKViewDrawEventArgs&gt; DrawInRect" />
<MemberSignature Language="DocId" Value="E:GLKit.GLKView.DrawInRect" />
<MemberSignature Language="F#" Value="member this.DrawInRect : EventHandler&lt;GLKit.GLKViewDrawEventArgs&gt; " Usage="member this.DrawInRect : System.EventHandler&lt;GLKit.GLKViewDrawEventArgs&gt; " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;GLKit.GLKViewDrawEventArgs&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Event raised by the object.</summary>
<remarks>If developers do not assign a value to this event, this will reset the value for the WeakDelegate property to an internal handler that maps delegates to events.</remarks>
</Docs>
</Member>
<Member MemberName="EnableSetNeedsDisplay">
<MemberSignature Language="C#" Value="public virtual bool EnableSetNeedsDisplay { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableSetNeedsDisplay" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.EnableSetNeedsDisplay" />
<MemberSignature Language="F#" Value="member this.EnableSetNeedsDisplay : bool with get, set" Usage="GLKit.GLKView.EnableSetNeedsDisplay" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("enableSetNeedsDisplay")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setEnableSetNeedsDisplay:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance GetAppearance (UIKit.UITraitCollection traits);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance GetAppearance(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.GetAppearance(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; GLKit.GLKView.GLKViewAppearance" Usage="GLKit.GLKView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
</Parameters>
<Docs>
<param name="traits">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance GetAppearance (UIKit.UITraitCollection traits, params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance GetAppearance(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.GetAppearance(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; GLKit.GLKView.GLKViewAppearance" Usage="GLKit.GLKView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="traits">To be added.</param>
<param name="containers">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance GetAppearance&lt;T&gt; () where T : GLKit.GLKView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance GetAppearance&lt;(class GLKit.GLKView) T&gt;() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.GetAppearance``1" />
<MemberSignature Language="F#" Value="static member GetAppearance : unit -&gt; GLKit.GLKView.GLKViewAppearance (requires 'T :&gt; GLKit.GLKView)" Usage="GLKit.GLKView.GetAppearance " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Parameters />
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of GLKView.</typeparam>
<summary>Obtains the appearance proxy <see cref="T:GLKit.GLKView.GLKViewAppearance" /> for the subclass of GLKView.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
<para>Unlike the <see cref="P:GLKit.GLKView.Appearance" /> property, or the <see cref="M:GLKit.GLKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = GLKView.GetAppearance<MyGLKViewSubclass> ();
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits) where T : GLKit.GLKView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance GetAppearance&lt;(class GLKit.GLKView) T&gt;(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.GetAppearance``1(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; GLKit.GLKView.GLKViewAppearance (requires 'T :&gt; GLKit.GLKView)" Usage="GLKit.GLKView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>GLKit.GLKView</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
</Parameters>
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of GLKView.</typeparam>
<param name="traits">Trait collection to match.</param>
<summary>Obtains the appearance proxy <see cref="T:GLKit.GLKView.GLKViewAppearance" /> for the subclass of GLKView.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of GLKView.</para>
<para>Unlike the <see cref="P:GLKit.GLKView.Appearance" /> property, or the <see cref="M:GLKit.GLKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = GLKView.GetAppearance<MyGLKViewSubclass> (myTraits, );
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static GLKit.GLKView.GLKViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits, params Type[] containers) where T : GLKit.GLKView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLKit.GLKView/GLKViewAppearance GetAppearance&lt;(class GLKit.GLKView) T&gt;(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; GLKit.GLKView.GLKViewAppearance (requires 'T :&gt; GLKit.GLKView)" Usage="GLKit.GLKView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>GLKit.GLKView+GLKViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>GLKit.GLKView</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of GLKView.</typeparam>
<param name="traits">Trait collection to match.</param>
<param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
<summary>Obtains the appearance proxy <see cref="T:GLKit.GLKView.GLKViewAppearance" /> for the subclass of GLKView that has the specified trait collection when the view is hosted in the specified hierarchy.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of GLKView that has the specified trait collection when the view is hosted in the specified hierarchy when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
<para>Unlike the <see cref="P:GLKit.GLKView.Appearance" /> property, or the <see cref="M:GLKit.GLKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = GLKView.GetAppearance<MyGLKViewSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Snapshot">
<MemberSignature Language="C#" Value="public virtual UIKit.UIImage Snapshot ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.UIImage Snapshot() cil managed" />
<MemberSignature Language="DocId" Value="M:GLKit.GLKView.Snapshot" />
<MemberSignature Language="F#" Value="abstract member Snapshot : unit -&gt; UIKit.UIImage&#xA;override this.Snapshot : unit -&gt; UIKit.UIImage" Usage="gLKView.Snapshot " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("snapshot")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIImage</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WeakDelegate">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject WeakDelegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSObject WeakDelegate" />
<MemberSignature Language="DocId" Value="P:GLKit.GLKView.WeakDelegate" />
<MemberSignature Language="F#" Value="member this.WeakDelegate : Foundation.NSObject with get, set" Usage="GLKit.GLKView.WeakDelegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("delegate", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDelegate:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Docs>
<summary>An object that can respond to the delegate protocol for this type</summary>
<value>The instance that will respond to events and data requests.</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para> Methods must be decorated with the [Export ("selectorName")] attribute to respond to each method from the protocol. Alternatively use the Delegate method which is strongly typed and does not require the [Export] attributes on methods.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.