ARB_sparse_buffer.xml 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>

<category name="GL_ARB_sparse_buffer" number="172">

    <function name="BufferPageCommitmentARB">
        <param name="target" type="GLenum"/>
        <param name="offset" type="GLintptr"/>
        <param name="size" type="GLsizeiptr"/>
        <param name="commit" type="GLboolean"/>
    </function>

15 16 17 18 19 20 21 22
    <!-- Only with GL_EXT_direct_state_access -->
    <function name="NamedBufferPageCommitmentEXT">
        <param name="buffer" type="GLuint"/>
        <param name="offset" type="GLintptr"/>
        <param name="size" type="GLsizeiptr"/>
        <param name="commit" type="GLboolean"/>
    </function>

23 24 25 26 27 28 29
    <!-- Only with GL_ARB_direct_state_access -->
    <function name="NamedBufferPageCommitmentARB">
        <param name="buffer" type="GLuint"/>
        <param name="offset" type="GLintptr"/>
        <param name="size" type="GLsizeiptr"/>
        <param name="commit" type="GLboolean"/>
    </function>
30

31 32 33 34 35 36
    <enum name="SPARSE_STORAGE_BIT_ARB" value="0x0400"/>
    <enum name="SPARSE_BUFFER_PAGE_SIZE_ARB" value="0x82F8"/>

</category>

</OpenGLAPI>