cuda.bindings._v2.driver.tex_ref_get_format#
- cuda.bindings._v2.driver.tex_ref_get_format(intptr_t h_tex_ref) tuple#
Gets the format used by a texture reference.
[Deprecated]. Returns in
*p_formatand*p_num_channelsthe format and number of components of the CUDA array bound to the texture referenceh_tex_ref. Ifp_formatorp_num_channelsis NULL, it will be ignored.- Parameters:
h_tex_ref (intptr_t) – Texture reference.
- Returns:
int: Returned format.
int: Returned number of components.
- Return type:
A 2-tuple containing
See also
cuTexRefGetFormat