pub unsafe extern "C" fn cuTexRefGetBorderColor(
pBorderColor: *mut f32,
hTexRef: CUtexref,
) -> CUresult๐Deprecated
Expand description
Gets the border color used by a texture reference.
Returns in pBorderColor, values of the RGBA color used by the texture reference 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.
ยงParameters
pBorderColor: Returned Type and Value of RGBA color.hTexRef: Texture reference.
ยงReturn value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_CONTEXTCUresult::CUDA_ERROR_INVALID_VALUE
See also: cuTexRefSetAddressMode, cuTexRefSetBorderColor.