Xml文件  |  88行  |  3.24 KB

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

<!-- Note: no GLX protocol info yet. -->

<OpenGLAPI>

<category name="GL_ARB_viewport_array" number="100">

    <enum name="MAX_VIEWPORTS" value="0x825B"/>
    <enum name="VIEWPORT_SUBPIXEL_BITS" value="0x825C"/>
    <enum name="VIEWPORT_BOUNDS_RANGE" value="0x825D"/>
    <enum name="LAYER_PROVOKING_VERTEX" value="0x825E"/>
    <enum name="VIEWPORT_INDEX_PROVOKING_VERTEX" value="0x825F"/>
    <enum name="SCISSOR_BOX" count="4" value="0x0C10">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="VIEWPORT" count="4" value="0x0BA2">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="DEPTH_RANGE" count="2" value="0x0B70">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="SCISSOR_TEST" count="1" value="0x0C11">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="FIRST_VERTEX_CONVENTION" value="0x8E4D"/>
    <enum name="LAST_VERTEX_CONVENTION" value="0x8E4E"/>
    <enum name="PROVOKING_VERTEX" value="0x8E4F"/>
    <enum name="UNDEFINED_VERTEX" value="0x8260"/>

    <function name="ViewportArrayv" no_error="true">
        <param name="first" type="GLuint"/>
        <param name="count" type="GLsizei"/>
        <param name="v" type="const GLfloat *" count="count" count_scale="4"/>
    </function>
    <function name="ViewportIndexedf" no_error="true">
        <param name="index" type="GLuint"/>
        <param name="x" type="GLfloat"/>
        <param name="y" type="GLfloat"/>
        <param name="w" type="GLfloat"/>
        <param name="h" type="GLfloat"/>
    </function>
    <function name="ViewportIndexedfv" no_error="true">
        <param name="index" type="GLuint"/>
        <param name="v" type="const GLfloat *" count="4"/>
    </function>
    <function name="ScissorArrayv" no_error="true">
        <param name="first" type="GLuint"/>
        <param name="count" type="GLsizei"/>
        <param name="v" type="const int *" count="count" count_scale="4"/>
    </function>
    <function name="ScissorIndexed" no_error="true">
        <param name="index" type="GLuint"/>
        <param name="left" type="GLint"/>
        <param name="bottom" type="GLint"/>
        <param name="width" type="GLsizei"/>
        <param name="height" type="GLsizei"/>
    </function>
    <function name="ScissorIndexedv" no_error="true">
        <param name="index" type="GLuint"/>
        <param name="v" type="const GLint *" count="4"/>
    </function>
    <function name="DepthRangeArrayv" no_error="true">
        <param name="first" type="GLuint"/>
        <param name="count" type="GLsizei"/>
        <param name="v" type="const GLclampd *" count="count" count_scale="2"/>
    </function>
    <function name="DepthRangeIndexed" no_error="true">
        <param name="index" type="GLuint"/>
        <param name="n" type="GLclampd"/>
        <param name="f" type="GLclampd"/>
    </function>
    <function name="GetFloati_v">
        <param name="target" type="GLenum"/>
        <param name="index" type="GLuint"/>
        <param name="data" type="GLfloat *"/>
    </function>
    <function name="GetDoublei_v">
        <param name="target" type="GLenum"/>
        <param name="index" type="GLuint"/>
        <param name="data" type="GLdouble *"/>
    </function>

</category>

</OpenGLAPI>