Skip to main content

cuTexRefGetArray

Function cuTexRefGetArray 

Source
pub unsafe extern "C" fn cuTexRefGetArray(
    phArray: *mut CUarray,
    hTexRef: CUtexref,
) -> CUresult
๐Ÿ‘ŽDeprecated
Expand description

Gets the array bound to a texture reference.

Returns in *phArray the CUDA array bound to the texture reference hTexRef, or returns cudaError_enum::CUDA_ERROR_INVALID_VALUE if the texture reference is not bound to any CUDA array.

ยงParameters

  • phArray: Returned array.
  • hTexRef: Texture reference.