# encoding: utf-8
# module vtkmodules.vtkRenderingOpenGL2
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkRenderingOpenGL2.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore
import vtkmodules.vtkRenderingHyperTreeGrid as __vtkmodules_vtkRenderingHyperTreeGrid


class vtkOpenGLTexture(__vtkmodules_vtkRenderingCore.vtkTexture):
    """
    vtkOpenGLTexture - OpenGL texture map
    
    Superclass: vtkTexture
    
    vtkOpenGLTexture is a concrete implementation of the abstract class
    vtkTexture. vtkOpenGLTexture interfaces to the OpenGL rendering
    library.
    """
    def CopyTexImage(self, x, y, width, height): # real signature unknown; restored from __doc__
        """
        CopyTexImage(self, x:int, y:int, width:int, height:int) -> None
        C++: void CopyTexImage(int x, int y, int width, int height)
        
        copy the renderers read buffer into this texture
        """
        pass

    def GetIsDepthTexture(self): # real signature unknown; restored from __doc__
        """
        GetIsDepthTexture(self) -> int
        C++: virtual int GetIsDepthTexture()
        
        Provide for specifying a format for the texture
        """
        return 0

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetTextureObject(self): # real signature unknown; restored from __doc__
        """
        GetTextureObject(self) -> vtkTextureObject
        C++: virtual vtkTextureObject *GetTextureObject()
        """
        return vtkTextureObject

    def GetTextureType(self): # real signature unknown; restored from __doc__
        """
        GetTextureType(self) -> int
        C++: virtual int GetTextureType()
        
        What type of texture map GL_TEXTURE_2D versus
        GL_TEXTURE_RECTANGLE
        """
        return 0

    def GetTextureUnit(self): # real signature unknown; restored from __doc__
        """
        GetTextureUnit(self) -> int
        C++: int GetTextureUnit() override;
        
        Return the texture unit used for this texture
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Return 1 if this class is the same type of (or a subclass of) the
        named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsTranslucent(self): # real signature unknown; restored from __doc__
        """
        IsTranslucent(self) -> int
        C++: int IsTranslucent() override;
        
        Is this Texture Translucent? returns false (0) if the texture is
        either fully opaque or has only fully transparent pixels and
        fully opaque pixels and the Interpolate flag is turn off.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Return 1 if this class type is the same type of (or a subclass
        of) the named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def Load(self, __a): # real signature unknown; restored from __doc__
        """
        Load(self, __a:vtkRenderer) -> None
        C++: void Load(vtkRenderer *) override;
        
        Implement base class method.
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkOpenGLTexture
        C++: vtkOpenGLTexture *NewInstance()
        """
        return vtkOpenGLTexture

    def PostRender(self, __a): # real signature unknown; restored from __doc__
        """
        PostRender(self, __a:vtkRenderer) -> None
        C++: void PostRender(vtkRenderer *) override;
        
        Cleans up after the texture rendering to restore the state of the
        graphics context.
        """
        pass

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        Release any graphics resources that are being consumed by this
        texture. The parameter window could be used to determine which
        graphic resources to release. Using the same texture object in
        multiple render windows is NOT currently supported.
        """
        pass

    def Render(self, ren): # real signature unknown; restored from __doc__
        """
        Render(self, ren:vtkRenderer) -> None
        C++: void Render(vtkRenderer *ren) override;
        
        Renders a texture map. It first checks the object's modified time
        to make sure the texture maps Input is valid, then it invokes the
        Load() method.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLTexture
        C++: static vtkOpenGLTexture *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOpenGLTexture

    def SetIsDepthTexture(self, _arg): # real signature unknown; restored from __doc__
        """
        SetIsDepthTexture(self, _arg:int) -> None
        C++: virtual void SetIsDepthTexture(int _arg)
        """
        pass

    def SetTextureObject(self, __a): # real signature unknown; restored from __doc__
        """
        SetTextureObject(self, __a:vtkTextureObject) -> None
        C++: void SetTextureObject(vtkTextureObject *)
        """
        pass

    def SetTextureType(self, _arg): # real signature unknown; restored from __doc__
        """
        SetTextureType(self, _arg:int) -> None
        C++: virtual void SetTextureType(int _arg)
        """
        pass

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkOpenGLTexture', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'Render': <method 'Render' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'Load': <method 'Load' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'PostRender': <method 'PostRender' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'CopyTexImage': <method 'CopyTexImage' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetIsDepthTexture': <method 'GetIsDepthTexture' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'SetIsDepthTexture': <method 'SetIsDepthTexture' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetTextureType': <method 'GetTextureType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'SetTextureType': <method 'SetTextureType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetTextureObject': <method 'GetTextureObject' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'SetTextureObject': <method 'SetTextureObject' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'GetTextureUnit': <method 'GetTextureUnit' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, 'IsTranslucent': <method 'IsTranslucent' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF8205FE2B0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLTexture' objects>, '__doc__': 'vtkOpenGLTexture - OpenGL texture map\\n\\nSuperclass: vtkTexture\\n\\nvtkOpenGLTexture is a concrete implementation of the abstract class\\nvtkTexture. vtkOpenGLTexture interfaces to the OpenGL rendering\\nlibrary.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLTexture'


