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.

§Return value

See also: cuTexRefSetAddress_v2, cuTexRefSetAddress2D, cuTexRefSetAddressMode, cuTexRefSetArray, cuTexRefSetFilterMode, cuTexRefSetFlags, cuTexRefSetFormat, cuTexRefGetAddress_v2, cuTexRefGetAddressMode, cuTexRefGetFilterMode, cuTexRefGetFlags, cuTexRefGetFormat.