cuda.bindings._v2.driver.tex_ref_create#

cuda.bindings._v2.driver.tex_ref_create() → intptr_t#

Creates a texture reference.

[Deprecated]. Creates a texture reference and returns its handle in *p_tex_ref. Once created, the application must call tex_ref_set_array() or cuTexRefSetAddress() to associate the reference with allocated memory. Other texture reference functions are used to specify the format and interpretation (addressing, filtering, etc.) to be used when the memory is read through this texture reference.

Returns:

Returned texture reference.

Return type:

intptr_t

See also

cuTexRefCreate