Skip to main content

cuTexRefSetMipmappedArray

Function cuTexRefSetMipmappedArray 

Source
pub unsafe extern "C" fn cuTexRefSetMipmappedArray(
    hTexRef: CUtexref,
    hMipmappedArray: CUmipmappedArray,
    Flags: c_uint,
) -> CUresult
👎Deprecated
Expand description

Binds a mipmapped array to a texture reference.

Binds the CUDA mipmapped array hMipmappedArray to the texture reference hTexRef. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Flags must be set to CU_TRSA_OVERRIDE_FORMAT. Any CUDA array previously bound to hTexRef is unbound.

§Parameters

  • hTexRef: Texture reference to bind.
  • hMipmappedArray: Mipmapped array to bind.
  • Flags: Options (must be CU_TRSA_OVERRIDE_FORMAT).

§Return value

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