Xml文件  |  46行  |  1.34 KB

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

<OpenGLAPI>

<category name="GL_ARB_draw_indirect" number="87">

    <enum name="DRAW_INDIRECT_BUFFER"                   value="0x8F3F"/>
    <enum name="DRAW_INDIRECT_BUFFER_BINDING"           value="0x8F43"/>

    <function name="DrawArraysIndirect" exec="dynamic" es2="3.1">
        <param name="mode" type="GLenum"/>
        <param name="indirect" type="const GLvoid *"/>
    </function>

    <function name="DrawElementsIndirect" exec="dynamic" es2="3.1">
        <param name="mode" type="GLenum"/>
        <param name="type" type="GLenum"/>
        <param name="indirect" type="const GLvoid *"/>
    </function>

</category>


<category name="GL_ARB_multi_draw_indirect" number="133">

    <function name="MultiDrawArraysIndirect" exec="dynamic">
        <param name="mode" type="GLenum"/>
        <param name="indirect" type="const GLvoid *"/>
        <param name="primcount" type="GLsizei"/>
        <param name="stride" type="GLsizei"/>
    </function>

    <function name="MultiDrawElementsIndirect" exec="dynamic">
        <param name="mode" type="GLenum"/>
        <param name="type" type="GLenum"/>
        <param name="indirect" type="const GLvoid *"/>
        <param name="primcount" type="GLsizei"/>
        <param name="stride" type="GLsizei"/>
    </function>

</category>


</OpenGLAPI>