⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libgles.tex

📁 python s60 1.4.5版本的源代码
💻 TEX
📖 第 1 页 / 共 2 页
字号:
mode, also shown in the table below. Otherwise, the \class{CFbsBitmap} object
will be first converted to the equivalent display mode before reading its pixel
data, which can degrade the visual quality in some cases.
\begin{table}[htbp]
\label{tab1}
\begin{center}
\caption{Legal combinations of \var{format} and \var{type} with the equivalent
Symbian display mode.}
\begin{tabular}{l|l|l}
\hline
\var{format} & \var{type} & The equivalent display mode \\
\hline
GL_LUMINANCE, GL_ALPHA & GL_UNSIGNED_BYTE & EGray256 \\
\hline
GL_RGB & GL_UNSIGNED_BYTE & EColor16M \\
\hline
GL_RGB & GL_UNSIGNED_SHORT_5_6_5 & EColor64K \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{funcdesc}

\begin{funcdesc}{glTexSubImage2D}{target, level, xoffset, yoffset, width, height, format, type, pixels}
The handling of \var{pixels} is the same as with \code{glTexImage2D}.
\end{funcdesc}

\begin{funcdesc}{glVertexPointer}{size, type, stride, sequence}
Parameter \var{sequence} must be either a \class{gles.array} object or some other
Python sequence object. \class{gles.array} objects require less processing and
can be therefore slightly faster. If \class{gles.array} object is used, the
dimension and type of its data are ignored and \var{size} and \var{type} are
used instead.
\end{funcdesc}

\begin{funcdesc}{glVertexPointerb}{sequence}
Special Python version of \code{glVertexPointer} that accepts either a
\class{gles.array} object or some other Python sequence object.
Other parameters of \code{glVertexPointer} will be determined as follows:
\begin{itemize}
\item \var{size} If \var{sequence} is an instance of \class{gles.array}, its dimension is used; otherwise the length of \var{sequence} is used.
\item \var{type} \code{GL_BYTE}
\item \var{stride} 0
\end{itemize}
\end{funcdesc}

\begin{funcdesc}{glVertexPointers}{sequence}
Special Python version of \code{glVertexPointer} that behaves exactly as
\code{glVertexPointerb} except \code{GL_SHORT} is used as \var{type}.
\end{funcdesc}

\begin{funcdesc}{glVertexPointerf}{sequence}
Special Python version of \code{glVertexPointer} that behaves exactly as
\code{glVertexPointerb} except \code{GL_FLOAT} is used as \var{type}.
\end{funcdesc}

\begin{funcdesc}{glVertexPointerx}{sequence}
Special Python version of \code{glVertexPointer} that behaves exactly as
\code{glVertexPointerb} except \code{GL_FIXED} is used as \var{type}.
\end{funcdesc}

\subsubsection{OpenGL ES 1.1}

\begin{funcdesc}{glBufferData}{target, size, data, usage}
Parameter \var{data} must be a \class{gles.array} object. If \var{size} is -1,
the in-memory size of \var{data} is used in its place.
\end{funcdesc}

\begin{funcdesc}{glBufferDatab}{target, data, usage}
Special Python version of \code{glBufferData} that accepts either a
\class{gles.array} object or some other Python sequence object for \var{data}.
If \class{gles.array} object is used, its in-memory size in bytes is used as
\var{size}. Other sequences are first converted to flat lists of
\code{GL_BYTE} data by casting. The length of the resulting sequence in bytes
is used as \var{size}.
\end{funcdesc}

\begin{funcdesc}{glBufferDataub}{target, data, usage}
Special Python version of \code{glBufferData} that works exactly like
\code{glBufferDatab} except \code{GL_UNSIGNED_BYTE} is used instead of
\code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferDatas}{target, data, usage}
Special Python version of \code{glBufferData} that works exactly like
\code{glBufferDatab} except \code{GL_SHORT} is used instead of \code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferDataus}{target, data, usage}
Special Python version of \code{glBufferData} that works exactly like
\code{glBufferDatab} except \code{GL_UNSIGNED_SHORT} is used instead of
\code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferDataf}{target, data, usage}
Special Python version of \code{glBufferData} that works exactly like
\code{glBufferDatab} except \code{GL_FLOAT} is used instead of \code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferDatax}{target, data, usage}
Special Python version of \code{glBufferData} that works exactly like
\code{glBufferDatab} except \code{GL_FIXED} is used instead of \code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubData}{target, size, data, usage}
Parameter \var{data} must be a \class{gles.array} object. If \var{size} is -1,
the in-memory size of \var{data} is used in its place.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDatab}{target, data, usage}
Special Python version of \code{glBufferSubData} that accepts either a
\class{gles.array} object or some other Python sequence object for \var{data}.
If \class{gles.array} object is used, its in-memory size (in bytes) is used as
\var{size}. Other sequences are first converted to flat lists of
\code{GL_BYTE} data by casting. The length of the resulting sequence is used as
\var{size}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDataub}{target, data, usage}
Special Python version of \code{glBufferSubData} that works exactly like
\code{glBufferSubDatab} except \code{GL_UNSIGNED_BYTE} is used instead of
\code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDatas}{target, data, usage}
Special Python version of \code{glBufferSubData} that works exactly like
\code{glBufferSubDatab} except \code{GL_SHORT} is used instead of \code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDataus}{target, data, usage}
Special Python version of \code{glBufferSubData} that works exactly like
\code{glBufferSubDatab} except \code{GL_UNSIGNED_SHORT} is used instead of
\code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDataf}{target, data, usage}
Special Python version of \code{glBufferSubData} that works exactly like
\code{glBufferSubDatab} except \code{GL_FLOAT} is used instead of \code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glBufferSubDatax}{target, data, usage}
Special Python version of \code{glBufferSubData} that works exactly like
\code{glBufferSubDatab} except \code{GL_FIXED} is used instead of
\code{GL_BYTE}.
\end{funcdesc}

