コード例 #1
0
    'params',
    size=_glgets._glget_size_mapping,
    pnameArg='pname',
    orPassIn=True)
glGetMinmaxParameteriv = wrapper.wrapper(glGetMinmaxParameteriv).setOutput(
    'params',
    size=_glgets._glget_size_mapping,
    pnameArg='pname',
    orPassIn=True)
### END AUTOGENERATED SECTION
from OpenGL.GL import images
from OpenGL.lazywrapper import lazy as _lazy

glColorTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorTable,
        pixelName='table',
        typeName='type',
    ))
glColorSubTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorSubTable,
        pixelName='data',
    ))
glSeparableFilter2D = images.setDimensionsAsInts(
    images.setImageInput(
        images.setImageInput(
            glSeparableFilter2D,
            pixelName='row',
            typeName='type',
        ),
        pixelName='column',
コード例 #2
0
    'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True
)
# OUTPUT glGetMinmax.values COMPSIZE(target,format,type) 
glGetMinmaxParameterfv=wrapper.wrapper(glGetMinmaxParameterfv).setOutput(
    'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True
)
glGetMinmaxParameteriv=wrapper.wrapper(glGetMinmaxParameteriv).setOutput(
    'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True
)
### END AUTOGENERATED SECTION
from OpenGL.GL import images
from OpenGL.lazywrapper import lazy as _lazy
glColorTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorTable,
        pixelName = 'table',
        typeName = 'type',
    )
)
glColorSubTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorSubTable,
        pixelName = 'data',
    )
)
glSeparableFilter2D = images.setDimensionsAsInts(
    images.setImageInput(
        images.setImageInput(
            glSeparableFilter2D,
            pixelName = 'row',
            typeName = 'type',
コード例 #3
0
ファイル: GL_1_2_images.py プロジェクト: CaptainAL/Spyder
]:
    for functionName in (
        'glTexImage3D',
        'glTexSubImage3D', # extension/1.2 standard
    ):
        functionName, function = images.typedImageFunction(
            suffix, arrayConstant, getattr(_simple, functionName),
        )
        globals()[functionName] = function
        try:
            del function, functionName
        except NameError as err:
            pass
    try:
        del suffix,arrayConstant
    except NameError as err:
        pass

glTexImage3D = images.setDimensionsAsInts(
    images.setImageInput(
        _simple.glTexImage3D,
        typeName = 'type',
    )
)
glTexSubImage3D = images.setDimensionsAsInts(
    images.setImageInput(
        _simple.glTexSubImage3D,
        typeName = 'type',
    )
)
コード例 #4
0
ファイル: imaging.py プロジェクト: QtPyHammer-devs/PyOpenGL3
    "params",
    size=_glgets._glget_size_mapping,
    pnameArg="pname",
    orPassIn=True)
glGetMinmaxParameteriv = wrapper.wrapper(glGetMinmaxParameteriv).setOutput(
    "params",
    size=_glgets._glget_size_mapping,
    pnameArg="pname",
    orPassIn=True)
# END AUTOGENERATED SECTION
from OpenGL.GL import images
from OpenGL.lazywrapper import lazy as _lazy

glColorTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorTable,
        pixelName="table",
        typeName="type",
    ))
glColorSubTable = images.setDimensionsAsInts(
    images.setImageInput(
        glColorSubTable,
        pixelName="data",
    ))
glSeparableFilter2D = images.setDimensionsAsInts(
    images.setImageInput(
        images.setImageInput(
            glSeparableFilter2D,
            pixelName="row",
            typeName="type",
        ),
        pixelName="column",
コード例 #5
0
]:
    for functionName in (
            'glTexImage3D',
            'glTexSubImage3D',  # extension/1.2 standard
    ):
        functionName, function = images.typedImageFunction(
            suffix,
            arrayConstant,
            getattr(_simple, functionName),
        )
        globals()[functionName] = function
        try:
            del function, functionName
        except NameError as err:
            pass
    try:
        del suffix, arrayConstant
    except NameError as err:
        pass

glTexImage3D = images.setDimensionsAsInts(
    images.setImageInput(
        _simple.glTexImage3D,
        typeName='type',
    ))
glTexSubImage3D = images.setDimensionsAsInts(
    images.setImageInput(
        _simple.glTexSubImage3D,
        typeName='type',
    ))
コード例 #6
0
ファイル: GL_1_2_images.py プロジェクト: zoccolan/eyetracker
for suffix, arrayConstant in [
    ("b", constants.GL_BYTE),
    ("f", constants.GL_FLOAT),
    ("i", constants.GL_INT),
    ("s", constants.GL_SHORT),
    ("ub", constants.GL_UNSIGNED_BYTE),
    ("ui", constants.GL_UNSIGNED_INT),
    ("us", constants.GL_UNSIGNED_SHORT),
]:
    for functionName in ("glTexImage3D", "glTexSubImage3D"):  # extension/1.2 standard
        functionName, function = images.typedImageFunction(suffix, arrayConstant, getattr(simple, functionName))
        globals()[functionName] = function
        del function, functionName
    del suffix, arrayConstant

glTexImage3D = images.setDimensionsAsInts(images.setImageInput(simple.glTexImage3D, typeName="type"))
glTexSubImage3D = images.setDimensionsAsInts(images.setImageInput(simple.glTexSubImage3D, typeName="type"))
glColorTable = images.setDimensionsAsInts(images.setImageInput(simple.glColorTable, pixelName="table", typeName="type"))
glColorSubTable = images.setDimensionsAsInts(images.setImageInput(simple.glColorSubTable, pixelName="data"))
glSeparableFilter2D = images.setDimensionsAsInts(
    images.setImageInput(
        images.setImageInput(simple.glSeparableFilter2D, pixelName="row", typeName="type"),
        pixelName="column",
        typeName="type",
    )
)
glConvolutionFilter1D = images.setDimensionsAsInts(
    images.setImageInput(simple.glConvolutionFilter1D, pixelName="image", typeName="type")
)
glConvolutionFilter2D = images.setDimensionsAsInts(
    images.setImageInput(simple.glConvolutionFilter2D, pixelName="image", typeName="type")