Xml文件  |  37行  |  1.36 KB

<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<!-- This is included by gl_and_es_API.xml.  Could be moved to gl_API.xml. -->

<OpenGLAPI>

<category name="GL_ARB_get_program_binary " number="96">
    <enum name="PROGRAM_BINARY_RETRIEVABLE_HINT"          value="0x8257"/>
    <enum name="PROGRAM_BINARY_LENGTH"                    value="0x8741"/>
    <enum name="NUM_PROGRAM_BINARY_FORMATS"               value="0x87FE"/>
    <enum name="PROGRAM_BINARY_FORMATS"                   value="0x87FF"/>

    <function name="GetProgramBinary" offset="assign" static_dispatch="false">
        <param name="program" type="GLuint"/>
        <param name="bufSize" type="GLsizei"/>
        <param name="length" type="GLsizei *"/>
        <param name="binaryFormat" type="GLenum *"/>
        <param name="binary" type="GLvoid *"/>
    </function>

    <function name="ProgramBinary" offset="assign" static_dispatch="false">
        <param name="program" type="GLuint"/>
        <param name="binaryFormat" type="GLenum"/>
        <param name="binary" type="const GLvoid *"/>
        <param name="length" type="GLsizei"/>
    </function>

    <function name="ProgramParameteri" offset="assign" static_dispatch="false">
        <param name="program" type="GLuint"/>
        <param name="pname" type="GLenum"/>
        <param name="value" type="GLint"/>
    </function>
</category>

</OpenGLAPI>