… | |
… | |
960 | |
960 | |
961 | Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result. |
961 | Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result. |
962 | |
962 | |
963 | =for gengetinfo end mem |
963 | =for gengetinfo end mem |
964 | |
964 | |
|
|
965 | =item ($type, $name) = $mem->gl_object_info |
|
|
966 | |
|
|
967 | Returns the OpenGL object type (e.g. OpenCL::GL_OBJECT_TEXTURE2D) and the |
|
|
968 | object "name" (e.g. the texture name) used to create this memory object. |
|
|
969 | |
|
|
970 | L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetGLObjectInfo.html> |
|
|
971 | |
965 | =back |
972 | =back |
966 | |
973 | |
967 | =head2 THE OpenCL::Buffer CLASS |
974 | =head2 THE OpenCL::Buffer CLASS |
968 | |
975 | |
969 | This is a subclass of OpenCL::Memory, and the superclass of |
976 | This is a subclass of OpenCL::Memory, and the superclass of |
… | |
… | |
1027 | =item $int = $image->depth |
1034 | =item $int = $image->depth |
1028 | |
1035 | |
1029 | Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result. |
1036 | Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result. |
1030 | |
1037 | |
1031 | =for gengetinfo end image |
1038 | =for gengetinfo end image |
|
|
1039 | |
|
|
1040 | =for gengetinfo begin gl_texture |
|
|
1041 | |
|
|
1042 | =item $GLenum = $gl_texture->target |
|
|
1043 | |
|
|
1044 | Calls C<clGetGlTextureInfo> with C<CL_GL_TEXTURE_TARGET> and returns the result. |
|
|
1045 | |
|
|
1046 | =item $GLint = $gl_texture->gl_mipmap_level |
|
|
1047 | |
|
|
1048 | Calls C<clGetGlTextureInfo> with C<CL_GL_MIPMAP_LEVEL> and returns the result. |
|
|
1049 | |
|
|
1050 | =for gengetinfo end gl_texture |
1032 | |
1051 | |
1033 | =back |
1052 | =back |
1034 | |
1053 | |
1035 | =head2 THE OpenCL::Sampler CLASS |
1054 | =head2 THE OpenCL::Sampler CLASS |
1036 | |
1055 | |