Skip to main content

cuTexRefGetBorderColor

Function cuTexRefGetBorderColor 

Source
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

See also: cuTexRefSetAddressMode, cuTexRefSetBorderColor.