User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_openclmemoryflag

Table of Contents

TGIS_OpenCLMemoryFlag enum

DK11 for ActiveX | TatukGIS_XDK11.TGIS_OpenCLMemoryFlag | Enums

Memory flags for defining OpenCL buffers.

Available also on: Delphi.

Syntax

// C#
public enum TGIS_OpenCLMemoryFlag
{
  ReadWrite = 1, WriteOnly = 2, ReadOnly = 4, UseHostPtr = 8, AllocHostPtr = 16, 
  CopyHostPtr = 32, HostWriteOnly = 64, HostReadOnly = 128, HostNoAccess = 256
}
' VisualBasic
Public Enum TGIS_OpenCLMemoryFlag
  ReadWrite = 1
  WriteOnly = 2
  ReadOnly = 4
  UseHostPtr = 8
  AllocHostPtr = 16
  CopyHostPtr = 32
  HostWriteOnly = 64
  HostReadOnly = 128
  HostNoAccess = 256
End Enum
// Oxygene
type
  TGIS_OpenCLMemoryFlag = public (
    ReadWrite = 1, WriteOnly = 2, ReadOnly = 4, UseHostPtr = 8, AllocHostPtr = 16, 
    CopyHostPtr = 32, HostWriteOnly = 64, HostReadOnly = 128, HostNoAccess = 256
  );

Members

Name Value Description
ReadWrite 1 The buffer is readable and writable for the kernel.
WriteOnly 2 The buffer is write-only for the kernel.
ReadOnly 4 The buffer is read-only for the kernel.
UseHostPtr 8 The buffer uses host memory referenced by the pointer.
AllocHostPtr 16 The buffer is allocated in the host accessible memory.
CopyHostPtr 32 The buffer is initialized with the content specified by the host pointer.
HostWriteOnly 64 The buffer is write-only for the host.
HostReadOnly 128 The buffer is read-only for the host.
HostNoAccess 256 The host has no access to the buffer.

2020/05/07 01:03

Page Tools