public static TexRef Create() { TexRef result = new TexRef(); CudaUtil.Call(cuTexRefCreate(out result.handle)); return(result); }
public TexRef GetTexRef(string name) { TexRef result = new TexRef(); CudaUtil.Call(cuModuleGetTexRef(out result.handle, handle, name)); return(result); }
public void SetTexRef(TexRef texRef) { CudaUtil.Call(cuParamSetTexRef(handle, CU_PARAM_TR_DEFAULT, texRef.handle)); }