cupy.cuda.texture.TextureObject#

class cupy.cuda.texture.TextureObject(ResourceDescriptor ResDesc, TextureDescriptor TexDesc)[source]#

A class that holds a texture object. Equivalent to cudaTextureObject_t. The returned TextureObject instance can be passed as a argument when launching RawKernel or ElementwiseKernel.

Parameters:

Methods

__eq__(value, /)#

Return self==value.

__ne__(value, /)#

Return self!=value.

__lt__(value, /)#

Return self<value.

__le__(value, /)#

Return self<=value.

__gt__(value, /)#

Return self>value.

__ge__(value, /)#

Return self>=value.

Attributes

ResDesc#
TexDesc#
ptr#