Class GL.Apple
Inherited Members
Namespace: OpenTK.Graphics.ES11
Assembly: OpenTK.dll
Syntax
public static class Apple
Methods
ClientWaitSync(IntPtr, All, Int64)
[requires: APPLE_sync] Block and wait for a sync object to become signaled
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
[CLSCompliant(false)]
public static SyncStatus ClientWaitSync(IntPtr sync, All flags, long timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | The sync object whose status to wait on. |
All | flags | A bitfield controlling the command flushing behavior. flags may be SyncFlushCommandsBit. |
Int64 | timeout | The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. |
Returns
Type | Description |
---|---|
SyncStatus |
ClientWaitSync(IntPtr, All, UInt64)
[requires: APPLE_sync] Block and wait for a sync object to become signaled
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
[CLSCompliant(false)]
public static SyncStatus ClientWaitSync(IntPtr sync, All flags, ulong timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | The sync object whose status to wait on. |
All | flags | A bitfield controlling the command flushing behavior. flags may be SyncFlushCommandsBit. |
UInt64 | timeout | The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. |
Returns
Type | Description |
---|---|
SyncStatus |
ClientWaitSync(IntPtr, SyncObjectMask, Int64)
[requires: APPLE_sync] Block and wait for a sync object to become signaled
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
[CLSCompliant(false)]
public static SyncStatus ClientWaitSync(IntPtr sync, SyncObjectMask flags, long timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | The sync object whose status to wait on. |
SyncObjectMask | flags | A bitfield controlling the command flushing behavior. flags may be SyncFlushCommandsBit. |
Int64 | timeout | The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. |
Returns
Type | Description |
---|---|
SyncStatus |
ClientWaitSync(IntPtr, SyncObjectMask, UInt64)
[requires: APPLE_sync] Block and wait for a sync object to become signaled
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
[CLSCompliant(false)]
public static SyncStatus ClientWaitSync(IntPtr sync, SyncObjectMask flags, ulong timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | The sync object whose status to wait on. |
SyncObjectMask | flags | A bitfield controlling the command flushing behavior. flags may be SyncFlushCommandsBit. |
UInt64 | timeout | The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. |
Returns
Type | Description |
---|---|
SyncStatus |
CopyTextureLevel(Int32, Int32, Int32, Int32)
[requires: APPLE_copy_texture_levels]
Declaration
[AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
[CLSCompliant(false)]
public static void CopyTextureLevel(int destinationTexture, int sourceTexture, int sourceBaseLevel, int sourceLevelCount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | destinationTexture | |
Int32 | sourceTexture | |
Int32 | sourceBaseLevel | |
Int32 | sourceLevelCount |
CopyTextureLevel(UInt32, UInt32, Int32, Int32)
[requires: APPLE_copy_texture_levels]
Declaration
[AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
[CLSCompliant(false)]
public static void CopyTextureLevel(uint destinationTexture, uint sourceTexture, int sourceBaseLevel, int sourceLevelCount)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | destinationTexture | |
UInt32 | sourceTexture | |
Int32 | sourceBaseLevel | |
Int32 | sourceLevelCount |
DeleteSync(IntPtr)
[requires: APPLE_sync] Delete a sync object
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")]
public static void DeleteSync(IntPtr sync)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | The sync object to be deleted. |
FenceSync(All, Int32)
[requires: APPLE_sync] Create a new sync object and insert it into the GL command stream
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
[CLSCompliant(false)]
public static IntPtr FenceSync(All condition, int flags)
Parameters
Type | Name | Description |
---|---|---|
All | condition | Specifies the condition that must be met to set the sync object's state to signaled. condition must be SyncGpuCommandsComplete. |
Int32 | flags | Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero.flags is a placeholder for anticipated future extensions of fence sync object capabilities. |
Returns
Type | Description |
---|---|
IntPtr |
FenceSync(All, UInt32)
[requires: APPLE_sync] Create a new sync object and insert it into the GL command stream
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
[CLSCompliant(false)]
public static IntPtr FenceSync(All condition, uint flags)
Parameters
Type | Name | Description |
---|---|---|
All | condition | Specifies the condition that must be met to set the sync object's state to signaled. condition must be SyncGpuCommandsComplete. |
UInt32 | flags | Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero.flags is a placeholder for anticipated future extensions of fence sync object capabilities. |
Returns
Type | Description |
---|---|
IntPtr |
FenceSync(SyncCondition, Int32)
[requires: APPLE_sync] Create a new sync object and insert it into the GL command stream
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
[CLSCompliant(false)]
public static IntPtr FenceSync(SyncCondition condition, int flags)
Parameters
Type | Name | Description |
---|---|---|
SyncCondition | condition | Specifies the condition that must be met to set the sync object's state to signaled. condition must be SyncGpuCommandsComplete. |
Int32 | flags | Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero.flags is a placeholder for anticipated future extensions of fence sync object capabilities. |
Returns
Type | Description |
---|---|
IntPtr |
FenceSync(SyncCondition, UInt32)
[requires: APPLE_sync] Create a new sync object and insert it into the GL command stream
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
[CLSCompliant(false)]
public static IntPtr FenceSync(SyncCondition condition, uint flags)
Parameters
Type | Name | Description |
---|---|---|
SyncCondition | condition | Specifies the condition that must be met to set the sync object's state to signaled. condition must be SyncGpuCommandsComplete. |
UInt32 | flags | Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero.flags is a placeholder for anticipated future extensions of fence sync object capabilities. |
Returns
Type | Description |
---|---|
IntPtr |
GetInteger64(All)
[requires: APPLE_sync]
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static long GetInteger64(All pname)
Parameters
Type | Name | Description |
---|---|---|
All | pname |
Returns
Type | Description |
---|---|
Int64 |
GetInteger64(All, Int64*)
[requires: APPLE_sync]
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(All pname, long *params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int64* | params |
GetInteger64(All, out Int64)
[requires: APPLE_sync]
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(All pname, out long params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int64 | params |
GetInteger64(All, Int64[])
[requires: APPLE_sync]
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(All pname, long[] params)
Parameters
Type | Name | Description |
---|---|---|
All | pname | |
Int64[] | params |
GetInteger64(GetPName)
[requires: APPLE_sync]
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static long GetInteger64(GetPName pname)
Parameters
Type | Name | Description |
---|---|---|
GetPName | pname |
Returns
Type | Description |
---|---|
Int64 |
GetInteger64(GetPName, Int64*)
[requires: APPLE_sync]
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(GetPName pname, long *params)
Parameters
Type | Name | Description |
---|---|---|
GetPName | pname | |
Int64* | params |
GetInteger64(GetPName, out Int64)
[requires: APPLE_sync]
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(GetPName pname, out long params)
Parameters
Type | Name | Description |
---|---|---|
GetPName | pname | |
Int64 | params |
GetInteger64(GetPName, Int64[])
[requires: APPLE_sync]
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
[CLSCompliant(false)]
public static void GetInteger64(GetPName pname, long[] params)
Parameters
Type | Name | Description |
---|---|---|
GetPName | pname | |
Int64[] | params |
GetSync(IntPtr, All, Int32, Int32*, Int32*)
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, All pname, int bufSize, int *length, [Count(Parameter = "bufSize")] int *values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
All | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32* | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32* | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
GetSync(IntPtr, All, Int32, out Int32, out Int32)
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, All pname, int bufSize, out int length, [Count(Parameter = "bufSize")] out int values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
All | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32 | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32 | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
GetSync(IntPtr, All, Int32, Int32[], Int32[])
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, All pname, int bufSize, int[] length, [Count(Parameter = "bufSize")] int[] values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
All | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32[] | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32[] | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
GetSync(IntPtr, SyncParameterName, Int32, Int32*, Int32*)
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, SyncParameterName pname, int bufSize, int *length, [Count(Parameter = "bufSize")] int *values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
SyncParameterName | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32* | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32* | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
GetSync(IntPtr, SyncParameterName, Int32, out Int32, out Int32)
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, SyncParameterName pname, int bufSize, out int length, [Count(Parameter = "bufSize")] out int values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
SyncParameterName | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32 | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32 | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
GetSync(IntPtr, SyncParameterName, Int32, Int32[], Int32[])
[requires: APPLE_sync] Query the properties of a sync object
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
[CLSCompliant(false)]
public static void GetSync(IntPtr sync, SyncParameterName pname, int bufSize, int[] length, [Count(Parameter = "bufSize")] int[] values)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose properties to query. |
SyncParameterName | pname | Specifies the parameter whose value to retrieve from the sync object specified in sync. |
Int32 | bufSize | Specifies the size of the buffer whose address is given in values. |
Int32[] | length | Specifies the address of an variable to receive the number of integers placed in values. |
Int32[] | values | [length: bufSize] Specifies the address of an array to receive the values of the queried parameter. |
IsSync(IntPtr)
[requires: APPLE_sync] Determine if a name corresponds to a sync object
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")]
public static bool IsSync(IntPtr sync)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies a value that may be the name of a sync object. |
Returns
Type | Description |
---|---|
Boolean |
RenderbufferStorageMultisample(All, Int32, All, Int32, Int32)
[requires: APPLE_framebuffer_multisample] Establish data storage, format, dimensions and sample count of a renderbuffer object's image
Declaration
[Obsolete("Use strongly-typed overload instead")]
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
public static void RenderbufferStorageMultisample(All target, int samples, All internalformat, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
All | target | Specifies a binding to which the target of the allocation and must be Renderbuffer. |
Int32 | samples | Specifies the number of samples to be used for the renderbuffer object's storage. |
All | internalformat | Specifies the internal format to use for the renderbuffer object's image. |
Int32 | width | Specifies the width of the renderbuffer, in pixels. |
Int32 | height | Specifies the height of the renderbuffer, in pixels. |
RenderbufferStorageMultisample(RenderbufferTarget, Int32, InternalFormat, Int32, Int32)
[requires: APPLE_framebuffer_multisample] Establish data storage, format, dimensions and sample count of a renderbuffer object's image
Declaration
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
public static void RenderbufferStorageMultisample(RenderbufferTarget target, int samples, InternalFormat internalformat, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
RenderbufferTarget | target | Specifies a binding to which the target of the allocation and must be Renderbuffer. |
Int32 | samples | Specifies the number of samples to be used for the renderbuffer object's storage. |
InternalFormat | internalformat | Specifies the internal format to use for the renderbuffer object's image. |
Int32 | width | Specifies the width of the renderbuffer, in pixels. |
Int32 | height | Specifies the height of the renderbuffer, in pixels. |
ResolveMultisampleFramebuffer()
[requires: APPLE_framebuffer_multisample]
Declaration
[AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")]
public static void ResolveMultisampleFramebuffer()
WaitSync(IntPtr, Int32, Int64)
[requires: APPLE_sync] Instruct the GL server to block until the specified sync object becomes signaled
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
[CLSCompliant(false)]
public static void WaitSync(IntPtr sync, int flags, long timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose status to wait on. |
Int32 | flags | A bitfield controlling the command flushing behavior. flags may be zero. |
Int64 | timeout | Specifies the timeout that the server should wait before continuing. timeout must be TimeoutIgnored. |
WaitSync(IntPtr, UInt32, UInt64)
[requires: APPLE_sync] Instruct the GL server to block until the specified sync object becomes signaled
Declaration
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
[CLSCompliant(false)]
public static void WaitSync(IntPtr sync, uint flags, ulong timeout)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | sync | Specifies the sync object whose status to wait on. |
UInt32 | flags | A bitfield controlling the command flushing behavior. flags may be zero. |
UInt64 | timeout | Specifies the timeout that the server should wait before continuing. timeout must be TimeoutIgnored. |