![Radeon Pro Solid State Graphics Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/radeon/pro-solid-state-graphics/pro-solid-state-graphics_api-user-manual_776864012.webp)
Rev. 1.01
12
file
[in]
The GL file for which properties are required.
pname
[in]
The property information being requested. It must be
GL_FILE_BLOCK_SIZE_AMD
or
GL_FILE_SIZE_AMD.
params
[out]
The value of the property requested.
Error
Description
INVALID_VALUE
The file object is invalid.
INVALID_ENUM
The requested property is not
GL_FILE_BLOCK_SIZE_AMD.
6.4
glReadFileAMD
The
glReadFileAMD
function reads from the specified file into the destination buffer. It can be
synchronous or asynchronous. Combining a number of read operations asynchronously yields better
performance.
dstBuffer
[in]
A valid named buffer object that will hold the read result.
The best performance is obtained by creating
the buffer with the
MAP_PERSISTENT_BIT
flag but without
CLIENT_STORAGE_BIT.
file
[in]
The GL file from which information is being read.
bufferOffset
[in]
Location in the buffer from which data (of width
size,
in bytes) will be read.
It must be a multiple of
GL_FILE_BLOCK_SIZE_AMD.
fileOffset
[in]
Location in the file from which data (of width
size,
in bytes) will be read into the buffer.
It must be a
multiple of
GL_FILE_BLOCK_SIZE_AMD.
C++
GLvoid glGetFileParameteri64vAMD(GLfilehandleAMD file,
GLenum pname,
GLuint64* params);
C++
GLvoid glReadFileAMD(GLuint dstBuffer,
GLfilehandleAMD file,
GLuint64 bufferOffset,
GLuint64 fileOffset,
GLuint64 size,
GLsync* sync);
Содержание Pro Solid State Graphics
Страница 1: ...Solid State Graphics SSG API User Manual ...