cuda.bindings._v2.driver.tex_ref_get_address_mode#
- cuda.bindings._v2.driver.tex_ref_get_address_mode(intptr_t h_tex_ref, int dim) int#
Gets the addressing mode used by a texture reference.
[Deprecated]. Returns in
*pamthe addressing mode corresponding to the dimensiondimof the texture referenceh_tex_ref. Currently, the only valid value fordimare 0 and 1.- Parameters:
h_tex_ref (intptr_t) – Texture reference.
dim (int) – Dimension.
- Returns:
Returned addressing mode.
- Return type:
See also
cuTexRefGetAddressMode