public static int cuTexRefSetFormat ( CUtexref hTexRef , int fmt , int NumPackedComponents ) { return checkResult ( cuTexRefSetFormatNative ( hTexRef , fmt , NumPackedComponents ) ) ; }
Sets the format for a texture reference .