\begin{funcdesc}{glClipPlanef}{plane, equation}
Parameter \var{equation} must be a Python sequence that contains four float
values.
\end{funcdesc}

\begin{funcdesc}{glClipPlanex}{plane, equation}
Parameter \var{equation} must be a Python sequence that contains four integer
values.
\end{funcdesc}

\begin{funcdesc}{glDeleteBuffers}{buffers}
Parameter \var{buffers} must be a Python sequence that contains integer values.
\end{funcdesc}

\begin{funcdesc}{glDrawTexsvOES}{coords}
Parameter \var{coords} must be a Python sequence that contains integer
values. 
\end{funcdesc}

\begin{funcdesc}{glDrawTexivOES}{coords}
Parameter \var{coords} must be a Python sequence that contains integer
values. 
\end{funcdesc}

\begin{funcdesc}{glDrawTexfvOES}{coords}
Parameter \var{coords} must be a Python sequence that contains float values.
\end{funcdesc}

\begin{funcdesc}{glDrawTexfvOES}{coords}
Parameter \var{coords} must be a Python sequence that contains integer values.
\end{funcdesc}

\begin{funcdesc}{glGenBuffers}{n}
The generated buffer names are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetBooleanv}{pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetBufferParameteriv}{target, pname}
The value is returned as an integer.
\end{funcdesc}

\begin{funcdesc}{glGetClipPlanef}{plane}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetClipPlanef}{plane}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetFixedv}{pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetFloatv}{pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetLightfv}{light, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetLightxv}{light, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetMaterialfv}{face, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetMaterialxv}{face, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetTexEnvf}{face, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetTexEnvx}{face, pname}
The values are returned in a Python tuple.
\end{funcdesc}

\begin{funcdesc}{glGetTexParameterf}{target, pname}
The value is returned as a float.
\end{funcdesc}

\begin{funcdesc}{glGetTexParameterx}{target, pname}
The value is returned as an integer.
\end{funcdesc}

\begin{funcdesc}{glMatrixIndexPointerOES}{size, type, stride, sequence}
Parameter \var{sequence} must be either a \class{gles.array} object or some other
Python sequence object. \class{gles.array} objects require less processing and
can be therefore slightly faster. If \class{gles.array} object is used, the
dimension and type of its data are ignored and \var{size} and \var{type} are
used instead.
\end{funcdesc}

\begin{funcdesc}{glMatrixIndexPointerOESub}{sequence}
Special Python version of \code{glMatrixIndexPointerOES} that accepts either a
\class{gles.array} object or some other Python sequence object.
Other parameters of \code{glMatrixIndexPointerOES} will be determined as follows:
\begin{itemize}
\item \var{size} If \var{sequence} is an instance of \class{gles.array}, its dimension is used; otherwise the length of \var{sequence} is used.
\item \var{type} \code{GL_UNSIGNED_BYTE}
\item \var{stride} 0
\end{itemize}
\end{funcdesc}

\begin{funcdesc}{glPointParameterfv}{pname, params}
Parameter \var{params} must be a Python sequence containing float values.
\end{funcdesc}

\begin{funcdesc}{glPointParameterxv}{pname, params}
Parameter \var{params} must be a Python sequence containing integer values.
\end{funcdesc}

\begin{funcdesc}{glPointSizePointerOES}{type, stride, sequence}
Parameter \var{sequence} must be either a \class{gles.array} object or some other
Python sequence object. \class{gles.array} objects require less processing and
can be therefore slightly faster. If \class{gles.array} object is used, the type
of its data is ignored and \var{type} is used instead.
\end{funcdesc}

\begin{funcdesc}{glPointSizePointerOESf}{sequence}
Special Python version of \code{glPointSizePointerOES} uses \code{GL_FLOAT} as
\var{type} and 0 as \var{stride}.
\end{funcdesc}

\begin{funcdesc}{glPointSizePointerOESx}{target, data, usage}
Special Python version of \code{glPointSizePointerOES} uses \code{GL_FIXED} as
\var{type} and 0 as \var{stride}.
\end{funcdesc}

\begin{funcdesc}{glWeightPointerOES}{size, type, stride, sequence}
Parameter \var{sequence} must be either a \class{gles.array} object or some other
Python sequence object. \class{gles.array} objects require less processing and
can be therefore slightly faster. If \class{gles.array} object is used, the
dimension and type of its data are ignored and \var{size} and \var{type} are
used instead.
\end{funcdesc}

\begin{funcdesc}{glWeightPointerOESf}{sequence}
Special Python version of \code{glWeightPointerOES} that accepts either a
\class{gles.array} object or some other Python sequence object.
Other parameters of \code{glWeightPointerOES} will be determined as follows:
\begin{itemize}
\item \var{size} If \var{sequence} is an instance of \class{gles.array}, its dimension is used; otherwise the length of \var{sequence} is used.
\item \var{type} \code{GL_FLOAT}
\item \var{stride} 0
\end{itemize}
\end{funcdesc}

\begin{funcdesc}{glWeightPointerOESx}{sequence}
Special Python version of \code{glWeightPointerOES} that behaves exactly as
\code{glWeightPointerOESf} except \code{GL_FIXED} is used as \var{type}.
\end{funcdesc}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -