cupy.cuda.texture.TextureObject¶
-
class
cupy.cuda.texture.
TextureObject
(ResourceDescriptor ResDesc, TextureDescriptor TexDesc)¶ A class that holds a texture object. Equivalent to
cudaTextureObject_t
. The returnedTextureObject
instance can be passed as a argument when launchingRawKernel
.Parameters: - ResDesc (ResourceDescriptor) – an intance of the resource descriptor.
- TexDesc (TextureDescriptor) – an instance of the texture descriptor.
See also
Methods
Attributes
-
ResDesc
¶
-
TexDesc
¶
-
ptr
¶