Function cuTexRefGetBorderColor

Source
pub unsafe extern "C" fn cuTexRefGetBorderColor(
    pBorderColor: *mut f32,
    hTexRef: CUtexref,
) -> CUresult
Expand description

\brief Gets the border color used by a texture reference

\deprecated

Returns in \p pBorderColor, values of the RGBA color used by the texture reference \p hTexRef. The color value is of type float and holds color components in the following sequence: pBorderColor[0] holds ‘R’ component pBorderColor[1] holds ‘G’ component pBorderColor[2] holds ‘B’ component pBorderColor[3] holds ‘A’ component

\param hTexRef - Texture reference \param pBorderColor - Returned Type and Value of RGBA color

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE

\sa ::cuTexRefSetAddressMode, ::cuTexRefSetAddressMode, ::cuTexRefSetBorderColor